Репозитории ALT

Группа :: Работа с файлами
Пакет: stmpclean
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: stmpclean
Version: 0.3
Release: alt2
Summary: A safe temporary directory cleaner
License: BSD-like
Group: File tools
Url: http://www.internet2.edu/~shalunov/stmpclean
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: %url/stmpclean-%version.tar.bz2
Source1: stmpclean.cron
Patch1: stmpclean-0.3-owl-fixes.patch
Patch2: stmpclean-0.3-alt-nonroot.patch
Patch3: stmpclean-0.3-alt-warnings.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
%patch3 -p1
%build
%make_build stmpclean
%install
%make_install install \
DESTDIR=%buildroot \
SBINDIR=%_sbindir \
MANDIR=%_mandir \
#
install -pD -m700 %SOURCE1 %buildroot%_sysconfdir/cron.daily/%name
%files
%_sbindir/*
%_mandir/man?/*
%config(noreplace) %_sysconfdir/cron.daily/%name
%doc README FAQ
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.3
Release: alt2
Summary: A safe temporary directory cleaner
License: BSD-like
Group: File tools
Url: http://www.internet2.edu/~shalunov/stmpclean
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: %url/stmpclean-%version.tar.bz2
Source1: stmpclean.cron
Patch1: stmpclean-0.3-owl-fixes.patch
Patch2: stmpclean-0.3-alt-nonroot.patch
Patch3: stmpclean-0.3-alt-warnings.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
%patch3 -p1
%build
%make_build stmpclean
%install
%make_install install \
DESTDIR=%buildroot \
SBINDIR=%_sbindir \
MANDIR=%_mandir \
#
install -pD -m700 %SOURCE1 %buildroot%_sysconfdir/cron.daily/%name
%files
%_sbindir/*
%_mandir/man?/*
%config(noreplace) %_sysconfdir/cron.daily/%name
%doc README FAQ
%changelog
…
Полный changelog можно просмотреть здесь