/[packages]/cauldron/crontabs/current/SPECS/crontabs.spec
ViewVC logotype

Contents of /cauldron/crontabs/current/SPECS/crontabs.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 138 - (show annotations) (download)
Tue Jan 4 19:26:13 2011 UTC (12 years, 11 months ago) by tmb
File size: 1345 byte(s)
imported package crontabs
1 Name: crontabs
2 Version: 1.10
3 Release: %mkrel 17
4 Summary: Root crontab files used to schedule the execution of programs
5 License: GPLv2+
6 Group: System/Configuration/Other
7 Source0: crontab
8 Source1: config
9 BuildArch: noarch
10 BuildRoot: %{_tmppath}/%{name}-%{version}
11 Requires: run-parts
12
13 %description
14 The crontabs package contains root crontab files. Crontab is the
15 program used to install, uninstall or list the tables used to drive the
16 cron daemon. The cron daemon checks the crontab files to see when
17 particular commands are scheduled to be executed. If commands are
18 scheduled, it executes them.
19
20 Crontabs handles a basic system function, so it should be installed on
21 your system.
22
23 %install
24 rm -rf %{buildroot}
25
26 mkdir -p %{buildroot}%{_sysconfdir}/cron.{hourly,daily,weekly,monthly,yearly}
27 mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
28 mkdir -p %{buildroot}%{_docdir}/%{name}
29
30 install -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}
31 install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/crontab
32
33 %clean
34 rm -rf %{buildroot}
35
36 %files
37 %defattr(-,root,root)
38 %doc %{_docdir}/%{name}
39 %config(noreplace) %{_sysconfdir}/crontab
40 %config(noreplace) %{_sysconfdir}/sysconfig/crontab
41 %dir %{_sysconfdir}/cron.hourly
42 %dir %{_sysconfdir}/cron.daily
43 %dir %{_sysconfdir}/cron.weekly
44 %dir %{_sysconfdir}/cron.monthly
45 %dir %{_sysconfdir}/cron.yearly
46
47
48
49

  ViewVC Help
Powered by ViewVC 1.1.28