]> git.pld-linux.org Git - packages/adjtimex.git/blob - adjtimex.spec
almost raw
[packages/adjtimex.git] / adjtimex.spec
1 Summary: A utility for adjusting kernel time variables.
2 Name: adjtimex
3 Version: 1.3
4 Release: 6
5 Exclusiveos: Linux
6 Copyright: distributable
7 Group: System Environment/Base
8 Source: ftp://sunsite.unc.edu/pub/Linux/system/admin/time/adjtimex-1.3.tar.gz
9 Patch: adjtimex-1.3-glibc.patch
10 Buildroot: /var/tmp/%{name}-root
11
12 %description
13 Adjtimex is a kernel clock management program, which the
14 superuser may use to correct any drift in the system's clock.  Users can
15 use adjtimex to view the time variables.
16
17 %prep
18 %setup -q
19 %patch -p1 -b .glibc
20
21 %build
22 CFLAGS="$RPM_OPT_FLAGS" ./configure 
23 make
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 mkdir -p $RPM_BUILD_ROOT/sbin
28 mkdir -p $RPM_BUILD_ROOT/usr/man/man8
29 install -s -m755 adjtimex $RPM_BUILD_ROOT/sbin/adjtimex
30 install -m644 adjtimex.man $RPM_BUILD_ROOT/usr/man/man8/adjtimex.8
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(-,root,root)
37 %doc README
38 /sbin/adjtimex
39 /usr/man/man8/adjtimex.8
This page took 0.183517 seconds and 4 git commands to generate.