]> git.pld-linux.org Git - packages/adjtimex.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:25 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adjtimex.spec -> 1.1

adjtimex.spec [new file with mode: 0644]

diff --git a/adjtimex.spec b/adjtimex.spec
new file mode 100644 (file)
index 0000000..e55de6c
--- /dev/null
@@ -0,0 +1,39 @@
+Summary: A utility for adjusting kernel time variables.
+Name: adjtimex
+Version: 1.3
+Release: 6
+Exclusiveos: Linux
+Copyright: distributable
+Group: System Environment/Base
+Source: ftp://sunsite.unc.edu/pub/Linux/system/admin/time/adjtimex-1.3.tar.gz
+Patch: adjtimex-1.3-glibc.patch
+Buildroot: /var/tmp/%{name}-root
+
+%description
+Adjtimex is a kernel clock management program, which the
+superuser may use to correct any drift in the system's clock.  Users can
+use adjtimex to view the time variables.
+
+%prep
+%setup -q
+%patch -p1 -b .glibc
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" ./configure 
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/sbin
+mkdir -p $RPM_BUILD_ROOT/usr/man/man8
+install -s -m755 adjtimex $RPM_BUILD_ROOT/sbin/adjtimex
+install -m644 adjtimex.man $RPM_BUILD_ROOT/usr/man/man8/adjtimex.8
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%doc README
+/sbin/adjtimex
+/usr/man/man8/adjtimex.8
This page took 0.478172 seconds and 4 git commands to generate.