]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - crontabs/crontabs.nm
paxctl: Update to 0.8.
[people/ms/ipfire-3.x.git] / crontabs / crontabs.nm
CommitLineData
010fd8be
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = crontabs
7version = 1.11
8snap_rel = 20121102git
9release = 1.%{snap_rel}
10arch = noarch
11
12groups = System/Base
13url = https://fedorahosted.org/crontabs
14license = Public Domain and GPLv2
15summary = Root crontab files used to schedule the execution of programs.
16
17description
18 This package is used mainly for executing files by cron.
19
20 The crontabs package contains root crontab files and directories.
21 You will need to install cron daemon to run the jobs from the crontabs.
22 The cron daemon such as cronie or fcron checks the crontab files to
23 see when particular commands are scheduled to be executed. If commands
24 are scheduled, it executes them.
25
26 Crontabs handles a basic system function, so it should be installed on
27 your system.
28end
29
30source_dl = https://fedorahosted.org/releases/c/r/crontabs/
31sources = %{name}-%{version}-1.%{snap_rel}.tar.gz
32
33build
34 build
35 # empty
36 end
37
38 install
39 mkdir -pv %{BUILDROOT}%{sysconfdir}/cron.{hourly,daily,weekly,monthly}
40 mkdir -pv %{BUILDROOT}%{bindir} %{BUILDROOT}%{mandir}/man4
41
42 install -m 644 crontab %{BUILDROOT}%{sysconfdir}/crontab
43 install -m 755 run-parts %{BUILDROOT}%{bindir}/run-parts
44 install -m 644 {crontabs,run-parts}.4 %{BUILDROOT}%{mandir}/man4
45 end
46end
47
48packages
49 package %{name}
50 groups += Base
51
52 requires
53 /etc/cron.d
54 end
55 end
56end