File adjtimex.spec of Package adjtimex (Revision 313c3282cf497666e339276601670137)
Currently displaying revision 313c3282cf497666e339276601670137 , Show latest
84
1
#
2
# spec file for package adjtimex
3
#
4
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name: adjtimex
20
Version: 1.29
21
Release: 1.26
22
Summary: Kernel time variables configuration utility
23
License: GPL-2.0+
24
Group: System/Base
25
Source: http://ftp.debian.org/debian/pool/main/a/adjtimex/%{name}_%{version}.orig.tar.gz
26
BuildRoot: %{_tmppath}/%{name}-%{version}-build
27
Provides: util-linux:/usr/sbin/adjtimex
28
29
%description
30
This program gives you raw access to the kernel time variables. For
31
a machine connected to the Internet, or equipped with a precision
32
oscillator or radio clock, the best way to keep the system clock
33
correct is with ntpd. However, for a standalone or intermittently
34
connected machine, you may use adjtimex instead to at least correct
35
for systematic drift. adjtimex can optionally adjust the system clock
36
using the CMOS clock as a reference, and can log times for long-term
37
estimation of drift rates.
38
39
%prep
40
%setup -q
41
42
%build
43
%configure
44
make %{?_smp_mflags}
45
46
%install
47
install -d %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
48
install adjtimex %{buildroot}%{_sbindir}/
49
install -m0644 adjtimex.8 %{buildroot}%{_mandir}/man8/
50
51
%files
52
%defattr(-,root,root)
53
%doc COPYING COPYRIGHT
54
%{_sbindir}/adjtimex
55
%{_mandir}/man8/adjtimex.8*
56
57
%changelog
58
* Wed May 28 2014 sbrabec@suse.cz
59
- Simplify spec file.
60
- Remove UsrMerge compatibility symlink.
61
* Wed May 14 2014 ro@suse.de
62
- add COPYING and COPYRIGHT as doc files
63
* Mon Jan 21 2013 jengelh@inai.de
64
- Split "adjtimex" off util-linux
65
* Tue Mar 6 2012 rschweikert@suse.com
66
- keep binaries in /usr tree (UsrMerge project)
67
* Tue Feb 21 2012 puzel@suse.com
68
- update to adjtimex-1.29
69
* Fri Jul 9 2010 puzel@novell.com
70
- update to adjtimex-1.28
71
- drop adjtimex-1.20-nosyscall.diff (fixed upstream)
72
* Thu Apr 16 2009 werner@suse.de
73
- Move /usr/sbin/adjtimex to /sbin/adjtimex to be able to check the
74
kernel time variables even without /usr mounted
75
* Mon Jan 10 2005 mmj@suse.de
76
- Update adjtimex to 1.20
77
* Mon Apr 14 2003 pthomas@suse.de
78
- Get rid of the syscall for adjtimex in selective cases and
79
just call the glibc wrapper. Fixes build on s390.
80
* Tue Nov 19 2002 mmj@suse.de
81
- Fix multistring assignment in adjtimex
82
* Tue Dec 18 2001 bjacke@suse.de
83
- add adjtimex
84