]> git.pld-linux.org Git - packages/privoxy.git/commitdiff
- added privoxy.init and privoxy.logrotate, rel.2
authorfreetz <freetz@pld-linux.org>
Sun, 23 Oct 2005 09:46:58 +0000 (09:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    privoxy.spec -> 1.16

privoxy.spec

index 389f4fa8acbcf9804d06aac44d48a75859ef1f4c..f5c4179229ee9f28a0950280b1c12158e0242142 100644 (file)
@@ -6,10 +6,12 @@ Summary:      Privoxy - privacy enhancing proxy
 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
@@ -73,8 +75,9 @@ install -d $RPM_BUILD_ROOT%{_sbindir} \
        $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
@@ -97,8 +100,9 @@ done
 
 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
This page took 0.042698 seconds and 4 git commands to generate.