Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.4.20
:
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
# norootforbuild %define pkg APC %define php_version %(php-config --version 2>/dev/null) # Name: php5-APC Version: 3.1.9 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}.tar.bz2 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 %dir %{_includedir}/php5 %dir %{_includedir}/php5/ext %dir %{_includedir}/php5/ext/apc %{_includedir}/php5/ext/apc/apc_serializer.h %changelog