]> git.pld-linux.org Git - packages/clockspeed.git/blob - clockspeed.spec
- pass __cc and optflags
[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 Summary(pl.UTF-8):      clockspeed - kompensacja zegara systemowego
6 Name:           clockspeed
7 Version:        0.62
8 Release:        0.1
9 License:        unknown?
10 Group:          Daemons
11 Source0:        http://cr.yp.to/clockspeed/%{name}-%{version}.tar.gz
12 # Source0-md5:  425614174fcfe2ad42d22d3d02e2d567
13 Patch0:         %{name}-fix.patch
14 URL:            http://cr.yp.to/clockspeed.html
15 BuildRequires:  rpmbuild(macros) >= 1.268
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 clockspeed uses a hardware tick counter to compensate for a
20 persistently fast or slow system clock. Given a few time measurements
21 from a reliable source, it computes and then eliminates the clock
22 skew.
23
24 sntpclock checks another system's NTP clock, and prints the results in
25 a format suitable for input to clockspeed. sntpclock is the simplest
26 available NTP/SNTP client.
27
28 taiclock and taiclockd form an even simpler alternative to SNTP. They
29 are suitable for precise time synchronization over a local area
30 network, without the hassles and potential security problems of an NTP
31 server.
32
33 This version of clockspeed can use the Pentium TSC tick counter or the
34 Solaris gethrtime() nanosecond counter. 
35
36 %description -l pl.UTF-8
37 clockspeed wykorzystuje sprzętowy licznik taktów do kompensacji stale
38 zbyt szybkiego lub zbyt wolnego zegara systemowego. Po podaniu kilku
39 pomiarów czasu z wiarygodnego źródła oblicza i eliminuje niedokładność
40 zegara.
41
42 sntpclock sprawdza zegar NTP innego systemu i wypisuje wynik w
43 formacie pasującym do wejścia clockspeed. sntpclock to najprostszy
44 dostępny klient NTP/SNTP.
45
46 taiclock i taiclockd tworzą nawet jeszcze prostszą alternatywę dla
47 SNTP. Nadają się do synchronizacji czasu w sieci lokalnej, bez
48 potencjalnych problemów z bezpieczeństwem związanych z serwerem NTP.
49
50 Ta wersja programu clockspeed potrafi wykorzystywać licznik taktów
51 TSC procesora Pentium lub nanosekundowy licznik gethrtime() systemu
52 Solaris.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 echo '%{__cc} %{rpmcflags}' > conf-cc
60 echo '%{__cc} %{rpmldflags}' > conf-ld
61 echo "$RPM_BUILD_ROOT%{_prefix}" > conf-home
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 # bleh, doesn't honour home for /etc
69 ./install
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc BLURB CHANGES INSTALL README THANKS TODO
77 %attr(754,root,root) %{_sbindir}/*
This page took 0.061353 seconds and 3 git commands to generate.