Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:RISCV
tmpwatch
tmpwatch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tmpwatch.spec of Package tmpwatch
# # spec file for package tmpwatch # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: tmpwatch Summary: Watches file system activity, such as /tmp files License: GPL-2.0-only Group: Productivity/Security Version: 2.11 Release: 0 URL: https://pagure.io/tmpwatch Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.service Source2: %{name}.timer Source3: %{name}-autoclean BuildRequires: psmisc Requires: psmisc %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 (for example, /tmp). There are multiple tools called "tmpwatch", this package contains the Fedora/Red Hat version previously available at https://fedorahosted.org/tmpwatch and now hosted at https://pagure.io/tmpwatch %prep %setup -q %build %configure make %{?_smp_mflags} %install %make_install install -D -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/%{name}.timer install -D -m 0755 %{SOURCE3} %{buildroot}/%{_sbindir}/%{name}-autoclean %pre %service_add_pre %{name}.service %{name}.timer %post %service_add_post tmpwatch.service tmpwatch.timer %preun %service_del_preun %{name}.service %{name}.timer %postun %service_del_postun %{name}.service %{name}.timer %files %defattr(-,root,root) %doc ChangeLog NEWS README %license COPYING %{_sbindir}/%{name} %{_sbindir}/%{name}-autoclean %{_unitdir}/%{name}.service %{_unitdir}/%{name}.timer %{_mandir}/man8/%{name}.8* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor