source: projects/specs/trunk/c/crontabs/crontabs-vl.spec @ 9677

Revision 9677, 4.6 KB checked in by tomop, 9 years ago (diff)

fixed BTS#2955

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