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