commit
cd78c72102
BIN
tmpwatch-2.11.tar.bz2
Normal file
BIN
tmpwatch-2.11.tar.bz2
Normal file
Binary file not shown.
49
tmpwatch.spec
Normal file
49
tmpwatch.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: tmpwatch
|
||||
Version: 2.11
|
||||
Release: 14
|
||||
Summary: Utility to delete files based on last time they were accessed
|
||||
URL: https://pagure.io/tmpwatch
|
||||
Source0: https://releases.pagure.org/tmpwatch/tmpwatch-2.11.tar.bz2
|
||||
License: GPLv2
|
||||
Requires: psmisc
|
||||
Provides: bundled(gnulib)
|
||||
BuildRequires: gcc psmisc gdb
|
||||
|
||||
%description
|
||||
The tmpwatch utility recursively searches through specified
|
||||
directories and removes files which have not been accessed in a
|
||||
specified period of time. Tmpwatch is normally used to clean up
|
||||
directories which are used for temporarily holding files.
|
||||
|
||||
%package help
|
||||
Summary: Help doctment for the tmpwatch package
|
||||
|
||||
%description help
|
||||
Help doctment for the tmpwatch package
|
||||
|
||||
%prep
|
||||
%autosetup -n tmpwatch-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL='install -p'
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -s $(echo %{_bindir} |sed 's,/[^/]\+,/..,g; s,^/,,')%{_sbindir}/tmpwatch \
|
||||
%{buildroot}%{_bindir}/tmpwatch
|
||||
|
||||
%files
|
||||
%doc COPYING
|
||||
%{_bindir}/tmpwatch
|
||||
%{_sbindir}/tmpwatch
|
||||
|
||||
%files help
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%{_mandir}/man8/tmpwatch.8*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 20 2020 songzhenyu<songzhenyu@huawei.com> - 2.11-14
|
||||
- Package init
|
||||
4
tmpwatch.yaml
Normal file
4
tmpwatch.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://pagure.io/tmpwatch.git
|
||||
tag_prefix: "^tmpwatch-"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user