1 |
Name: openrdate |
2 |
Version: 1.2 |
3 |
Release: %mkrel 7 |
4 |
Summary: Good-old rdate date and time-setting software |
5 |
Group: System/Configuration |
6 |
License: BSD and BSD with advertising |
7 |
URL: https://sourceforge.net/projects/openrdate |
8 |
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
9 |
# openrdate-1.2-1 replaces rdate-1.4-24, which does not have active upstream |
10 |
Provides: rdate = %{version}-%{release} |
11 |
Obsoletes: rdate < 1.4-25 |
12 |
|
13 |
%description |
14 |
Good-old date- and time-setting rdate software implementing RFC 868 |
15 |
(inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent package |
16 |
of OpenBSD's rdate program. |
17 |
|
18 |
%prep |
19 |
%setup -q |
20 |
|
21 |
#make autoreconf more happy |
22 |
sed -i -e 's,AM_INIT_AUTOMAKE,AM_INIT_AUTOMAKE(\[subdir-objects\]),' configure.ac |
23 |
|
24 |
%build |
25 |
# fix build on aarch64 |
26 |
autoreconf -vfi |
27 |
|
28 |
%configure |
29 |
%make_build |
30 |
|
31 |
%install |
32 |
%make_install |
33 |
|
34 |
%files |
35 |
%doc AUTHORS ChangeLog COPYING NEWS README |
36 |
%{_bindir}/rdate |
37 |
%{_mandir}/man8/rdate.8* |