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