128afa5
Summary: A utility for adjusting kernel time variables
cvsdist 833a607
Name: adjtimex
d12c32a
Version: 1.21
a1075ea
Release: 3%{?dist}
e1e40f4
ExclusiveOS: Linux
a1075ea
License: GPLv2+
cvsdist 833a607
Group: System Environment/Base
cvsdist 4f599bf
Source: http://ibiblio.org/pub/Linux/system/admin/time/adjtimex-%{version}.tar.gz
cvsdist a6efaee
Patch1: adjtimex-1.13-glibc.patch 
d12c32a
Patch2: adjtimex-1.21-optstring.patch 
128afa5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
cvsdist a6efaee
%patch1 -p1 -b .glibc
02ef4a7
%patch2 -p1 -b .optstring
cvsdist 833a607
cvsdist 833a607
%build
cvsdist 833a607
%configure
02ef4a7
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
a1075ea
* Tue Aug 21 2007 Miroslav Lichvar <mlichvar@redhat.com> 1.21-3
a1075ea
- update license tag
a1075ea
128afa5
* Mon Feb 05 2007 Miroslav Lichvar <mlichvar@redhat.com> 1.21-2
128afa5
- spec cleanup (#225239)
128afa5
d12c32a
* Mon Oct 16 2006 Miroslav Lichvar <mlichvar@redhat.com> 1.21-1
d12c32a
- update to 1.21
d12c32a
e403a7b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.20-2.1
e403a7b
- rebuild
e403a7b
02ef4a7
* Mon May 22 2006 Miroslav Lichvar <mlichvar@redhat.com> 1.20-2
02ef4a7
- fix segfault when parsing -s option
02ef4a7
2e1d30c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.20-1.2.1
2e1d30c
- bump again for double-long bug on ppc(64)
2e1d30c
5cd9f14
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.20-1.2
5cd9f14
- rebuilt for new gcc4.1 snapshot and glibc changes
5cd9f14
af9766f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
af9766f
- rebuilt
af9766f
27dacdc
* Wed Mar 16 2005 Jindrich Novy <jnovy@redhat.com> 1.20-1
27dacdc
- update to 1.20
27dacdc
- update .glibc patch
27dacdc
- drop .getopt, .fixman, .gcc3 patches
27dacdc
3070a0d
* Fri Mar  4 2005 Jindrich Novy <jnovy@redhat.com> 1.13-16
3070a0d
- rebuilt with gcc4
3070a0d
b36481f
* Thu Feb 10 2005 Jindrich Novy <jnovy@redhat.com> 1.13-15
b36481f
- remove -D_FORTIFY_SOURCE=2 from CFLAGS, present in RPM_OPT_FLAGS
b36481f
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