adjtimex-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Summary: A utility for adjusting kernel time variables.
  2. Summary(ja): カーネル時刻変数を調整する為のユーティリティ
  3. Name: adjtimex
  4. Version: 1.27
  5. Release: 1%{?_dist_release}
  6. Exclusiveos: Linux
  7. License: GPL
  8. Group: System Environment/Base
  9. Source: http://ibiblio.org/pub/Linux/system/admin/time/adjtimex-%{version}.tar.gz
  10. Patch1: adjtimex-1.13-glibc.patch
  11. Patch2: adjtimex-1.21-optstring.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. Adjtimex provides raw access to kernel time variables. On standalone
  15. or intermittently connected machines, root can use adjtimex to correct
  16. for systematic drift. If your machine is connected to the Internet or
  17. is equipped with a precision oscillator or radio clock, you should
  18. instead manage the system clock with the xntpd program. Users can use
  19. adjtimex to view kernel time variables.
  20. %description -l ja
  21. adjtimex はカーネル時刻変数への直接的なアクセスを提供します。
  22. スタンドアロン機や常時インターネットに接続されている訳ではないマシンの場
  23. 合、この adjtimex を使ってシステムの時刻のずれを調整することが出来ます。
  24. マシンがインターネットに常時接続されている場合や、オシレータ/ラジオクロッ
  25. クが装備されている場合は、代わりに xntpd プログラムを使ってシステムクロッ
  26. クを調整することが出来ます。一般ユーザは adjtimex を使ってカーネル時刻変
  27. 数を見ることが出来ます.
  28. %prep
  29. %setup -q
  30. #%patch1 -p1 -b .glibc
  31. #%patch2 -p1 -b .optstring
  32. %build
  33. %configure
  34. make
  35. %install
  36. rm -rf ${RPM_BUILD_ROOT}
  37. mkdir -p ${RPM_BUILD_ROOT}/sbin
  38. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
  39. install -m755 adjtimex ${RPM_BUILD_ROOT}/sbin/adjtimex
  40. install -m644 adjtimex.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/adjtimex.8
  41. %clean
  42. rm -rf ${RPM_BUILD_ROOT}
  43. %files
  44. %defattr(-,root,root)
  45. %doc README COPYING COPYRIGHT
  46. /sbin/adjtimex
  47. %{_mandir}/man8/adjtimex.8*
  48. %changelog
  49. * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 1.27-1
  50. - updated adjtimex to 1.27
  51. - dropt adjtimex-1.13-glibc.patch
  52. - dropt adjtimex-1.21-optstring.patch
  53. - spec in utf-8
  54. * Fri May 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.21-1
  55. - source update
  56. - change License from distributable to GPL
  57. - sync to fedora development
  58. * Mon Jul 10 2006 Shu KONNO <owa@bg.wakwak.com> 1.13-4vl3
  59. - added adjtimex-1.13-usage.patch
  60. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.13-4vl2
  61. - rebuild
  62. * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.13-4vl1
  63. - based on 1.13-4 from Rawhide and built for Vine Linux
  64. - added Japanese summary and description
  65. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  66. - automated rebuild
  67. * Tue Jun 18 2002 Than Ngo <than@redhat.com> 1.13-3
  68. - don't forcibly strip binaries
  69. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  70. - automated rebuild
  71. * Wed May 22 2002 Harald Hoyer <harald@redhat.de>
  72. - 1.13
  73. * Tue Feb 26 2002 Than Ngo <than@redhat.com> 1.12-2
  74. - rebuild in new enviroment
  75. * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.12-1
  76. - 1.12
  77. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  78. - automated rebuild
  79. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  80. - Bump release + rebuild.
  81. * Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
  82. - fix man page for '-t' usage on alpha (#9674)
  83. * Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
  84. - fix ia64 build
  85. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  86. - automatic rebuild
  87. * Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
  88. - FHS packaging.
  89. * Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
  90. - fix bug #9674
  91. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  92. - fix description
  93. - man pages are compressed
  94. * Fri Jan 7 2000 Jeff Johnson <jbj@redhat.com>
  95. - update to 1.9.
  96. * Wed Jan 5 2000 Jeff Johnson <jbj@redhat.com>
  97. - burn y2k wartlet (#8172)
  98. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  99. - auto rebuild in the new build environment (release 6)
  100. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  101. - translations modified for de, fr, tr
  102. * Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
  103. - builds on all architectures