File rpmorphan.spec of Package rpmorphan
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rpmorphan
Version: 1.9
Release: 1
Summary: List the orphaned RPM packages
License: GPLv2+
Url: http://rpmorphan.sourceforge.net/
Group: System/Packages
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: rpm
Recommends: logrotate
Recommends: perl-Curses-UI
Recommends: perl-RPM2
Recommends: perl-Tk
BuildArch: noarch
%description
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
%build
%install
make install DESTDIR=%{buildroot} DOCDIR=%{buildroot}%{_defaultdocdir}/%{name} TARGET_LOCALE=%{buildroot}%{_libexecdir}/%{name}/locale
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Authors COPYING Changelog NEWS Readme Readme.fr Todo rpmorphan.lsm rpmorphanrc.sample
%config(noreplace) %{_sysconfdir}/logrotate.d/rpmorphan
%{_bindir}/grpmorphan
%{_bindir}/rpmdep
%{_bindir}/rpmdep.pl
%{_bindir}/rpmduplicates
%{_bindir}/rpmduplicates.pl
%{_bindir}/rpmextra
%{_bindir}/rpmextra.pl
%{_bindir}/rpmorphan
%{_bindir}/rpmorphan-curses-lib.pl
%{_bindir}/rpmorphan-lib.pl
%{_bindir}/rpmorphan-tk-lib.pl
%{_bindir}/rpmorphan.pl
%{_bindir}/rpmusage
%{_bindir}/rpmusage.pl
%doc %{_mandir}/man1/rpmdep.1%{ext_man}
%doc %{_mandir}/man1/rpmduplicates.1%{ext_man}
%doc %{_mandir}/man1/rpmextra.1%{ext_man}
%doc %{_mandir}/man1/rpmorphan.1%{ext_man}
%doc %{_mandir}/man1/rpmusage.1%{ext_man}
%{_libexecdir}/rpmorphan/
%dir %{_localstatedir}/lib/rpmorphan
%{_localstatedir}/lib/rpmorphan/keep
%ghost %config(noreplace) %{_localstatedir}/log/rpmorphan.log
%changelog