SPECS: privoxy.spec - added privoxy.init and privoxy.logrotate, rel.2

freetz freetz at pld-linux.org
Sun Oct 23 11:47:03 CEST 2005


Author: freetz                       Date: Sun Oct 23 09:47:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added privoxy.init and privoxy.logrotate, rel.2

---- Files affected:
SPECS:
   privoxy.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/privoxy.spec
diff -u SPECS/privoxy.spec:1.15 SPECS/privoxy.spec:1.16
--- SPECS/privoxy.spec:1.15	Wed Aug 10 00:18:00 2005
+++ SPECS/privoxy.spec	Sun Oct 23 11:46:58 2005
@@ -7,10 +7,12 @@
 Summary(pl):	Privoxy - proxy rozszerzające prywatność
 Name:		privoxy
 Version:	3.0.3
-Release:	1
+Release:	2
 License:	GPL
 Source0:	http://dl.sourceforge.net/ijbswa/%{name}-%{version}-2-stable.src.tar.gz
 # Source0-md5:	d7f6c2fcb926e6110659de6e866b21e4
+Source1:	%{name}.init
+Source2:	%{name}.logrotate
 Group:		Networking/Daemons
 URL:		http://www.privoxy.org/
 BuildRequires:	autoconf
@@ -74,8 +76,9 @@
 	$RPM_BUILD_ROOT%{_mandir}/man1 \
 	$RPM_BUILD_ROOT/var/log/%{name} \
 	$RPM_BUILD_ROOT%{privoxyconf}/templates \
-	$RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d}
-
+	$RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d} \
+	$RPM_BUILD_ROOT/var/log/%{name}
+	
 install -m 744 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}
 
 # Using sed to "convert" from DOS format to UNIX
@@ -98,8 +101,9 @@
 
 cp -f %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
 cp -f %{name}.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
-install %{name}.init $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install -d $RPM_BUILD_ROOT/var/log/%{name}
+
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
 # verify all file locations, etc. in the config file
 # don't start with ^ or commented lines are not replaced
@@ -226,6 +230,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/10/23 09:46:58  freetz
+- added privoxy.init and privoxy.logrotate, rel.2
+
 Revision 1.15  2005/08/09 22:18:00  freetz
 - 3.0.3, %%service stuff, small cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/privoxy.spec?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list