Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 738487ff5c896104e644968a75b8f4d0 > files > 2

rdate-1.4-4mdv2008.0.src.rpm

Summary:	Retrieving the date and time from another machine on your network
Name:		rdate
Version:	1.4
Release:	%mkrel 4
License:	GPL
Group:		System/Configuration/Other
URL:		ftp://people.redhat.com/sopwith
Source0:	ftp://people.redhat.com/sopwith/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
The rdate utility retrieves the date and time from another machine on your
network, using the protocol described in RFC 868. If you run rdate as root, it
will set your machine's local time to the time of the machine that you queried.
Note that rdate isn't scrupulously accurate. If you are worried about
milliseconds, get the xntpd program instead.

%prep
%setup -q

%build
%make CFLAGS="$RPM_OPT_FLAGS -Wall" CC="gcc"

%install
rm -rf %{buildroot}
install -m755 -s %{name} -D %{buildroot}%{_bindir}/%{name}
install -m644 %{name}.1 -D %{buildroot}%{_mandir}/man1/%{name}.1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*




%changelog

* Sat Mar 17 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4-4mdv2007.1
+ Revision: 145463
- Import rdate

* Sat Mar 17 2007 Oden Eriksson <oeriksson@mandriva.com> 1.4-4mdv2007.1
- use the %%mrel macro

* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 1.4-3mdk
- Rebuild

* Sun Dec 05 2004 Abel Cheung <deaddog@mandrake.org> 1.4-2mdk
- manpage is an ELF binary!?
- adjust group

* Thu Jun 17 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.4-1mdk
- 1.4
- cosmetics