Summary: A safe temporary directory cleaner Summary(pl.UTF-8): Bezpieczny program porządkujący katalogi z plikami tymczasowymi Name: stmpclean Version: 0.3 Release: 1 License: BSD Group: Applications/System Source0: http://www.internet2.edu/~shalunov/stmpclean/%{name}-%{version}.tar.gz Source1: %{name}.cron Patch0: %{name}-Owl.patch URL: http://www.internet2.edu/~shalunov/stmpclean/ Requires: crondaemon BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The stmpclean utility removes old files (and old empty directories) from the specified directory. Its typical use is to clean directories such as /tmp where old files tend to accumulate. %description -l pl.UTF-8 Program stmpclean usuwa stare pliki i puste podkatalogi z podanego katalogu. Zwykle używa się go do porządkowania katalogów, w których zbierają się niepotrzebne pliki, jak /tmp. %prep %setup -q %patch0 -p1 %build %{__make} stmpclean\ CFLAGS="%{rpmcflags} -Wall" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/cron.daily %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ SBINDIR=%{_sbindir} \ MANDIR=%{_mandir} install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/stmpclean %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README FAQ %attr(755,root,root) %{_sbindir}/%{name} %attr(755,root,root) %config(noreplace) /etc/cron.daily/stmpclean %{_mandir}/man8/*.8*