[paco/f15] Initial import (#705043).
vpaan
vpaan at fedoraproject.org
Wed Jul 27 12:48:08 UTC 2011
commit a52b9ae5c14752b192bcf3e8f7f3711af7317668
Author: Veeti Paananen <veeti.paananen at rojekti.fi>
Date: Wed Jul 27 15:43:45 2011 +0300
Initial import (#705043).
.gitignore | 1 +
paco-2.0.9-fix-desktop-file.patch | 18 +++
paco-2.0.9-fix-fsf-address.patch | 237 +++++++++++++++++++++++++++++++++++++
paco.spec | 137 +++++++++++++++++++++
sources | 1 +
5 files changed, 394 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9f145ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/paco-2.0.9.tar.bz2
diff --git a/paco-2.0.9-fix-desktop-file.patch b/paco-2.0.9-fix-desktop-file.patch
new file mode 100644
index 0000000..4b74a97
--- /dev/null
+++ b/paco-2.0.9-fix-desktop-file.patch
@@ -0,0 +1,18 @@
+Index: doc/gpaco.desktop
+===================================================================
+--- doc/gpaco.desktop (revision 1875)
++++ doc/gpaco.desktop (working copy)
+@@ -1,11 +1,10 @@
+ [Desktop Entry]
+ Type=Application
+-Encoding=UTF-8
+ Name=Package Organizer
+ GenericName=Package Organizer
+ Comment=Manages software installed from source code
+ Exec=gpaco
+-Icon=gpaco.png
++Icon=/usr/share/pixmaps/gpaco.png
+ StartupNotify=false
+ Terminal=false
+-Categories=Application;System;PackageManager;GTK
++Categories=System;PackageManager;Settings;GTK;
diff --git a/paco-2.0.9-fix-fsf-address.patch b/paco-2.0.9-fix-fsf-address.patch
new file mode 100644
index 0000000..2d576d8
--- /dev/null
+++ b/paco-2.0.9-fix-fsf-address.patch
@@ -0,0 +1,237 @@
+Index: COPYING
+===================================================================
+--- COPYING (revision 1875)
++++ COPYING (working copy)
+@@ -1,12 +1,12 @@
+- GNU GENERAL PUBLIC LICENSE
+- Version 2, June 1991
++ GNU GENERAL PUBLIC LICENSE
++ Version 2, June 1991
+
+- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+- Preamble
++ Preamble
+
+ The licenses for most software are designed to take away your
+ freedom to share and change it. By contrast, the GNU General Public
+@@ -15,7 +15,7 @@
+ General Public License applies to most of the Free Software
+ Foundation's software and to any other program whose authors commit to
+ using it. (Some other Free Software Foundation software is covered by
+-the GNU Library General Public License instead.) You can apply it to
++the GNU Lesser General Public License instead.) You can apply it to
+ your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+@@ -55,8 +55,8 @@
+
+ The precise terms and conditions for copying, distribution and
+ modification follow.
+-
+- GNU GENERAL PUBLIC LICENSE
++
++ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+@@ -92,25 +92,25 @@
+ distribute such modifications or work under the terms of Section 1
+ above, provided that you also meet all of these conditions:
+
+- a) You must cause the modified files to carry prominent notices
+- stating that you changed the files and the date of any change.
++ a) You must cause the modified files to carry prominent notices
++ stating that you changed the files and the date of any change.
+
+- b) You must cause any work that you distribute or publish, that in
+- whole or in part contains or is derived from the Program or any
+- part thereof, to be licensed as a whole at no charge to all third
+- parties under the terms of this License.
++ b) You must cause any work that you distribute or publish, that in
++ whole or in part contains or is derived from the Program or any
++ part thereof, to be licensed as a whole at no charge to all third
++ parties under the terms of this License.
+
+- c) If the modified program normally reads commands interactively
+- when run, you must cause it, when started running for such
+- interactive use in the most ordinary way, to print or display an
+- announcement including an appropriate copyright notice and a
+- notice that there is no warranty (or else, saying that you provide
+- a warranty) and that users may redistribute the program under
+- these conditions, and telling the user how to view a copy of this
+- License. (Exception: if the Program itself is interactive but
+- does not normally print such an announcement, your work based on
+- the Program is not required to print an announcement.)
+-
++ c) If the modified program normally reads commands interactively
++ when run, you must cause it, when started running for such
++ interactive use in the most ordinary way, to print or display an
++ announcement including an appropriate copyright notice and a
++ notice that there is no warranty (or else, saying that you provide
++ a warranty) and that users may redistribute the program under
++ these conditions, and telling the user how to view a copy of this
++ License. (Exception: if the Program itself is interactive but
++ does not normally print such an announcement, your work based on
++ the Program is not required to print an announcement.)
++
+ These requirements apply to the modified work as a whole. If
+ identifiable sections of that work are not derived from the Program,
+ and can be reasonably considered independent and separate works in
+@@ -135,22 +135,22 @@
+ under Section 2) in object code or executable form under the terms of
+ Sections 1 and 2 above provided that you also do one of the following:
+
+- a) Accompany it with the complete corresponding machine-readable
+- source code, which must be distributed under the terms of Sections
+- 1 and 2 above on a medium customarily used for software interchange; or,
++ a) Accompany it with the complete corresponding machine-readable
++ source code, which must be distributed under the terms of Sections
++ 1 and 2 above on a medium customarily used for software interchange; or,
+
+- b) Accompany it with a written offer, valid for at least three
+- years, to give any third party, for a charge no more than your
+- cost of physically performing source distribution, a complete
+- machine-readable copy of the corresponding source code, to be
+- distributed under the terms of Sections 1 and 2 above on a medium
+- customarily used for software interchange; or,
++ b) Accompany it with a written offer, valid for at least three
++ years, to give any third party, for a charge no more than your
++ cost of physically performing source distribution, a complete
++ machine-readable copy of the corresponding source code, to be
++ distributed under the terms of Sections 1 and 2 above on a medium
++ customarily used for software interchange; or,
+
+- c) Accompany it with the information you received as to the offer
+- to distribute corresponding source code. (This alternative is
+- allowed only for noncommercial distribution and only if you
+- received the program in object code or executable form with such
+- an offer, in accord with Subsection b above.)
++ c) Accompany it with the information you received as to the offer
++ to distribute corresponding source code. (This alternative is
++ allowed only for noncommercial distribution and only if you
++ received the program in object code or executable form with such
++ an offer, in accord with Subsection b above.)
+
+ The source code for a work means the preferred form of the work for
+ making modifications to it. For an executable work, complete source
+@@ -168,7 +168,7 @@
+ access to copy the source code from the same place counts as
+ distribution of the source code, even though third parties are not
+ compelled to copy the source along with the object code.
+-
++
+ 4. You may not copy, modify, sublicense, or distribute the Program
+ except as expressly provided under this License. Any attempt
+ otherwise to copy, modify, sublicense or distribute the Program is
+@@ -225,7 +225,7 @@
+
+ This section is intended to make thoroughly clear what is believed to
+ be a consequence of the rest of this License.
+-
++
+ 8. If the distribution and/or use of the Program is restricted in
+ certain countries either by patents or by copyrighted interfaces, the
+ original copyright holder who places the Program under this License
+@@ -239,7 +239,7 @@
+ be similar in spirit to the present version, but may differ in detail to
+ address new problems or concerns.
+
+-Each version is given a disting.hing version number. If the Program
++Each version is given a distinguishing version number. If the Program
+ specifies a version number of this License which applies to it and "any
+ later version", you have the option of following the terms and conditions
+ either of that version or of any later version published by the Free
+@@ -255,7 +255,7 @@
+ of preserving the free status of all derivatives of our free software and
+ of promoting the sharing and reuse of software generally.
+
+- NO WARRANTY
++ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+@@ -277,10 +277,10 @@
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGES.
+
+- END OF TERMS AND CONDITIONS
+-
+- How to Apply These Terms to Your New Programs
++ END OF TERMS AND CONDITIONS
+
++ How to Apply These Terms to Your New Programs
++
+ If you develop a new program, and you want it to be of the greatest
+ possible use to the public, the best way to achieve this is to make it
+ free software which everyone can redistribute and change under these terms.
+@@ -290,33 +290,32 @@
+ convey the exclusion of warranty; and each file should have at least
+ the "copyright" line and a pointer to where the full notice is found.
+
+- <one line to give the program's name and a brief idea of what it does.>
+- Copyright (C) <year> <name of author>
++ <one line to give the program's name and a brief idea of what it does.>
++ Copyright (C) <year> <name of author>
+
+- This program is free software; you can redistribute it and/or modify
+- it under the terms of the GNU General Public License as published by
+- the Free Software Foundation; either version 2 of the License, or
+- (at your option) any later version.
++ This program is free software; you can redistribute it and/or modify
++ it under the terms of the GNU General Public License as published by
++ the Free Software Foundation; either version 2 of the License, or
++ (at your option) any later version.
+
+- This program is distributed in the hope that it will be useful,
+- but WITHOUT ANY WARRANTY; without even the implied warranty of
+- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+- GNU General Public License for more details.
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
+
+- You should have received a copy of the GNU General Public License
+- along with this program; if not, write to the Free Software
+- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ You should have received a copy of the GNU General Public License along
++ with this program; if not, write to the Free Software Foundation, Inc.,
++ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-
+ Also add information on how to contact you by electronic and paper mail.
+
+ If the program is interactive, make it output a short notice like this
+ when it starts in an interactive mode:
+
+- Gnomovision version 69, Copyright (C) year name of author
+- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+- This is free software, and you are welcome to redistribute it
+- under certain conditions; type `show c' for details.
++ Gnomovision version 69, Copyright (C) year name of author
++ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
++ This is free software, and you are welcome to redistribute it
++ under certain conditions; type `show c' for details.
+
+ The hypothetical commands `show w' and `show c' should show the appropriate
+ parts of the General Public License. Of course, the commands you use may
+@@ -330,11 +329,11 @@
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+- <signature of Ty Coon>, 1 May 1989
++ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+ This General Public License does not permit incorporating your program into
+ proprietary programs. If your program is a subroutine library, you may
+ consider it more useful to permit linking proprietary applications with the
+-library. If this is what you want to do, use the GNU Library General
++library. If this is what you want to do, use the GNU Lesser General
+ Public License instead of this License.
diff --git a/paco.spec b/paco.spec
new file mode 100644
index 0000000..ae9b0f7
--- /dev/null
+++ b/paco.spec
@@ -0,0 +1,137 @@
+Name: paco
+Version: 2.0.9
+Release: 6%{?dist}
+Summary: A source code package organizer for Unix/Linux
+
+Group: Applications/System
+License: GPLv2+
+URL: http://paco.sourceforge.net/
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+# Patches e-mailed to upstream on June 16, 2011
+# Updates the GPLv2 license file to the newest revision
+Patch0: paco-2.0.9-fix-fsf-address.patch
+# Updates the gpaco.desktop file to fix errors in categorization and icon path
+Patch1: paco-2.0.9-fix-desktop-file.patch
+
+BuildRequires: gtkmm24-devel
+BuildRequires: desktop-file-utils
+
+%description
+After the installation of a source package with "./configure && make && make
+install", one is usually left with having no idea of what it was installed and
+where it all went, making it difficult to uninstall the package in the future.
+
+Paco was written to solve this problem in a quite simple fashion.
+
+When installing a package from sources, paco wraps the "make install" command
+(or whatever command or group of commands are needed to install the files into
+the system), and saves installation information into a text database.
+
+Paco has many usage options for removing packages, looking at package files,
+file counts, sorting, missing files, etc. Run "paco -h" on the command line,
+or "man paco" for more information.
+
+
+%package -n gpaco
+Summary: GTK+ GUI for %{name}
+Group: Applications/System
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description -n gpaco
+The gpaco contains the GTK+ based GUI for paco.
+
+
+%prep
+%setup -q
+%patch0 -p0
+%patch1 -p0
+iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && touch -r ChangeLog ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+desktop-file-install \
+ --dir=%{buildroot}%{_datadir}/applications \
+ %{buildroot}/%{_datadir}/applications/gpaco.desktop
+
+# Unnecessary folder with duplicate files
+rm -rf %{buildroot}%{_datadir}/paco
+# Unnecessary library files
+rm -f %{buildroot}%{_libdir}/*.la
+rm -f %{buildroot}%{_libdir}/*.so
+rm -f %{buildroot}%{_libdir}/*.a
+rm -rf %{buildroot}%{_libdir}/pkgconfig
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING BUGS README ChangeLog doc/faq.txt
+%{_bindir}/ocap
+%{_bindir}/paco*
+%{_bindir}/rpm2paco
+%{_bindir}/superpaco
+%{_libdir}/libpaco-log.so.*
+%{_mandir}/man5/pacorc.5.*
+%{_mandir}/man8/*.8*
+%config(noreplace) %{_sysconfdir}/pacorc
+
+
+%files -n gpaco
+%defattr(-,root,root,-)
+%{_bindir}/gpaco
+%{_datadir}/pixmaps/gpaco*.png
+%{_datadir}/applications/gpaco.desktop
+
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
+%changelog
+* Tue Jul 19 2011 Veeti Paananen <veeti.paananen at rojekti.fi> - 2.0.9-6
+- Add default file attributes to gpaco subpackage
+- Removed unnecessary recursive flags from rm commands to delete unwanted files
+
+* Mon Jul 18 2011 Veeti Paananen <veeti.paananen at rojekti.fi> - 2.0.9-5
+- Replaced build root variables with the build root macro
+- Renamed GUI subpackage to gpaco after the upstream name
+- Changed license to GPLv2+
+- Removed empty line in gpaco description
+- Other minor reformatting
+
+* Sun Jul 17 2011 Veeti Paananen <veeti.paananen at rojekti.fi> - 2.0.9-4
+- Prefixed patch files with package name and version
+- Moved build requirements in spec file to the top
+- Preserve the changelog file's timestamp when converting to UTF-8
+- Removed /usr/share/paco since the same files are already installed elsewhere
+- Added faq.txt to documentation
+- More verbose file listings
+- Moved file exclusions to rm statements in install section
+- Moved patch statements to directly after setup
+
+* Wed Jun 15 2011 Veeti Paananen <veeti.paananen at rojekti.fi> - 2.0.9-3
+- Added gui subpackage for gpaco GUI frontend
+- Added patch to update GPL license file
+- Added patch for gpaco.desktop file to correct categories and icon path
+- Fixed files directive for library files to not include debug files
+
+* Sat Jun 04 2011 Veeti Paananen <veeti.paananen at rojekti.fi> - 2.0.9-2
+- Wrapped the description text to 80 characters per line
+- Changed the package group to Applications/System
+- Included the ChangeLog file in the package
+
+* Sun May 15 2011 Veeti Paananen <veeti.paananen at rojekti.fi> - 2.0.9-1
+- Initial version
diff --git a/sources b/sources
index e69de29..91b7e79 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d2debbea1b11156470f7fd849bb93c80 paco-2.0.9.tar.bz2
More information about the scm-commits
mailing list