SPECS: webalizer.spec - separated cron into -cron subpackage

glen glen at pld-linux.org
Mon Oct 16 21:30:41 CEST 2006


Author: glen                         Date: Mon Oct 16 19:30:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated cron into -cron subpackage

---- Files affected:
SPECS:
   webalizer.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: SPECS/webalizer.spec
diff -u SPECS/webalizer.spec:1.81 SPECS/webalizer.spec:1.82
--- SPECS/webalizer.spec:1.81	Sat Sep 30 13:36:06 2006
+++ SPECS/webalizer.spec	Mon Oct 16 21:30:36 2006
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - subpackage for cgi?
 #
 # Conditional build:
 %bcond_with	db3	# build with db3 instead of db 4.x
@@ -13,7 +15,7 @@
 Summary(uk):	đŇĎÇŇÁÍÁ ÁÎÁĚŚÚŐ log-ĆÁĘĚŐ web/ftp/proxy-ÓĹŇ×ĹŇÁ
 Name:		webalizer
 Version:	%{ver}_%{patchlvl}
-Release:	15.4
+Release:	16.5
 License:	GPL v2
 Group:		Networking/Utilities
 Source0:	ftp://ftp.mrunix.net/pub/webalizer/%{name}-%{ver}-%{patchlvl}-src.tar.bz2
@@ -86,6 +88,13 @@
 ËŇÁ§ÎŚ (ÂŇĎŐÚĹŇ ÔÁ ĐĎÓÉĚÁÎÎŃ ÄĎÓÔŐĐÎŚ ĚÉŰĹ ŃËÝĎ ÓĹŇ×ĹŇ ĐÉŰĹ ĚĎÇÉ ×
 ËĎÍÂŚÎĎ×ÁÎĎÍŐ ĆĎŇÍÁÔŚ).
 
+%package cron
+Summary:	Webalizer cron process
+Group:		Networking/Utilities
+
+%description cron
+Webalizer cron process.
+
 %prep
 %setup -q -n %{name}-%{ver}-%{patchlvl}
 %patch0 -p1
@@ -137,7 +146,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%triggerpostun -- webalizer < 2.01_10-14
+%triggerpostun cron -- webalizer < 2.01_10-14
 echo "Upgrading from webalizer < 2.01_10-14"
 chgrp stats %{_sysconfdir}/webalizer/*
 chmod g+r %{_sysconfdir}/webalizer/*
@@ -153,21 +162,27 @@
 %defattr(644,root,root,755)
 %doc CHANGES *README* country-codes.txt
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/webalizer.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/webalizer
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/webalizer
-%attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
 %attr(755,root,root) %{_bindir}/webalizer
 %attr(755,root,root) %{_bindir}/webazolver
-%attr(755,root,root) %{_sbindir}/webalizer.cron
 %{_mandir}/man1/*
 %{_webdir}/icons/*
 
+%files cron
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/webalizer
+%attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
+%attr(755,root,root) %{_sbindir}/webalizer.cron
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/webalizer
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2006/10/16 19:30:36  glen
+- separated cron into -cron subpackage
+
 Revision 1.81  2006/09/30 11:36:06  arekm
 - support for large files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/webalizer.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list