File rdate.spec of Package rdate

# spec file for package rdate (Version 1.4)
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name:           rdate
Summary:        rdate retrieves the time from an RFC 868 server
Version:        1.4
Release:        1
License:        GPL
Group:          Productivity/Networking/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

rdate retrieves and optionally sets the time from an RFC 868 server. 
It is a simple, significantly less complex (and less functional)
replacement for NTP.

    Elliot Lee <>

%setup -q


rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
cp rdate ${RPM_BUILD_ROOT}%{_bindir}
cp rdate.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
gzip -9 ${RPM_BUILD_ROOT}%{_mandir}/man1/rdate.1

rm -rf ${RPM_BUILD_ROOT}

%attr(0755,root,root) %{_bindir}/rdate
%attr(0644,root,root) %{_mandir}/man1/rdate.1.gz

%changelog -n rdate
* Thu Oct 05 2006 -
- Initial package