SPECS: mysqlstat.spec - add lighttpd config support
glen
glen at pld-linux.org
Tue Nov 28 16:05:12 CET 2006
Author: glen Date: Tue Nov 28 15:05:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add lighttpd config support
---- Files affected:
SPECS:
mysqlstat.spec (1.47 -> 1.48)
---- Diffs:
================================================================
Index: SPECS/mysqlstat.spec
diff -u SPECS/mysqlstat.spec:1.47 SPECS/mysqlstat.spec:1.48
--- SPECS/mysqlstat.spec:1.47 Sun Oct 1 19:47:47 2006
+++ SPECS/mysqlstat.spec Tue Nov 28 16:05:07 2006
@@ -4,7 +4,7 @@
Summary(pl): MYSQLSTAT - narzędzia do monitorowania, zapisywania i wyświetlania statystyk MySQL
Name: mysqlstat
Version: 0.0.0.4
-Release: 10
+Release: 10.6
Epoch: 0
License: GPL
Group: Applications/Databases
@@ -12,7 +12,8 @@
# Source0-md5: 234035de66c91675362487e55446ed5b
Source1: %{name}.cron
Source2: %{name}-apache.conf
-Source3: %{name}.conf
+Source3: %{name}-lighttpd.conf
+Source4: %{name}.conf
Patch0: %{name}-paths.patch
Patch1: %{name}-logo.patch
Patch2: %{name}-owner.patch
@@ -83,15 +84,15 @@
Summary(pl): MYSQLSTAT - skrypt CGI
Group: Applications/WWW
Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: apache(mod_access)
-Requires: apache(mod_alias)
-Requires: apache(mod_auth)
-Requires: apache(mod_cgi)
Requires: perl-CGI >= 2.752
Requires: perl-Digest-MD5 >= 1.19
Requires: perl-HTML-Template >= 2.5
Requires: webapps
-Requires: webserver = apache
+Requires: webserver
+Requires: webserver(access)
+Requires: webserver(alias)
+Requires: webserver(auth)
+Requires: webserver(cgi)
%description cgi
This package contains the cgi-script for MYSQLSTAT.
@@ -126,7 +127,8 @@
install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.d/%{name}
install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
install %{SOURCE2} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
-install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+install %{SOURCE3} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/lighttpd.conf
+install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -156,6 +158,12 @@
%triggerun cgi -- apache < 2.2.0, apache-base
%webapp_unregister httpd %{_webapp}
+%triggerin cgi -- lighttpd
+%webapp_register lighttpd %{_webapp}
+
+%triggerun cgi -- lighttpd
+%webapp_unregister lighttpd %{_webapp}
+
%files
%defattr(644,root,root,755)
%doc %lang(ru) FAQ.RUS README.RUS TODO.RUS
@@ -173,6 +181,7 @@
%dir %attr(750,root,http) %{_webapps}/%{_webapp}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/lighttpd.conf
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%attr(755,root,root) %{_prefix}/lib/%{name}/mysqlstat.cgi
@@ -184,6 +193,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.48 2006/11/28 15:05:07 glen
+- add lighttpd config support
+
Revision 1.47 2006/10/01 17:47:47 glen
- rel 10
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mysqlstat.spec?r1=1.47&r2=1.48&f=u
More information about the pld-cvs-commit
mailing list