1 | Summary: Root crontab files used to schedule the execution of programs. |
---|
2 | Summary(ja): root のプログラム実行を予約する crontab ファイル |
---|
3 | Name: crontabs |
---|
4 | Version: 1.10 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: public domain |
---|
7 | Group: System Environment/Base |
---|
8 | Source0: crontab |
---|
9 | Source1: run-parts |
---|
10 | Source2: 000-delay.cron |
---|
11 | Source3: config |
---|
12 | BuildArch: noarch |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | |
---|
16 | %description |
---|
17 | The crontabs package contains root crontab files. Crontab is the |
---|
18 | program used to install, uninstall or list the tables used to drive the |
---|
19 | cron daemon. The cron daemon checks the crontab files to see when |
---|
20 | particular commands are scheduled to be executed. If commands are |
---|
21 | scheduled, it executes them. |
---|
22 | |
---|
23 | Crontabs handles a basic system function, so it should be installed on |
---|
24 | your system. |
---|
25 | |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | crontabs パッケージには root 用 crontab ファイルが収められています。 |
---|
29 | crontab は cron デーモンの動作を制御するテーブルをインストール/ |
---|
30 | アンインストール/一覧表示するのに使います。cron デーモンはこの |
---|
31 | crontab ファイルを参照し、指定されたコマンドをいつ実行すればよいのか |
---|
32 | 判断します。 |
---|
33 | |
---|
34 | crontabs はシステムの基本的な動作に関わるものですので、 |
---|
35 | 必ずインストールして下さい。 |
---|
36 | |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | mkdir -p $RPM_BUILD_ROOT/etc/cron.{hourly,daily,weekly,monthly} |
---|
41 | mkdir -p $RPM_BUILD_ROOT/usr/bin |
---|
42 | mkdir -p $RPM_BUILD_ROOT/etc/sysconfig |
---|
43 | |
---|
44 | cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/crontab |
---|
45 | install -m644 $RPM_SOURCE_DIR/crontab $RPM_BUILD_ROOT/etc/crontab |
---|
46 | install -m755 $RPM_SOURCE_DIR/run-parts $RPM_BUILD_ROOT/usr/bin/run-parts |
---|
47 | install -m755 $RPM_SOURCE_DIR/000-delay.cron $RPM_BUILD_ROOT/etc/cron.daily/000-delay.cron |
---|
48 | ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.weekly/000-delay.cron |
---|
49 | ln -s ../cron.daily/000-delay.cron $RPM_BUILD_ROOT/etc/cron.monthly/000-delay.cron |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-,root,root) |
---|
57 | %config(noreplace) /etc/crontab |
---|
58 | /usr/bin/run-parts |
---|
59 | %dir /etc/cron.hourly |
---|
60 | %dir /etc/cron.daily |
---|
61 | %dir /etc/cron.weekly |
---|
62 | %dir /etc/cron.monthly |
---|
63 | %dir /etc/cron.daily/000-delay.cron |
---|
64 | %dir /etc/cron.weekly/000-delay.cron |
---|
65 | %dir /etc/cron.monthly/000-delay.cron |
---|
66 | %config(noreplace) /etc/sysconfig/crontab |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-2 |
---|
70 | - spec in utf-8 |
---|
71 | |
---|
72 | * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1 |
---|
73 | - added Source2 and 3 from Fedora |
---|
74 | * Tue Aug 21 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-15 |
---|
75 | - add config file to crontab - delay of cron.{daily,...} could be |
---|
76 | switch off |
---|
77 | * Wed Oct 11 2006 Marcela Maslanova <mmaslano@redhat.com> 1.10-9 |
---|
78 | - patch (#110894) for delaying more emails in the moment |
---|
79 | |
---|
80 | * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9-2vl2 |
---|
81 | - rebuild to add gpg sign |
---|
82 | - use License: |
---|
83 | |
---|
84 | * Mon Apr 9 2001 Jun Nishii <jun@vinelinux.org> 1.9-2vl1 |
---|
85 | - update with 1.9-2 (user noreplace for crontab) |
---|
86 | |
---|
87 | * Thu Feb 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
88 | - 1.9-1vl1 |
---|
89 | - based on 1.9-1 from Rawhide |
---|
90 | - use better macros (%%{_tmppath}) |
---|
91 | - added Japanese summary and description |
---|
92 | |
---|
93 | * Wed Jan 31 2001 Bill Nottingham <notting@redhat.com> |
---|
94 | - don't process ,v files (#15968) |
---|
95 | |
---|
96 | * Mon Aug 7 2000 Bill Nottingham <notting@redhat.com> |
---|
97 | - put name of script in output of stuff run by run-parts (#12411) |
---|
98 | |
---|
99 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
100 | - automatic rebuild |
---|
101 | |
---|
102 | * Tue Jun 6 2000 Bill Nottingham <notting@redhat.com> |
---|
103 | - rebuild |
---|
104 | |
---|
105 | * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com> |
---|
106 | - don't run *~ or *, files (#4740). |
---|
107 | |
---|
108 | * Thu Apr 15 1999 Bill Nottingham <notting@redhat.com> |
---|
109 | - don't run .rpm{save,new,orig} files (bug #2190) |
---|
110 | |
---|
111 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
112 | - auto rebuild in the new build environment (release 5) |
---|
113 | |
---|
114 | * Mon Nov 30 1998 Bill Nottingham <notting@redhat.com> |
---|
115 | - crontab: set HOME=/ |
---|
116 | |
---|
117 | * Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com> |
---|
118 | - run-parts: skip sub-directories (e.g. CVS) found instead of complaining |
---|
119 | |
---|
120 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
---|
121 | - translations modified for de, fr, tr |
---|
122 | |
---|
123 | * Tue Apr 07 1998 Erik Troan <ewt@redhat.com> |
---|
124 | - moved crontab jobs up a bit to make sure they aren't confused by |
---|
125 | switching to and fro daylight savings time |
---|
126 | |
---|
127 | * Fri Oct 24 1997 Erik Troan <ewt@redhat.com> |
---|
128 | - removed tmpwatch and at entries |
---|
129 | |
---|
130 | * Thu Jul 31 1997 Erik Troan <ewt@redhat.com> |
---|
131 | - made a noarch package |
---|