crontabs-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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: 3%{?_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. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-3
  57. - rebuild for Vine 6
  58. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10-2
  59. - spec in utf-8
  60. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-1
  61. - added Source2 and 3 from Fedora
  62. * Tue Aug 21 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-15
  63. - add config file to crontab - delay of cron.{daily,...} could be
  64. switch off
  65. * Wed Oct 11 2006 Marcela Maslanova <mmaslano@redhat.com> 1.10-9
  66. - patch (#110894) for delaying more emails in the moment
  67. * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9-2vl2
  68. - rebuild to add gpg sign
  69. - use License:
  70. * Mon Apr 9 2001 Jun Nishii <jun@vinelinux.org> 1.9-2vl1
  71. - update with 1.9-2 (user noreplace for crontab)
  72. * Thu Feb 15 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  73. - 1.9-1vl1
  74. - based on 1.9-1 from Rawhide
  75. - use better macros (%%{_tmppath})
  76. - added Japanese summary and description
  77. * Wed Jan 31 2001 Bill Nottingham <notting@redhat.com>
  78. - don't process ,v files (#15968)
  79. * Mon Aug 7 2000 Bill Nottingham <notting@redhat.com>
  80. - put name of script in output of stuff run by run-parts (#12411)
  81. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  82. - automatic rebuild
  83. * Tue Jun 6 2000 Bill Nottingham <notting@redhat.com>
  84. - rebuild
  85. * Fri Aug 27 1999 Jeff Johnson <jbj@redhat.com>
  86. - don't run *~ or *, files (#4740).
  87. * Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
  88. - don't run .rpm{save,new,orig} files (bug #2190)
  89. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  90. - auto rebuild in the new build environment (release 5)
  91. * Mon Nov 30 1998 Bill Nottingham <notting@redhat.com>
  92. - crontab: set HOME=/
  93. * Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
  94. - run-parts: skip sub-directories (e.g. CVS) found instead of complaining
  95. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  96. - translations modified for de, fr, tr
  97. * Tue Apr 07 1998 Erik Troan <ewt@redhat.com>
  98. - moved crontab jobs up a bit to make sure they aren't confused by
  99. switching to and fro daylight savings time
  100. * Fri Oct 24 1997 Erik Troan <ewt@redhat.com>
  101. - removed tmpwatch and at entries
  102. * Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
  103. - made a noarch package