rdate-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Summary: Tool for getting the date/time from a remote machine.
  2. Summary(ja): リモートマシンから日付/時刻を取得するツール
  3. Name: rdate
  4. Version: 1.4
  5. Release: 3%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/System
  8. URL: ftp://people.redhat.com/sopwith/
  9. Source: ftp://people.redhat.com/sopwith/rdate-%{version}.tar.gz
  10. Patch0: rdate-1.4-udp.patch
  11. Patch1: rdate-1.4-addrinfo.patch
  12. Patch2: rdate-1.4-spellerr.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. The rdate utility retrieves the date and time from another machine on
  16. your network, using the protocol described in RFC 868. If you run
  17. rdate as root, it will set local time of your machine to the time of
  18. the machine that you queried.
  19. %description -l ja
  20. rdate はネットワーク上の他マシンから RFC 868 のプロトコルを使って
  21. 日付と時刻を取得するユーティリティです.
  22. root 権限で rdate を実行すると,取得した時刻情報を元に実行マシンの
  23. 時刻を設定します.
  24. %prep
  25. %setup -q
  26. %patch0 -p1
  27. %patch1 -p1
  28. %patch2 -p1
  29. %build
  30. make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DINET6"
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  34. %makeinstall
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %files
  38. %defattr(-,root,root)
  39. %doc COPYING
  40. %attr(0755,root,root) %{_bindir}/rdate
  41. %{_mandir}/man1/rdate.1*
  42. %changelog
  43. * Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-3
  44. - rebuilt with current VineSeed
  45. - added Patches from FC
  46. * Wed Jan 19 2011 Honza Horak <hhorak@redhat.com> - 1.4-16
  47. - man page fix
  48. * Mon Mar 31 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4-11
  49. - fixed early freeing of addrinfo
  50. * Tue Jul 10 2007 Jiri Moskovcak <jmoskovc@redhat.com> 1.4-8
  51. - fixes memory allocation
  52. - Resolves: #190883
  53. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4-2vl5
  54. - applied new versioning policy, spec in utf-8
  55. * Sun Oct 3 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-2vl1
  56. - based on 1.4-2 from Fedora
  57. * Mon Mar 22 2004 Elliot Lee <sopwith@redhat.com> 1.4-1
  58. - Timeout (-t) patch from Johan Nilsson <joh-nils@dsv.su.se>
  59. * Sun Jul 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-3vl1
  60. - based on 1.3-3 from Rawhide
  61. - s/Copyright/License/
  62. * Wed Jan 10 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  63. - 1.0-7vl1
  64. - based on 1.0-7 from Rawhide
  65. - added Japanese summary and description
  66. * Thu Dec 7 2000 Crutcher Dunnavant <crutcher@redhat.com>
  67. - rebuild for new tree
  68. * Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
  69. - summaries from specspo.
  70. * Wed Aug 09 2000 Philipp Knirsch <pknirsch@redhat.com>
  71. - Bugfix for missing /etc/services entry for time protocol (#15797)
  72. * Mon Jul 31 2000 Crutcher Dunnavant <crutcher@redhat.com>
  73. - tracked successful rdate attempts, so that failure returns 1
  74. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  75. - automatic rebuild
  76. * Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
  77. - FHS packaging.
  78. * Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com>
  79. - Rewrite the stinking thing due to license worries (bug #8619)
  80. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  81. - auto rebuild in the new build environment (release 8)
  82. * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
  83. - build root
  84. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  85. - translations modified for de, fr, tr
  86. * Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
  87. - fixed the url to the source
  88. * Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
  89. - built against glibc