]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - crontabs/crontabs.nm
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / crontabs / crontabs.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = crontabs
7 version = 1.11
8 snap_rel = 20121102git
9 release = 1.%{snap_rel}
10 arch = noarch
11
12 groups = System/Base
13 url = https://fedorahosted.org/crontabs
14 license = Public Domain and GPLv2
15 summary = Root crontab files used to schedule the execution of programs.
16
17 description
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.
28 end
29
30 source_dl = https://fedorahosted.org/releases/c/r/crontabs/
31 sources = %{name}-%{version}-1.%{snap_rel}.tar.gz
32
33 build
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
46 end
47
48 packages
49 package %{name}
50 groups += Base
51
52 requires
53 /etc/cron.d
54 end
55 end
56 end