adjtimex-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Summary: A utility for adjusting kernel time variables.
  2. Summary(ja): カーネル時刻変数を調整する為のユーティリティ
  3. Name: adjtimex
  4. Version: 1.29
  5. Release: 1%{?_dist_release}
  6. Exclusiveos: Linux
  7. License: GPL
  8. Group: System Environment/Base
  9. Source: http://ftp.debian.org/debian/pool/main/a/adjtimex/%{name}_%{version}.orig.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. * Sat Jun 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.29-1
  50. - updated to 1.29
  51. * Wed Jul 01 2009 Shu KONNO <owa@bg.wakwak.com> 1.27-1
  52. - updated adjtimex to 1.27
  53. - dropt adjtimex-1.13-glibc.patch
  54. - dropt adjtimex-1.21-optstring.patch
  55. - spec in utf-8
  56. * Fri May 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.21-1
  57. - source update
  58. - change License from distributable to GPL
  59. - sync to fedora development
  60. * Mon Jul 10 2006 Shu KONNO <owa@bg.wakwak.com> 1.13-4vl3
  61. - added adjtimex-1.13-usage.patch
  62. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.13-4vl2
  63. - rebuild
  64. * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.13-4vl1
  65. - based on 1.13-4 from Rawhide and built for Vine Linux
  66. - added Japanese summary and description
  67. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  68. - automated rebuild
  69. * Tue Jun 18 2002 Than Ngo <than@redhat.com> 1.13-3
  70. - don't forcibly strip binaries
  71. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  72. - automated rebuild
  73. * Wed May 22 2002 Harald Hoyer <harald@redhat.de>
  74. - 1.13
  75. * Tue Feb 26 2002 Than Ngo <than@redhat.com> 1.12-2
  76. - rebuild in new enviroment
  77. * Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.12-1
  78. - 1.12
  79. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  80. - automated rebuild
  81. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  82. - Bump release + rebuild.
  83. * Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
  84. - fix man page for '-t' usage on alpha (#9674)
  85. * Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
  86. - fix ia64 build
  87. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  88. - automatic rebuild
  89. * Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
  90. - FHS packaging.
  91. * Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
  92. - fix bug #9674
  93. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  94. - fix description
  95. - man pages are compressed
  96. * Fri Jan 7 2000 Jeff Johnson <jbj@redhat.com>
  97. - update to 1.9.
  98. * Wed Jan 5 2000 Jeff Johnson <jbj@redhat.com>
  99. - burn y2k wartlet (#8172)
  100. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  101. - auto rebuild in the new build environment (release 6)
  102. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  103. - translations modified for de, fr, tr
  104. * Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
  105. - builds on all architectures