Group :: File tools
RPM: stmpclean
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: stmpclean
Version: 0.3
Release: alt1
Summary: A safe temporary directory cleaner
License: BSD-like
Group: File tools
Url: http://www.internet2.edu/~shalunov/%name
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: %url/%name-%version.tar.bz2
Source1: %name.cron
Patch1: %name-0.3-owl-fixes.patch
Patch2: %name-0.3-alt-nonroot.patch
Provides: tmpwatch
Obsoletes: tmpwatch
%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.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%make_build %name
%install
%make_install install \
DESTDIR=$RPM_BUILD_ROOT \
SBINDIR=%_sbindir \
MANDIR=%_mandir \
#
%__install -pD -m700 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/cron.daily/%name
%files
%_sbindir/*
%_mandir/man?/*
%_sysconfdir/cron.daily/%name
%doc README FAQ
%changelog
…
Full changelog you can see here
Version: 0.3
Release: alt1
Summary: A safe temporary directory cleaner
License: BSD-like
Group: File tools
Url: http://www.internet2.edu/~shalunov/%name
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: %url/%name-%version.tar.bz2
Source1: %name.cron
Patch1: %name-0.3-owl-fixes.patch
Patch2: %name-0.3-alt-nonroot.patch
Provides: tmpwatch
Obsoletes: tmpwatch
%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.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%make_build %name
%install
%make_install install \
DESTDIR=$RPM_BUILD_ROOT \
SBINDIR=%_sbindir \
MANDIR=%_mandir \
#
%__install -pD -m700 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/cron.daily/%name
%files
%_sbindir/*
%_mandir/man?/*
%_sysconfdir/cron.daily/%name
%doc README FAQ
%changelog
…
Full changelog you can see here