Name: rpmorphan Version: 1.7 Release: %mkrel 3 Summary: Find orphaned RPM packages Group: System/Packaging License: GPLv2+ URL: http://rpmorphan.sourceforge.net/ Source0: http://downloads.sourceforge.net/sourceforge/rpmorphan/rpmorphan-%{version}.tar.gz Source1: rpmorphan.logrotate Requires: perl-Tk Requires: rpm Requires(post): rpm-helper BuildArch: noarch %description rpmorphan finds orphaned packages on your system. It determines which packages have no other packages depending on their installation, and shows you a list of these packages. It intends to be clone of deborphan Debian tools for RPM packages. %prep %setup -q %install %{makeinstall_std} %{__mv} %{buildroot}%{_bindir}/rpmorphan{.pl,} %{__mv} %{buildroot}%{_bindir}/rpmusage{.pl,} %{__perl} -pi -e 's/^rpmorphan\.pl/rpmorphan/g' %{buildroot}%{_bindir}/rpmorphan %{buildroot}%{_mandir}/man1/rpmorphan.1 %{__perl} -pi -e 's/^rpmusage\.pl/rpmorphan/g' %{buildroot}%{_bindir}/rpmusage %{buildroot}%{_mandir}/man1/rpmusage.1 %{__mkdir_p} %{buildroot}%{_sysconfdir}/logrotate.d %{__cp} -p %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} %post %create_ghostfile %{_logdir}/rpmorphan.log root root 644 %files %doc Authors Changelog COPYING NEWS Readme rpmorphan.lsm Todo %attr(0755,root,root) %{_bindir}/rpmorphan %attr(0755,root,root) %{_bindir}/rpmorphan-lib.pl %attr(0755,root,root) %{_bindir}/rpmusage %attr(0755,root,root) %{_bindir}/rpmdep %attr(0755,root,root) %{_bindir}/rpmdep.pl %attr(0755,root,root) %{_bindir}/rpmduplicates %attr(0755,root,root) %{_bindir}/rpmduplicates.pl %attr(0755,root,root) %{_bindir}/rpmorphan-curses-lib.pl %attr(0755,root,root) %{_bindir}/rpmorphan-tk-lib.pl %{_mandir}/man1/* %ghost %{_logdir}/rpmorphan.log %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %dir %{_var}/lib/rpmorphan %{_var}/lib/rpmorphan/keep %changelog * Tue Jan 22 2013 fwang <fwang> 1.7-3.mga3 + Revision: 390815 - update rpm group * Mon Jan 14 2013 umeabot <umeabot> 1.7-2.mga3 + Revision: 380480 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jun 15 2011 kharec <kharec> 1.7-1.mga2 + Revision: 106527 - imported package rpmorphan