]> git.pld-linux.org Git - packages/clockspeed.git/blob - clockspeed.spec
941a75032c3058c3f9bc182b6d5a9fc1f5cce247
[packages/clockspeed.git] / clockspeed.spec
1 # TODO:
2 # - makefile for human, not for DJB
3 # - check the license
4 Summary:        clockspeed - compensate for a system clock
5 Name:           clockspeed
6 Version:        0.62
7 Release:        0.1
8 License:        unknown?
9 Group:          Daemons
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)
15
16 %description
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.
20
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
23 NTP/SNTP client.
24
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.
28
29 This version of clockspeed can use the Pentium RDTSC tick counter or the
30 Solaris gethrtime() nanosecond counter. 
31
32 %prep
33 %setup -q
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         LD="%{__cc}" \
39         LDFLAGS="%{rpmldflags}" \
40
41 #       RPM_OPT_FLAGS="%{rpmcflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc BLURB CHANGES INSTALL README THANKS TODO
55 %attr(754,root,root) %{_sbindir}/*
This page took 0.048387 seconds and 2 git commands to generate.