Package init
This commit is contained in:
commit
ca9640ab8e
BIN
crontabs-1.11-1.20150630git.tar.gz
Normal file
BIN
crontabs-1.11-1.20150630git.tar.gz
Normal file
Binary file not shown.
56
crontabs.spec
Normal file
56
crontabs.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
%global snap_release 20150630git
|
||||||
|
Name: crontabs
|
||||||
|
Version: 1.11
|
||||||
|
Release: 20
|
||||||
|
Summary: Root crontab files used to schedule the execution of programs
|
||||||
|
License: Pubilc Domain and GPLv2+
|
||||||
|
URL: https://fedorahosted.org/crontabs
|
||||||
|
Source0: https://fedorahosted.org/releases/c/r/crontabs/%{name}-%{version}-1.%{snap_release}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
Recommends: cronie
|
||||||
|
|
||||||
|
%description
|
||||||
|
A crontab file contains instructions to the cron daemon
|
||||||
|
of the general form: 'run this command at this time on
|
||||||
|
this date'. Each user has their own crontab, and com-
|
||||||
|
mands in any given crontab will be executed as the user
|
||||||
|
who owns the crontab.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/cron.{hourly,daily,weekly,monthly}
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
mkdir -p %{buildroot}%{_mandir}/man4/
|
||||||
|
|
||||||
|
install -m 644 ./crontab %{buildroot}%{_sysconfdir}/crontab
|
||||||
|
install -m 755 ./run-parts %{buildroot}%{_bindir}/run-parts
|
||||||
|
install -m 644 ./*.4 %{buildroot}%{_mandir}/man4/
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/
|
||||||
|
touch %{buildroot}%{_sysconfdir}/sysconfig/run-parts
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/{crontab,sysconfig/run-parts}
|
||||||
|
%dir %{_sysconfdir}/cron.{hourly,daily,weekly,monthly}
|
||||||
|
%{_bindir}/run-parts
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man4/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 1.11-20
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:revise help package
|
||||||
|
|
||||||
|
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.11-19
|
||||||
|
- Package Init
|
||||||
Loading…
x
Reference in New Issue
Block a user