SPECS: rpmorphan.spec - up to 1.2 - applications renamed instead m...

arvenil arvenil at pld-linux.org
Wed Apr 9 21:48:35 CEST 2008


Author: arvenil                      Date: Wed Apr  9 19:48:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.2
- applications renamed instead making simlinks
- no more SIGSEGV after exiting tk gui
- more TODO

---- Files affected:
SPECS:
   rpmorphan.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/rpmorphan.spec
diff -u SPECS/rpmorphan.spec:1.12 SPECS/rpmorphan.spec:1.13
--- SPECS/rpmorphan.spec:1.12	Mon Mar 17 19:56:45 2008
+++ SPECS/rpmorphan.spec	Wed Apr  9 21:48:30 2008
@@ -1,18 +1,26 @@
 # $Revision$, $Date$
 # TODO:
-# - tk gui (option -gui or -tk) get SIGSEGV after quit
 # - consider move %{_bindir}/rpmorphan-lib.pl to other place
+# - rpmduplicate show multilib packages as duplicated, IMO this is incorrect
+#   # rpmduplicate
+#   duplicate fam-libs : 2.7.0-7 (Fri Mar  2 01:55:12 2007) / 2.7.0-7 (Fri Mar  2 03:47:52 2007)
+#   suggest : rpm -e fam-libs-2.7.0-7
+#   # rpm -q fam-libs
+#   fam-libs-2.7.0-7.x86_64
+#   fam-libs-2.7.0-7.i686
+# - rpmdeps doesn't support provides, it shows them as missing
+#   "WARNING can not find who provide XXX" where XXX is not installed provide
 %include	/usr/lib/rpm/macros.perl
 Summary:	rpmorphan - list the orphaned rpm packages
 Summary(fr.UTF-8):	rpmorphan liste les packages rpm orphelins
 Summary(pl.UTF-8):	rpmorphan - wyświetlanie listy osieroconych pakietów
 Name:		rpmorphan
-Version:	1.1
+Version:	1.2
 Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/rpmorphan/%{name}-%{version}.tar.gz
-# Source0-md5:	1b9e2e9b465218965d4761ef9fb7c9e2
+# Source0-md5:	6d370693c7041db455bab9083239a039
 URL:		http://rpmorphan.sourceforge.net/
 BuildRequires:	rpm-perlprov
 Suggests:	perl-Curses-UI
@@ -30,6 +38,11 @@
 - after a distribution upgrade,
 - when you want to suppress packages after some tests.
 
+Several tools are also provided:
+- rpmusage - display rpm packages last use date
+- rpmdep - display the full dependency of an installed rpm package
+- rpmduplicates - find programs with several version installed
+
 %description -l fr.UTF-8
 Le logiciel rpmorphan liste les packages rpm qui n'ont plus de
 dépendances avec les autres paquets installés sur votre systčme. C'est
@@ -40,6 +53,12 @@
 - aprčs une montée de version systčme,
 - lors de la suppression de logiciels aprčs des tests.
 
+Plusieurs outils sont également fournis:
+- rpmusage - donne la date de la derničre utilisation d'un package
+- rpmdep - founit l'ensemble des dependances (recursive) d'un package
+- rpmduplicates - cherche les logiciels qui ont plusieurs versions
+  installées
+
 %description -l pl.UTF-8
 rpmorphan znajduje "osierocone" pakiety w systemie. Określa które
 pakiety nie są zależnościami innych pakietów i wyświetla ich listę. W
@@ -49,23 +68,33 @@
 - po uaktualnieniu dystrybucji,
 - kiedy chcemy usunąć pakiety po jakichś testach.
 
+Dostarcza dodatkowo narzędzia:
+- rpmusage - wyświetla
+- rpmdep - wyświetla pełne zależności zainstalowanego pakietu
+- rpmduplicates - wyszukuje programy zainstalowane w kilku wersjach
+
 %prep
 %setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir},/var/lib/%{name},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir},/var/lib/%{name},%{_sysconfdir},/var/log/}
 
-ln -sf rpmorphan.pl $RPM_BUILD_ROOT%{_bindir}/rpmorphan
-ln -sf rpmusage.pl $RPM_BUILD_ROOT%{_bindir}/rpmusage
+install rpmdep.pl $RPM_BUILD_ROOT%{_bindir}/rpmdep
+install rpmduplicates.pl $RPM_BUILD_ROOT%{_bindir}/rpmduplicates
+install rpmorphan.pl $RPM_BUILD_ROOT%{_bindir}/rpmorphan
+install rpmusage.pl $RPM_BUILD_ROOT%{_bindir}/rpmusage
 
-install {rpmorphan,rpmorphan-lib,rpmusage}.pl $RPM_BUILD_ROOT%{_bindir}
-install {rpmorphan,rpmusage}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install rpmorphan-lib.pl $RPM_BUILD_ROOT%{_bindir}
+
+install {rpmdep,rpmduplicates,rpmorphan,rpmusage}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 install rpmorphanrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/rpmorphanrc
 
 install keep $RPM_BUILD_ROOT/var/lib/%{name}
 
+touch $RPM_BUILD_ROOT/var/log/%{name}.log
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,8 +103,11 @@
 %doc Authors Changelog NEWS Readme Todo
 %attr(755,root,root) %{_bindir}/*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rpmorphanrc
+%{_mandir}/man1/rpmdep.1*
+%{_mandir}/man1/rpmduplicates.1*
 %{_mandir}/man1/rpmorphan.1*
 %{_mandir}/man1/rpmusage.1*
+%attr(640,root,root) %ghost /var/log/%{name}.log
 %dir /var/lib/%{name}
 /var/lib/%{name}/keep
 
@@ -85,6 +117,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2008-04-09 19:48:30  arvenil
+- up to 1.2
+- applications renamed instead making simlinks
+- no more SIGSEGV after exiting tk gui
+- more TODO
+
 Revision 1.12  2008-03-17 18:56:45  qboosh
 - use perlprov to get perl-modules dep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpmorphan.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list