]> git.pld-linux.org Git - packages/clockspeed.git/commitdiff
- initial
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 8 Nov 2007 16:10:48 +0000 (16:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    clockspeed.spec -> 1.1

clockspeed.spec [new file with mode: 0644]

diff --git a/clockspeed.spec b/clockspeed.spec
new file mode 100644 (file)
index 0000000..941a750
--- /dev/null
@@ -0,0 +1,55 @@
+# TODO:
+# - makefile for human, not for DJB
+# - check the license
+Summary:       clockspeed - compensate for a system clock
+Name:          clockspeed
+Version:       0.62
+Release:       0.1
+License:       unknown?
+Group:         Daemons
+Source0:       http://cr.yp.to/clockspeed/%{name}-%{version}.tar.gz
+# Source0-md5: 425614174fcfe2ad42d22d3d02e2d567
+URL:           http://cr.yp.to/clockspeed.html
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+clockspeed uses a hardware tick counter to compensate for a persistently
+fast or slow system clock. Given a few time measurements from a reliable
+source, it computes and then eliminates the clock skew.
+
+sntpclock checks another system's NTP clock, and prints the results in a
+format suitable for input to clockspeed. sntpclock is the simplest available
+NTP/SNTP client.
+
+taiclock and taiclockd form an even simpler alternative to SNTP. They are
+suitable for precise time synchronization over a local area network, without
+the hassles and potential security problems of an NTP server.
+
+This version of clockspeed can use the Pentium RDTSC tick counter or the
+Solaris gethrtime() nanosecond counter. 
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       LD="%{__cc}" \
+       LDFLAGS="%{rpmldflags}" \
+
+#      RPM_OPT_FLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc BLURB CHANGES INSTALL README THANKS TODO
+%attr(754,root,root) %{_sbindir}/*
This page took 0.182489 seconds and 4 git commands to generate.