Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php4
:
extensions
>
php4-xcache
> php5-xcache.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-xcache.spec of Package php4-xcache (Revision 1)
Currently displaying revision
1
,
show latest
# norootforbuild %define pkg_name xcache %define php_version %(php-config --version 2>/dev/null) # Name: php5-xcache Version: 1.3.0 Release: 0 License: BSD Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: php5-devel >= 5.1 indent Requires: php5 = %{php_version} Provides : php5_code_cache Conflicts : php5-APC php5-eaccelerator %if 0%{?suse_version} > 1000 Enhances : php5 %endif # URL: http://trac.lighttpd.net/xcache/ Source: http://210.51.190.228/pub/XCache/Releases/%{pkg_name}-%{version}.tar.bz2 Patch0: xcache-broken.ini.patch # Summary: A fast, stable php opcode cacher %description XCache is a fast, stable php opcode cacher that has been tested and now running on production server under high load. It support and is tested on all lastest php cvs branches, such as PHP_4_3 PHP_4_4 PHP_5_1 PHP_5_2 HEAD(6.x) Authors: --------- moo <phpxcache@gmail.com> %prep %setup -q -n %{pkg_name}-%{version} %patch0 %{__mkdir} %{name} %build /usr/bin/phpize pushd %{name} CFLAGS="%{optflags} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" %endif export CFLAGS ../configure \ --enable-xcache \ --enable-xcache-coverager %{__make} %{?jobs:-j%jobs} popd %install %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} %{__install} -D -m 0644 xcache.ini %{buildroot}%{_sysconfdir}/php5/conf.d/xcache.ini %{__install} -Dd -m 0755 %{buildroot}%{_datadir}/php5/xcache/ touch {admin,coverager}/config.php %{__cp} -rv admin/ coverager/ %{buildroot}%{_datadir}/php5/xcache/ %clean %{__rm} -rf %{buildroot} %files %defattr(644,root,root,755) %{_libdir}/php5/extensions/xcache.so %config(noreplace) %{_sysconfdir}/php5/conf.d/xcache.ini %dir %{_datadir}/php5/xcache/ %dir %{_datadir}/php5/xcache/admin/ %ghost %config(noreplace) %{_datadir}/php5/xcache/admin/config.php %{_datadir}/php5/xcache/admin/config.php.example %{_datadir}/php5/xcache/admin/index.php %{_datadir}/php5/xcache/admin/help.php %{_datadir}/php5/xcache/admin/tablesort.js %{_datadir}/php5/xcache/admin/xcache.css %{_datadir}/php5/xcache/admin/xcache.php %{_datadir}/php5/xcache/admin/xcache.tpl.php %{_datadir}/php5/xcache/admin/common-en.lang.php %{_datadir}/php5/xcache/admin/common-zh-simplified-utf-8.lang.php %{_datadir}/php5/xcache/admin/common.php %{_datadir}/php5/xcache/admin/help-en.lang.php %{_datadir}/php5/xcache/admin/help-zh-simplified-utf-8.lang.php %{_datadir}/php5/xcache/admin/common-zh-traditional-utf-8.lang.php %{_datadir}/php5/xcache/admin/help-zh-traditional-utf-8.lang.php %{_datadir}/php5/xcache/admin/edit.php %{_datadir}/php5/xcache/admin/edit.tpl.php %{_datadir}/php5/xcache/admin/footer.tpl.php %{_datadir}/php5/xcache/admin/header.tpl.php %dir %{_datadir}/php5/xcache/coverager/ %ghost %config(noreplace) %{_datadir}/php5/xcache/coverager/config.php %{_datadir}/php5/xcache/coverager/config.php.example %{_datadir}/php5/xcache/coverager/coverager.css %{_datadir}/php5/xcache/coverager/coverager.php %{_datadir}/php5/xcache/coverager/coverager.tpl.php %{_datadir}/php5/xcache/coverager/index.php %{_datadir}/php5/xcache/coverager/common-en.lang.php %{_datadir}/php5/xcache/coverager/common-zh-simplified-utf-8.lang.php %{_datadir}/php5/xcache/coverager/common.php %{_datadir}/php5/xcache/coverager/common-zh-simplified-gb2312.lang.php %doc AUTHORS COPYING THANKS %changelog * Sat Aug 08 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.0 - update to release 1.3.0 * Mon Dec 11 2006 - judas_iscariote@shorewall.net - Update to 1.2.0 final. * Wed Oct 11 2006 - soporte@onfocus.cl - Update package name to 1.2dev, currenly running OK in php 5.2 * Mon Sep 18 2006 - soporte@onfocus.cl - update snapshot and add missing files * Thu Aug 08 2006 - soporte@onfocus.cl - License is BSD not GPL - update to current svn and include the revision name in the package name * Thu Jul 27 2006 - soporte@onfocus.cl - updated to current SVN to make it work under PHP 5.2 * Thu Jul 11 2006 - soporte@onfocus.cl - Enable var_cache and safer read only protection * Sun Jul 2 2006 - soporte@onfocus.cl - xcache-broken-ini.patch updated again.. * Fri Jun 9 2006 - soporte@onfocus.cl - xcache-broken.ini.patch make things really work...