commit ca9640ab8eb2fed060cf7fe19df10b9f4e2cf6b0 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:36:11 2019 -0400 Package init diff --git a/crontabs-1.11-1.20150630git.tar.gz b/crontabs-1.11-1.20150630git.tar.gz new file mode 100644 index 0000000..ac519bb Binary files /dev/null and b/crontabs-1.11-1.20150630git.tar.gz differ diff --git a/crontabs.spec b/crontabs.spec new file mode 100644 index 0000000..04c3aa1 --- /dev/null +++ b/crontabs.spec @@ -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 - 1.11-20 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:revise help package + +* Tue Aug 20 2019 openEuler Buildteam - 1.11-19 +- Package Init