Blob Blame History Raw
Summary: A utility for adjusting kernel time variables.
Name: adjtimex
Version: 1.11
Release: 3
Exclusiveos: Linux
Copyright: distributable
Group: System Environment/Base
Source: http://metalab.unc.edu/pub/Linux/system/admin/time/adjtimex-%{version}.tar.gz
Patch0: adjtimex-1.9-getopt.patch
Patch1: adjtimex-ia64.patch
BuildRoot: %{_tmppath}/%{name}-root

%description
Adjtimex provides raw access to kernel time variables. On standalone
or intermittently connected machines, root can use adjtimex to correct
for systematic drift. If your machine is connected to the Internet or
is equipped with a precision oscillator or radio clock, you should
instead manage the system clock with the xntpd program. Users can use
adjtimex to view kernel time variables.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure 

%configure
make

%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/sbin
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
install -s -m755 adjtimex ${RPM_BUILD_ROOT}/sbin/adjtimex
install -m644 adjtimex.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/adjtimex.8

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%doc README
/sbin/adjtimex
%{_mandir}/man8/adjtimex.8*

%changelog
* Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
- fix ia64 build

* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
- FHS packaging.

* Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
- fix bug #9674

* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
- fix description
- man pages are compressed

* Fri Jan  7 2000 Jeff Johnson <jbj@redhat.com>
- update to 1.9.

* Wed Jan  5 2000 Jeff Johnson <jbj@redhat.com>
- burn y2k wartlet (#8172)

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 6)

* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
- builds on all architectures