46 lines
1.1 KiB
RPMSpec
46 lines
1.1 KiB
RPMSpec
Name: rpmreaper
|
|
Version: 0.1.4
|
|
Release: 2%{?dist}
|
|
Summary: A tool for removing packages from system
|
|
|
|
Group: Applications/System
|
|
License: GPLv2+
|
|
URL: https://fedorahosted.org/rpmreaper/
|
|
Source0: https://fedorahosted.org/releases/r/p/%{name}/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: ncurses-devel rpm-devel
|
|
|
|
%description
|
|
rpmreaper is a simple ncurses application with a mutt-like interface that
|
|
allows removing unnecessary packages and their dependencies from the system.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT"
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING NEWS README
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%changelog
|
|
* Mon Jul 14 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.1.4-2
|
|
- fix building with new rpm (Panu Matilainen)
|
|
|
|
* Wed Jun 25 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.1.4-1
|
|
- update to 0.1.4
|
|
|
|
* Tue Jun 03 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.1.3-1
|
|
- initial release
|