Summary: Retrieving the date and time from another machine on your network Name: rdate Version: 1.4 Release: %mkrel 13 License: GPLv2+ Group: System/Configuration URL: ftp://people.redhat.com/sopwith Source0: ftp://people.redhat.com/sopwith/%{name}-%{version}.tar.bz2 Patch0: rdate-1.4-udp.patch Patch1: rdate-1.4-format_not_a_string_literal_and_no_format_arguments.diff %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 %patch0 -p1 -b .udp %patch1 -p0 -b .format_not_a_string_literal_and_no_format_arguments %build %make CFLAGS="%{optflags} -Wall -DINET6" CC="gcc" LDFLAGS="%{ldflags}" %install install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -m0755 %{name} %{buildroot}%{_bindir}/%{name} install -m0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Wed Jan 23 2013 fwang <fwang> 1.4-13.mga3 + Revision: 391524 - update rpm group * Mon Jan 14 2013 umeabot <umeabot> 1.4-12.mga3 + Revision: 380221 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Apr 30 2011 misc <misc> 1.4-11.mga1 + Revision: 93873 - fix License - increase release so we can upgrade from Mandriva * Wed Mar 16 2011 steletch <steletch> 1.4-1.mga1 + Revision: 72782 - Clean spec file - imported package rdate