SPECS: ntp.spec - add perl autodeps, ntptrace subpackaged - adjust...

glen glen at pld-linux.org
Thu Aug 31 23:49:11 CEST 2006


Author: glen                         Date: Thu Aug 31 21:49:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add perl autodeps, ntptrace subpackaged
- adjusted Groups
- rel 16

---- Files affected:
SPECS:
   ntp.spec (1.74 -> 1.75) 

---- Diffs:

================================================================
Index: SPECS/ntp.spec
diff -u SPECS/ntp.spec:1.74 SPECS/ntp.spec:1.75
--- SPECS/ntp.spec:1.74	Wed Aug  9 08:58:10 2006
+++ SPECS/ntp.spec	Thu Aug 31 23:49:06 2006
@@ -1,10 +1,11 @@
 # $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
 Summary:	Network Time Protocol utilities
 Summary(pl):	Narzędzia do synchronizacji czasu (Network Time Protocol)
 Summary(pt_BR):	Network Time Protocol versăo 4
 Name:		ntp
 Version:	4.2.0
-Release:	15
+Release:	16
 License:	distributable
 Group:		Daemons
 Source0:	ftp://ftp.udel.edu/pub/ntp/ntp4/%{name}-%{version}.tar.gz
@@ -28,6 +29,7 @@
 BuildRequires:	libtool
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	readline-devel >= 4.2
+BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts >= 0.4.0.10
@@ -67,11 +69,21 @@
 
 Este pacote obsoleta o antigo xntp3.
 
+%package ntptrace
+Summary:	Trace a chain of NTP servers back to the primary source
+Group:		Applications/Networking
+Conflicts:	ntp < 4.2.0-15.1
+
+%description ntptrace
+ntptrace determines where a given Network Time Protocol (NTP) server
+gets its time from, and follows the chain of NTP servers back to their
+master time source.
+
 %package doc-html
 Summary:	HTML documentation for ntp
 Summary(pl):	Dokumentacja HTML dla ntp
 Summary(pt_BR):	Documentaçăo adicional para o pacote ntp
-Group:		Daemons
+Group:		Documentation
 
 %description doc-html
 HTML documentation for ntp.
@@ -85,7 +97,7 @@
 %package client
 Summary:	Network Time Protocol client
 Summary(pl):	Klient do synchronizacji czasu po NTP (Network Time Protocol)
-Group:		Applications
+Group:		Applications/Networking
 Conflicts:	ntp < 4.2.0-3
 
 %description client
@@ -127,9 +139,9 @@
 install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man8
 install %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/man8
 
-cat > $RPM_BUILD_ROOT/etc/cron.hourly/ntp <<EOF
+cat > $RPM_BUILD_ROOT/etc/cron.hourly/ntp <<'EOF'
 #!/bin/sh
-/etc/rc.d/init.d/ntp cronsettime
+/sbin/service ntp cronsettime
 EOF
 
 %clean
@@ -167,6 +179,11 @@
 %{_mandir}/man8/*
 %exclude %{_mandir}/man8/ntpdate*
 %exclude %{_sbindir}/ntpdate
+%exclude %{_sbindir}/ntptrace
+
+%files ntptrace
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/ntptrace
 
 %files doc-html
 %defattr(644,root,root,755)
@@ -187,6 +204,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.75  2006/08/31 21:49:06  glen
+- add perl autodeps, ntptrace subpackaged
+- adjusted Groups
+- rel 16
+
 Revision 1.74  2006/08/09 06:58:10  arekm
 - rel 15
 
@@ -453,12 +475,3 @@
 
 Revision 1.9  1999/07/12 23:06:28  kloczek
 - added using CVS keywords in %changelog (for automating them).
-
-* Sun Sep 27 1998 Marcin Korzonek <mkorz at shadow.eu.org>
-  [5.93-5]
-- defined files permission
-- translations modified for pl
-- build against glibc 2.1
-- moved ntp.conf to /etc/ntp.conf
-- added usage of chkconfig
-- removed syncing time at daemon start
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ntp.spec?r1=1.74&r2=1.75&f=u



More information about the pld-cvs-commit mailing list