Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-APC
> php5-APC.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-APC.spec of Package php5-APC (Revision 7)
Currently displaying revision
7
,
show latest
# norootforbuild %define pkg APC %define php_version %(php-config --version 2>/dev/null) # Name: php5-APC Version: 3.0.19 Release: 0 # License: Other/See package Group: Productivity/Networking/Web/Servers # BuildRequires: php5-devel >= 5.1 Requires: php5 = %{php_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Conflicts : php5-xcache php5-eaccelerator # URL: http://pecl.php.net/package/APC Source: http://pecl.php.net/get/%{pkg}-%{version}.tgz Source1: apc.ini # Summary: Alternative PHP Cache %description APC is a free, open, and robust framework for caching and optimizing PHP intermediate code. Authors: ---------- George Schlossnagle <george@omniti.com> Daniel Cowgill <dan@communityconnect.com> Rasmus Lerdorf <rasmus@php.net> %debug_package %prep %setup -n %{pkg}-%{version} %build CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" CXXFLAGS="$CXXFLAGS -fstack-protector" %endif export CFLAGS export CXXFLAGS /usr/bin/phpize %configure --enable-apc-mmap %{__make} %{?jobs:-j%jobs} %{__make} test PHP_EXECUTABLE=/usr/bin/php5 %install %{__make} install INSTALL_ROOT="%{buildroot}" %{__install} -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/apc.ini %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/php5/extensions/apc.so %config(noreplace) %{_sysconfdir}/php5/conf.d/apc.ini %doc CHANGELOG INSTALL LICENSE NOTICE TECHNOTES.txt TODO %changelog php5-APC * Thu May 15 2008 Carsten Schoene <cs@linux-administrator.com> - update to version 3.0.19 * Sat Apr 05 2008 Carsten Schoene <cs@linux-administrator.com> - update to version 3.0.18 * Wed Mar 26 2008 Carsten Schoene <cs@łinux-administrator.com> - update to version 3.0.17 * Mon Apr 02 2007 judas_iscariote@shorewall.net - update to version 3.0.14 - apache2-devel is not needed to build this. * Sun Feb 25 2007 - judas_iscariote@shorewall.net - update to version 3.0.13, please see the vendor site for details. * Thu Nov 07 2006 - soporte@onfocus.cl - should conflict with EA and XCache, having both installed can lead into very strange results. - update to 3.0.12p2.