SPECS: php-xcache.spec - packaged lighttpd.conf, rel. 4, STBR
dzeus
dzeus at pld-linux.org
Thu Sep 20 15:34:14 CEST 2007
Author: dzeus Date: Thu Sep 20 13:34:14 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- packaged lighttpd.conf, rel. 4, STBR
---- Files affected:
SPECS:
php-xcache.spec (1.16 -> 1.17)
---- Diffs:
================================================================
Index: SPECS/php-xcache.spec
diff -u SPECS/php-xcache.spec:1.16 SPECS/php-xcache.spec:1.17
--- SPECS/php-xcache.spec:1.16 Mon Sep 17 11:59:54 2007
+++ SPECS/php-xcache.spec Thu Sep 20 15:34:09 2007
@@ -4,14 +4,14 @@
Summary(pl.UTF-8): %{_modname} - buforowanie opcodów PHP
Name: php-%{_modname}
Version: 1.2.1
-Release: 3
+Release: 4
License: BSD
Group: Development/Languages/PHP
URL: http://xcache.lighttpd.net/
Source0: http://xcache.lighttpd.net/pub/Releases/1.2.1/xcache-%{version}.tar.bz2
# Source0-md5: 42133468871c573c397b8375dc8c19b6
-Source1: xcache-apache.conf
-Source2: xcache-lighttpd.conf
+Source1: %{_modname}-apache.conf
+Source2: %{_modname}-lighttpd.conf
BuildRequires: php-devel >= 3:5.1
BuildRequires: rpmbuild(macros) >= 1.344
BuildRequires: sed >= 4.0
@@ -20,7 +20,7 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _webapps /etc/webapps
-%define _webapp xcache
+%define _webapp %{_modname}
%define _sysconfdir %{_webapps}/%{_webapp}
%define _appdir %{_datadir}/%{_webapp}
@@ -33,7 +33,7 @@
działające na produkcyjnych serwerach o dużym obciążeniu.
%prep
-%setup -q -n xcache-%{version}
+%setup -q -n %{_modname}-%{version}
%{__sed} -i -e '
s,zend_extension =.*,zend_extension = %{php_extensiondir}/xcache.so,
s,zend_extension_ts = .*,zend_extension_ts = %{php_extensiondir}/xcache.so,
@@ -55,7 +55,7 @@
INSTALL_ROOT=$RPM_BUILD_ROOT
# The cache directory where pre-compiled files will reside
-install -d $RPM_BUILD_ROOT/var/cache/php-xcache
+install -d $RPM_BUILD_ROOT/var/cache/php-%{_modname}
install -d $RPM_BUILD_ROOT%{_appdir}
# Drop in the bit of configuration
@@ -98,8 +98,10 @@
%files
%defattr(644,root,root,755)
%doc AUTHORS README THANKS
+%dir %attr(750,root,http) %{_sysconfdir}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
%{_appdir}
@@ -111,6 +113,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2007/09/20 13:34:09 dzeus
+- packaged lighttpd.conf, rel. 4, STBR
+
Revision 1.16 2007/09/17 09:59:54 glen
- add lighttpd integration; rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php-xcache.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list