crontabs-vl.spec 4.3 KB

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