Name: autotrash Version: 0.1.5 Release: 2%{?dist} Summary: Automatically take-out the trash License: GPLv3+ URL: http://www.logfish.net/pr/autotrash/ Source0: http://www.logfish.net/pr/%{name}/downloads/%{name}-%{version}.tar.gz BuildArch: noarch Requires: python2 BuildRequires: python2-devel %description Autotrash is a simple Python script which will purge files from your trash based on their age or the amount of free space left on the device. %prep %setup -q -n %{name}-%{version} %build %{__python2} setup.py build %install %{__python2} setup.py install --skip-build --root %{buildroot} mkdir -p %{buildroot}%{_mandir}/man1 cp -a %{_builddir}/%{name}-%{version}/doc/%{name}.1* %{buildroot}%{_mandir}/man1 %files %doc COPYING README TODO %{_mandir}/man1/autotrash.1* %{_bindir}/autotrash %{python2_sitelib}/%{name}-%{version}-py2.7.egg-info %changelog * Sun Sep 28 2014 Robert Mayr 0.1.5-2 - Version Bump * Thu Sep 18 2014 Robert Mayr 0.1.5-1 - Initial package for Fedora