]> git.pld-linux.org Git - packages/clockspeed.git/blob - clockspeed.spec
- pl
[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 URL:            http://cr.yp.to/clockspeed.html
14 BuildRequires:  rpmbuild(macros) >= 1.268
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 clockspeed uses a hardware tick counter to compensate for a
19 persistently fast or slow system clock. Given a few time measurements
20 from a reliable source, it computes and then eliminates the clock
21 skew.
22
23 sntpclock checks another system's NTP clock, and prints the results in
24 a format suitable for input to clockspeed. sntpclock is the simplest
25 available NTP/SNTP client.
26
27 taiclock and taiclockd form an even simpler alternative to SNTP. They
28 are suitable for precise time synchronization over a local area
29 network, without the hassles and potential security problems of an NTP
30 server.
31
32 This version of clockspeed can use the Pentium TSC tick counter or the
33 Solaris gethrtime() nanosecond counter. 
34
35 %description -l pl.UTF-8
36 clockspeed wykorzystuje sprzętowy licznik taktów do kompensacji stale
37 zbyt szybkiego lub zbyt wolnego zegara systemowego. Po podaniu kilku
38 pomiarów czasu z wiarygodnego źródła oblicza i eliminuje niedokładność
39 zegara.
40
41 sntpclock sprawdza zegar NTP innego systemu i wypisuje wynik w
42 formacie pasującym do wejścia clockspeed. sntpclock to najprostszy
43 dostępny klient NTP/SNTP.
44
45 taiclock i taiclockd tworzą nawet jeszcze prostszą alternatywę dla
46 SNTP. Nadają się do synchronizacji czasu w sieci lokalnej, bez
47 potencjalnych problemów z bezpieczeństwem związanych z serwerem NTP.
48
49 Ta wersja programu clockspeed potrafi wykorzystywać licznik taktów
50 TSC procesora Pentium lub nanosekundowy licznik gethrtime() systemu
51 Solaris.
52
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
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -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.030558 seconds and 3 git commands to generate.