]> git.pld-linux.org Git - packages/rpmorphan.git/commitdiff
- up to 1.2 AC-branch auto/th/rpmorphan-1_2-1 auto/ti/rpmorphan-1_2-1
authorarvenil <arvenil@pld-linux.org>
Wed, 9 Apr 2008 19:48:30 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- applications renamed instead making simlinks
- no more SIGSEGV after exiting tk gui
- more TODO

Changed files:
    rpmorphan.spec -> 1.13

rpmorphan.spec

index 84db3f870babb51be686ce49e81d16168376f2bf..567f70db722051463583287076be37ae1792dd8a 100644 (file)
@@ -1,17 +1,25 @@
 # 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
@@ -29,6 +37,11 @@ It will try to help you to remove unused packages, for example:
 - 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
@@ -39,6 +52,12 @@ exemple:
 - 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
@@ -48,23 +67,33 @@ Pomaga on usuwać nie używane pakiety, np.:
 - 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
 
@@ -73,7 +102,10 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.085579 seconds and 4 git commands to generate.