Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > 2728360ba4aedbd2d3ab7d163c23030c > files > 2

rdate-1.4-2mdk.src.rpm

%define version	1.4
%define release 2mdk

%define	url	ftp://people.redhat.com/sopwith

Summary:	Retrieving the date and time from another machine on your network.
Name:		rdate
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		System/Configuration/Other
Source0:	%{url}/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
Url:		%{url}

%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 $RPM_BUILD_ROOT
install -m755 -s %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name}
install -m644 %{name}.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1

%clean
rm -rf $RPM_BUILD_ROOT

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

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

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

* Wed Jul 23 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.3-3mdk
- rebuild

* Wed Jan 15 2003 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3-2mdk
- Add URL.

* Wed Jan 15 2003 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3-1mdk
- Bump to version 1.3.

* Mon Apr 08 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.2-1mdk
- Build a 1.2 ripped from RH.

* Sat Aug 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.0-5mdk
- Sanity build for 8.1.
- RH patch merge: rdate-1.0.{returnvalue,service,udp}.patch.

* Tue Mar 06 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.0-4mdk
- Do nothing but rebuild.

* Wed Jul 26 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.0-3mdk
- change copyright to public domain 

* Thu Jul 20 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0-2mdk
- BM
- use new macros
- let spec-helper compress man-pages and strip binaries : i'm getting bored
  to do a mdk7.1 job :-(

* Fri Apr 07 2000 Christopher Molnar <molnarc@mandrakesoft.com> 1.0-1mdk
- updated 1.0
- changed group to new groups

* Fri Feb 04 2000 Elliot Lee <sopwith@redhat.com>
- Rewrite the stinking thing due to license worries (bug #8619)

* Fri Nov 5 1999 Damien Krotkine <damien@mandrakesoft.com>
- Mandrake release

* Wed May 05 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 8)

* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Tue May 05 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
- fixed the url to the source

* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
- built against glibc