cvsdist 833a607
Summary: A utility for adjusting kernel time variables.
cvsdist 833a607
Name: adjtimex
cvsdist 4f599bf
Version: 1.13
e1e40f4
Release: 14
e1e40f4
ExclusiveOS: Linux
cvsdist 92a1c0c
License: distributable
cvsdist 833a607
Group: System Environment/Base
cvsdist 4f599bf
Source: http://ibiblio.org/pub/Linux/system/admin/time/adjtimex-%{version}.tar.gz
cvsdist 833a607
Patch0: adjtimex-1.9-getopt.patch
cvsdist a6efaee
Patch1: adjtimex-1.13-glibc.patch 
cvsdist 66b422e
Patch2: adjtimex-1.11-fixman.patch
cvsdist dd2a39d
Patch3: adjtimex-1.13-gcc33.patch
cvsdist 833a607
BuildRoot: %{_tmppath}/%{name}-root
cvsdist 833a607
cvsdist 833a607
%description
cvsdist 833a607
Adjtimex provides raw access to kernel time variables. On standalone
cvsdist 833a607
or intermittently connected machines, root can use adjtimex to correct
cvsdist 833a607
for systematic drift. If your machine is connected to the Internet or
cvsdist 833a607
is equipped with a precision oscillator or radio clock, you should
cvsdist 833a607
instead manage the system clock with the xntpd program. Users can use
cvsdist 833a607
adjtimex to view kernel time variables.
cvsdist 833a607
cvsdist 833a607
%prep
cvsdist 833a607
%setup -q
e1e40f4
%patch0 -p1 -b .getopt
cvsdist a6efaee
%patch1 -p1 -b .glibc
cvsdist 66b422e
%patch2 -p1 -b .fixman
cvsdist dd2a39d
%patch3 -p1 -b .gcc33
cvsdist 833a607
cvsdist 833a607
%build
e1e40f4
export CFLAGS="-D_FORTIFY_SOURCE=2 $RPM_OPTFLAGS"
cvsdist 833a607
%configure
cvsdist 833a607
make
cvsdist 833a607
cvsdist 833a607
%install
cvsdist 833a607
rm -rf ${RPM_BUILD_ROOT}
cvsdist 833a607
mkdir -p ${RPM_BUILD_ROOT}/sbin
cvsdist 833a607
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
cvsdist 4f599bf
install -m755 adjtimex ${RPM_BUILD_ROOT}/sbin/adjtimex
cvsdist 833a607
install -m644 adjtimex.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/adjtimex.8
cvsdist 833a607
cvsdist 833a607
%clean
cvsdist 833a607
rm -rf ${RPM_BUILD_ROOT}
cvsdist 833a607
cvsdist 833a607
%files
cvsdist 833a607
%defattr(-,root,root)
cvsdist a6efaee
%doc README COPYING COPYRIGHT
cvsdist 833a607
/sbin/adjtimex
cvsdist 833a607
%{_mandir}/man8/adjtimex.8*
cvsdist 833a607
cvsdist 833a607
%changelog
e1e40f4
* Wed Feb  9 2005 Jindrich Novy <jnovy@redhat.com> 1.13-14
e1e40f4
- add -D_FORTIFY_SOURCE=2 to CFLAGS
e1e40f4
- spec cleanup
e1e40f4
cvsdist f6b3e5c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f6b3e5c
- rebuilt
cvsdist f6b3e5c
cvsdist a6efaee
* Thu Feb 19 2004 Than Ngo <than@redhat.com> 1.13-12 
cvsdist a6efaee
- add fix for new glibc
cvsdist a6efaee
- add COPYRIGHT file
cvsdist a6efaee
cvsdist a6efaee
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist a6efaee
- rebuilt
cvsdist a6efaee
cvsdist dd2a39d
* Mon Jun 16 2003 Than Ngo <than@redhat.com> 1.13-10
cvsdist dd2a39d
- rebuild
cvsdist dd2a39d
cvsdist dd2a39d
* Fri Jun 06 2003 Than Ngo <than@redhat.com> 1.13-9
cvsdist dd2a39d
- fix s390/s390x build
cvsdist dd2a39d
cvsdist dd2a39d
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist dd2a39d
- rebuilt
cvsdist dd2a39d
cvsdist dd2a39d
* Thu May 22 2003 Than Ngo <than@redhat.com> 1.13-7
cvsdist dd2a39d
- fix build woth gcc 3.3
cvsdist dd2a39d
cvsdist a8d4755
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist a8d4755
- rebuilt
cvsdist a8d4755
cvsdist a8d4755
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.13-5
cvsdist a8d4755
- rebuild on all arches
cvsdist a8d4755
cvsdist 0deffb4
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 0deffb4
- automated rebuild
cvsdist 0deffb4
cvsdist 4f599bf
* Tue Jun 18 2002 Than Ngo <than@redhat.com> 1.13-3
cvsdist 4f599bf
- don't forcibly strip binaries
cvsdist 4f599bf
cvsdist 4f599bf
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist 4f599bf
- automated rebuild
cvsdist 4f599bf
cvsdist 4f599bf
* Wed May 22 2002 Harald Hoyer <harald@redhat.de>
cvsdist 4f599bf
- 1.13
cvsdist 4f599bf
cvsdist 92a1c0c
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 1.12-2
cvsdist 92a1c0c
- rebuild in new enviroment
cvsdist 92a1c0c
cvsdist 92a1c0c
* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.12-1
cvsdist 92a1c0c
- 1.12
cvsdist 92a1c0c
cvsdist 92a1c0c
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 92a1c0c
- automated rebuild
cvsdist 92a1c0c
cvsdist 89b8e17
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 89b8e17
- Bump release + rebuild.
cvsdist 89b8e17
cvsdist 66b422e
* Mon Jan 29 2001 Preston Brown <pbrown@redhat.com>
cvsdist 66b422e
- fix man page for '-t' usage on alpha (#9674)
cvsdist 66b422e
cvsdist 302a47b
* Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
cvsdist 302a47b
- fix ia64 build
cvsdist 302a47b
cvsdist 833a607
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 833a607
- automatic rebuild
cvsdist 833a607
cvsdist 833a607
* Wed Jun 14 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 833a607
- FHS packaging.
cvsdist 833a607
cvsdist 833a607
* Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 833a607
- fix bug #9674
cvsdist 833a607
cvsdist 833a607
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 833a607
- fix description
cvsdist 833a607
- man pages are compressed
cvsdist 833a607
cvsdist 833a607
* Fri Jan  7 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 833a607
- update to 1.9.
cvsdist 833a607
cvsdist 833a607
* Wed Jan  5 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 833a607
- burn y2k wartlet (#8172)
cvsdist 833a607
cvsdist 833a607
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 833a607
- auto rebuild in the new build environment (release 6)
cvsdist 833a607
cvsdist 833a607
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 833a607
- translations modified for de, fr, tr
cvsdist 833a607
cvsdist 833a607
* Thu Oct 09 1997 Erik Troan <ewt@redhat.com>
cvsdist 833a607
- builds on all architectures