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