crontabs-vl.spec 4.5 KB

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