Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-eaccelerator
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Added
php5-eaccelerator.spec
@@ -0,0 +1,81 @@ +# +# spec file for package php5-eaccelerator (Version 0.9.5) +# +# 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/ +# + +#norootforbuild + +%define php_version %(php-config --version 2>/dev/null) + +Name: php5-eaccelerator +Version: 0.9.5.2 +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-%{version}.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-%{version} + +%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 +%{_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 +* 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