File openrdate.spec of Package openrdate

# norootforbuild

Name: openrdate
Version: 1.1
Release: 0
#
License: BSD
Group: Productivity/Networking/Other
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
URL: http://sourceforge.net/projects/openrdate/
Source: http://prdownloads.sourceforge.net/openrdate/openrdate-%{version}.tar.gz
#
Summary: Good-old rdate date and time-setting software
%description
Good-old rdate date and time-setting software implementing RFC 868 (inetd time)
and RFC 2030 (SNTP/NTP) protocols. An independent package of the OpenBSD's
rdate program.


Authors:
---------
    David Snyder <dasnyderx@yahoo.com>
    David Mazieres <dm@lcs.mit.edu>
    Thomas Roessler <roessler@sobolev.rhein.de>
    N.M. Maclaren
    Thorston "mirabile" Glaser
    Christos Zoulas

%prep
%setup

%build
%if 0%{?suse_version} > 1000
export CFLAGS="%{optflags} -fstack-protector"
%endif
%configure
%{__make}

%install
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/rdate
%{_mandir}/man8/rdate.8*
%doc AUTHORS ChangeLog COPYING NEWS README
openSUSE Build Service is sponsored by