crontabs-vl.spec 4.6 KB

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