timed-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. %define _snapshot -pre20000412
  2. Summary: Programs for maintaining networked machines' time synchronization.
  3. Summary(ja): ネットワーク接続されたマシンの時刻を同期させるプログラム
  4. Name: timed
  5. Version: 0.17
  6. Release: 2vl1
  7. Copyright: BSD
  8. Group: System Environment/Daemons
  9. Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-timed-%{version}%{_snapshot}.tar.gz
  10. Patch: timed-clk_tck.patch
  11. Requires: inetd
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. The timed package contains the timed daemon and the timedc program for
  15. controlling the timed program. Timed synchronizes its host machine's
  16. time with the time on other local network machines. The timedc
  17. program is used to control and configure the operation of timed.
  18. Install the timed package if you need a system for keeping networked
  19. machines' times in synchronization.
  20. %description -l ja
  21. timed パッケージには timed デーモンと,timed を制御する
  22. timedc プログラムが収められています.timed はホストマシンの時刻と
  23. ネットワーク接続された他のマシンの時刻を同期させます.
  24. timedc プログラムは timed を制御したり動作を設定したりするのに使います.
  25. ネットワーク接続されたマシンの時刻を同期させるシステムが必要なら
  26. timed パッケージをインストールして下さい.
  27. %prep
  28. %setup -q -n netkit-timed-%{version}%{_snapshot}
  29. %patch -p1
  30. %build
  31. sh configure
  32. perl -pi -e '
  33. s,^CC=.*$,CC=cc,;
  34. s,-O2,\$(RPM_OPT_FLAGS),;
  35. s,^BINDIR=.*$,BINDIR=%{_bindir},;
  36. s,^MANDIR=.*$,MANDIR=%{_mandir},;
  37. s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
  38. ' MCONFIG
  39. make
  40. %install
  41. rm -rf ${RPM_BUILD_ROOT}
  42. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  43. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
  44. mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
  45. make INSTALLROOT=${RPM_BUILD_ROOT} install
  46. %clean
  47. rm -rf ${RPM_BUILD_ROOT}
  48. %files
  49. %defattr(-,root,root)
  50. %{_sbindir}/timed
  51. %{_sbindir}/timedc
  52. %{_mandir}/man8/timed.8*
  53. %{_mandir}/man8/timedc.8*
  54. %changelog
  55. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  56. - 0.17-2vl1
  57. - based on 0.17-2 from Rawhide
  58. - added Japanese summary and description
  59. * Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
  60. - fix build with glibc-2.2
  61. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  62. - automatic rebuild
  63. * Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
  64. - FHS packaging.
  65. - update to 0.17.
  66. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  67. - man pages are compressed
  68. - fix description
  69. * Tue Dec 21 1999 Jeff Johnson <jbj@redhat.com>
  70. - update to 0.16.
  71. * Sat Apr 17 1999 Jeff Johnson <jbj@redhat.com>
  72. - fix ifreq size problem.
  73. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  74. - auto rebuild in the new build environment (release 22)
  75. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  76. - translations modified for de, fr, tr
  77. * Tue Jul 15 1997 Erik Troan <ewt@redhat.com>
  78. - initial build