40 lines
956 B
RPMSpec
40 lines
956 B
RPMSpec
|
Name: rpmreaper
|
||
|
Version: 0.1.3
|
||
|
Release: 1%{?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"
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc COPYING README
|
||
|
%{_bindir}/%{name}
|
||
|
%{_mandir}/man1/%{name}.1*
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jun 03 2008 Miroslav Lichvar <mlichvar@redhat.com> 0.1.3-1
|
||
|
- initial release
|