SPECS: clockspeed.spec (NEW) - initial
blues
blues at pld-linux.org
Thu Nov 8 17:10:53 CET 2007
Author: blues Date: Thu Nov 8 16:10:53 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
clockspeed.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/clockspeed.spec
diff -u /dev/null SPECS/clockspeed.spec:1.1
--- /dev/null Thu Nov 8 17:10:53 2007
+++ SPECS/clockspeed.spec Thu Nov 8 17:10:48 2007
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+# 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}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007-11-08 16:10:48 blues
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list