2 # - makefile for human, not for DJB
4 Summary: clockspeed - compensate for a system clock
10 Source0: http://cr.yp.to/clockspeed/%{name}-%{version}.tar.gz
11 # Source0-md5: 425614174fcfe2ad42d22d3d02e2d567
12 URL: http://cr.yp.to/clockspeed.html
13 BuildRequires: rpmbuild(macros) >= 1.268
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 clockspeed uses a hardware tick counter to compensate for a persistently
18 fast or slow system clock. Given a few time measurements from a reliable
19 source, it computes and then eliminates the clock skew.
21 sntpclock checks another system's NTP clock, and prints the results in a
22 format suitable for input to clockspeed. sntpclock is the simplest available
25 taiclock and taiclockd form an even simpler alternative to SNTP. They are
26 suitable for precise time synchronization over a local area network, without
27 the hassles and potential security problems of an NTP server.
29 This version of clockspeed can use the Pentium RDTSC tick counter or the
30 Solaris gethrtime() nanosecond counter.
39 LDFLAGS="%{rpmldflags}" \
41 # RPM_OPT_FLAGS="%{rpmcflags}"
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc BLURB CHANGES INSTALL README THANKS TODO
55 %attr(754,root,root) %{_sbindir}/*