]> git.pld-linux.org Git - packages/adjtimex.git/blob - adjtimex.spec
- merged rawhide patches.
[packages/adjtimex.git] / adjtimex.spec
1 Summary:        A utility for adjusting kernel time variables
2 Summary(pl):    Narzêdzie do regulacji zmiennych czasu kernela
3 Name:           adjtimex
4 Version:        1.12
5 Release:        2
6 License:        Distributable
7 Group:          Base
8 Group(de):      Gründsätzlich
9 Group(es):      Base
10 Group(pl):      Podstawowe
11 Group(pt_BR):   Base
12 Source0:        ftp://sunsite.unc.edu/pub/Linux/system/admin/time/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-getopt.patch
14 Patch1:         %{name}-ia64.patch
15 Patch2:         %{name}-fixman.patch
16 BuildRequires:  autoconf
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _sbindir                /sbin
20
21 %description
22 Adjtimex is a kernel clock management program, which the superuser may
23 use to correct any drift in the system's clock. Users can use adjtimex
24 to view the time variables.
25
26 %description -l fr
27 Adjtimex est un programme de gestion de l'horloge du kernel, que le
28 superutilisateur peut utiliser pour corriger l'horloge système. Les
29 utilisateurs peuvent utiliser adjtimex pour afficher les variables
30 temporelles.
31
32 %description -l pl
33 Program zarz±dzaj±cy zegarem j±dra. Root mo¿e u¿yæ go do korekcji
34 zegara systemowego, natomiast u¿ytkownik mo¿e skorzystaæ tylko z
35 podgl±du zmiennych czasu.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42
43 %build
44 autoconf
45 %configure 
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
51
52 install adjtimex $RPM_BUILD_ROOT%{_sbindir}
53 install adjtimex.8 $RPM_BUILD_ROOT%{_mandir}/man8
54
55 gzip -9nf README
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.gz
63 %attr(755,root,root) %{_sbindir}/*
64 %{_mandir}/man8/*
This page took 0.069511 seconds and 3 git commands to generate.