Author: sardzent                     Date: Fri Nov 30 19:20:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated init files 

---- Files affected:
SPECS:
   nginx.spec (1.62 -> 1.63) 

---- Diffs:

================================================================
Index: SPECS/nginx.spec
diff -u SPECS/nginx.spec:1.62 SPECS/nginx.spec:1.63
--- SPECS/nginx.spec:1.62       Fri Nov 30 20:05:15 2007
+++ SPECS/nginx.spec    Fri Nov 30 20:20:39 2007
@@ -25,7 +25,7 @@
 Summary(pl.UTF-8):     Serwer HTTP i odwrotne proxy o wysokiej wydajności
 Name:          nginx
 Version:       0.5.33
-Release:       0.6
+Release:       0.7
 License:       BSD-like
 Group:         Networking/Daemons
 Source0:       http://sysoev.ru/nginx/%{name}-%{version}.tar.gz
@@ -38,13 +38,17 @@
 Source4:       %{name}.mime
 Source5:       %{name}-light.conf
 Source6:       %{name}-light.monitrc
-Source7:       %{name}-mail.conf
-Source8:       %{name}-mail.monitrc
-Source9:       %{name}-perl.conf
-Source10:      %{name}-perl.monitrc
-Source11:      %{name}-standard.conf
-Source12:      %{name}-standard.monitrc
-Source13:      %{name}-mime.types.sh
+Source7:       %{name}-light.init
+Source8:       %{name}-mail.conf
+Source9:       %{name}-mail.monitrc
+Source10:      %{name}-mail.init
+Source11:      %{name}-perl.conf
+Source12:      %{name}-perl.monitrc
+Source13:      %{name}-perl.init
+Source14:      %{name}-standard.conf
+Source15:      %{name}-standard.monitrc
+Source15:      %{name}-standard.init
+Source16:      %{name}-mime.types.sh
 Patch0:                %{name}-config.patch
 URL:           http://nginx.net/
 BuildRequires: mailcap
@@ -398,27 +402,30 @@
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/proxy.conf
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/mime.types
-install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-standard.conf
-install %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}-standard.monitrc
+install %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-standard.conf
+install %{SOURCE15} $RPM_BUILD_ROOT/etc/monit/%{name}-standard.monitrc
+install %{SOURCE16} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-standard
 install objs/%{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}-standard
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-standard
 
 %if %{with light}
 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-light.conf
 install %{SOURCE6} $RPM_BUILD_ROOT/etc/monit/%{name}-light.monitrc
+install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-light
 install contrib/nginx-light $RPM_BUILD_ROOT%{_sbindir}/%{name}-light
 %endif
 
 %if %{with mail}
-install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-mail.conf
-install %{SOURCE8} $RPM_BUILD_ROOT/etc/monit/%{name}-mail.monitrc
+install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-mail.conf
+install %{SOURCE9} $RPM_BUILD_ROOT/etc/monit/%{name}-mail.monitrc
+install %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-mail
 install contrib/nginx-mail $RPM_BUILD_ROOT%{_sbindir}/%{name}-mail
 %endif
 
 %if %{with perl}
 install -d $RPM_BUILD_ROOT{%{perl_vendorarch},%{perl_vendorarch}/auto/%{name}}
-install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-perl.conf
-install %{SOURCE8} $RPM_BUILD_ROOT/etc/monit/%{name}-perl.monitrc
+install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}-perl.conf
+install %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}-perl.monitrc
+install %{SOURCE13} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-perl
 install contrib/nginx.pm $RPM_BUILD_ROOT%{perl_vendorarch}/%{name}.pm
 install contrib/nginx.so 
$RPM_BUILD_ROOT%{perl_vendorarch}/auto/%{name}/%{name}.so
 install contrib/nginx.bs 
$RPM_BUILD_ROOT%{perl_vendorarch}/auto/%{name}/%{name}.bs
@@ -541,6 +548,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/%{name}-standard
 %attr(770,root,%{name}) /var/cache/%{name}-standard
+%attr(754,root,root) /etc/rc.d/init.d/%{name}-standard
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{name}-standard.conf
 
 %if %{with mail}
@@ -548,6 +556,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/%{name}-mail
 %attr(770,root,%{name}) /var/cache/%{name}-mail
+%attr(754,root,root) /etc/rc.d/init.d/%{name}-mail
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{name}-mail.conf
 %endif
 
@@ -556,6 +565,7 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/%{name}-light
 %attr(770,root,%{name}) /var/cache/%{name}-light
+%attr(754,root,root) /etc/rc.d/init.d/%{name}-light
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{name}-light.conf
 %endif
 
@@ -563,6 +573,7 @@
 %files perl
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/%{name}-perl
+%attr(754,root,root) /etc/rc.d/init.d/%{name}-perl
 %attr(770,root,%{name}) /var/cache/%{name}-perl
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/%{name}-perl.conf
 %dir %{perl_vendorarch}/auto/%{name}
@@ -590,8 +601,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.62  2007-11-30 19:05:15  shadzik
-- main package Suggests nginx-standard
+Revision 1.63  2007-11-30 19:20:39  sardzent
+- separated init files
 
 Revision 1.61  2007-11-30 18:47:18  shadzik
 - add R and P for nginx-daemon
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nginx.spec?r1=1.62&r2=1.63&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to