Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.3.29
:
extensions
>
php5-eaccelerator
> php5-eaccelerator.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-eaccelerator.spec of Package php5-eaccelerator
# # spec file for package php5-eaccelerator (Version 0.9.6.1) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # BuildRequires: -post-build-checks #norootforbuild %define php_version %(php-config --version 2>/dev/null) %define pkgversion 0.9.6.1 Name: php5-eaccelerator Version: 0.9.6.1 Release: 1 Url: http://eaccelerator.net/ Group: Productivity/Multimedia/Video/Players License: GPL Summary: a free PHP accelerator, optimizer, encoder and dynamic content cache Source: eaccelerator-%{pkgversion}.tar.bz2 Source1: eaccelerator.ini Autoreqprov: on BuildRequires: php5-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: php5 = %{php_version} Conflicts : php5-APC php5-xcache %description eAccelerator is a free open-source PHP accelerator, optimizer, encoder and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times. %prep %setup -q -n eaccelerator-%{pkgversion} %build CFLAGS="%{optflags} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" %endif /usr/bin/phpize %configure --without-eaccelerator-encoder --without-eaccelerator-loader %{__make} %{?jobs:-j%jobs} %install %{__make} EXTENSION_DIR=%{buildroot}/usr/%{_lib}/php5/extensions install %{__mkdir_p} %{buildroot}/var/cache/php5-eaccelerator/ %{__mkdir_p} %{buildroot}/%{_sysconfdir}/php5/conf.d/ %{__cp} -a %SOURCE1 %{buildroot}/%{_sysconfdir}/php5/conf.d/ %clean %{__rm} -rf %{buildroot} %files %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog README eaccelerator.ini control.php %{_libdir}/php5/extensions/eaccelerator.so %config(noreplace) %{_sysconfdir}/php5/conf.d/eaccelerator.ini %attr (750, wwwrun, root) /var/cache/php5-eaccelerator %changelog -n php5-eaccelerator * Tue Sep 14 2010 Carsten Schoene <cs@linux-administrator.com> - 0.9.6.1-1 - update to release 0.9.6.1 * Sun Dec 20 2009 Carsten Schoene <cs@linux-administrator.com> - 0.9.5.99.1-1 - update to 0.9.6-rc1 * Fri Feb 16 2007 - judas_iscariote@shorewall.net - add norootforbuild - should require the exact php version against it was built. * Thu Nov 07 2006 - soporte@onfocus.cl - should conflict with APC and XCache, having both installed can lead into very strange results. - update to 0.9.5 final. * Wed Oct 11 2006 - tsieden@suse.de - initial release 0.9.5-rc1