|
@@ -2,12 +2,18 @@ Summary: Tool for getting the date/time from a remote machine.
|
|
Summary(ja): リモートマシンから日付/時刻を取得するツール
|
|
Summary(ja): リモートマシンから日付/時刻を取得するツール
|
|
Name: rdate
|
|
Name: rdate
|
|
Version: 1.4
|
|
Version: 1.4
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 3%{?_dist_release}
|
|
-License: GPL
|
|
+
|
|
|
|
+License: GPLv2+
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
|
|
+URL: ftp://people.redhat.com/sopwith/
|
|
|
|
+
|
|
Source: ftp://people.redhat.com/sopwith/rdate-%{version}.tar.gz
|
|
Source: ftp://people.redhat.com/sopwith/rdate-%{version}.tar.gz
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+Patch0: rdate-1.4-udp.patch
|
|
|
|
+Patch1: rdate-1.4-addrinfo.patch
|
|
|
|
+Patch2: rdate-1.4-spellerr.patch
|
|
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
%description
|
|
%description
|
|
The rdate utility retrieves the date and time from another machine on
|
|
The rdate utility retrieves the date and time from another machine on
|
|
@@ -23,10 +29,12 @@ root 権限で rdate を実行すると,取得した時刻情報を元に実
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch0 -p1
|
|
|
|
+%patch1 -p1
|
|
|
|
+%patch2 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
-make CFLAGS="$RPM_OPT_FLAGS"
|
|
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DINET6"
|
|
-
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -40,11 +48,23 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_bindir}/rdate
|
|
+%doc COPYING
|
|
|
|
+%attr(0755,root,root) %{_bindir}/rdate
|
|
%{_mandir}/man1/rdate.1*
|
|
%{_mandir}/man1/rdate.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun May 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-3
|
|
|
|
+- rebuilt with current VineSeed
|
|
|
|
+- added Patches from FC
|
|
|
|
+ * Wed Jan 19 2011 Honza Horak <hhorak@redhat.com> - 1.4-16
|
|
|
|
+ - man page fix
|
|
|
|
+ * Mon Mar 31 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4-11
|
|
|
|
+ - fixed early freeing of addrinfo
|
|
|
|
+ * Tue Jul 10 2007 Jiri Moskovcak <jmoskovc@redhat.com> 1.4-8
|
|
|
|
+ - fixes memory allocation
|
|
|
|
+ - Resolves: #190883
|
|
|
|
+
|
|
* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4-2vl5
|
|
* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4-2vl5
|
|
- applied new versioning policy, spec in utf-8
|
|
- applied new versioning policy, spec in utf-8
|
|
|
|
|