14 Star 0 Fork 5

src-openEuler/crontabs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
crontabs.spec 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
zhangruifang2020 提交于 2024-06-12 17:02 . License compliance rectification
%global snap_release 20190603
Name: crontabs
Version: 1.11
Release: 24
Summary: Root crontab files used to schedule the execution of programs
License: Public Domain and GPLv2+
URL: https://github.com/cronie-crond/crontabs
Source0: https://github.com/cronie-crond/crontabs/releases/download/%{name}-%{snap_release}/%{name}-%{version}-%{snap_release}git.tar.gz
BuildArch: noarch
Requires: sed
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
* Wed Jun 12 2024 zhangruifang <[email protected]> - 1.11-24
- License compliance rectification
* Tue Oct 25 2022 zhangruifang <[email protected]> - 1.11-23
- Rebuild for next release
* Tue Sep 8 2020 wangchen<[email protected]> - 1.11-22
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: modify the URL of Source0
* Fri Oct 11 2019 jiangchuangang<[email protected]> - 1.11-21
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: update tarball
* Thu Sep 26 2019 shenyangyang<[email protected]> - 1.11-20
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package
* Tue Aug 20 2019 openEuler Buildteam <[email protected]> - 1.11-19
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/crontabs.git
[email protected]:src-openeuler/crontabs.git
src-openeuler
crontabs
crontabs
master

搜索帮助