Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.6.36
:
extensions
>
php5-pecl-memcache-stable
> php5-pecl-memcache.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-pecl-memcache.spec of Package php5-pecl-memcache-stable
# norootforbuild # %define php_version %(php-config --version 2>/dev/null) Name: php5-pecl-memcache Version: 2.2.7 Release: 1 # Group: Productivity/Networking/Web/Servers License: PHP # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: php5-devel zlib-devel Requires: php5 = %{php_version} # URL: http://pecl.php.net/package/memcache Source: http://pecl.php.net/get/memcache-%{version}.tgz Source1: memcache.ini Patch0: memcache-sessiondep.patch # Summary: PHP Memcache client Extension %description Memcached is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory. This extension allows you to work with memcached through handy OO and procedural interfaces. Author: ------- Antony Dovgal %prep %setup -q -n memcache-%{version} %build /usr/bin/phpize 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 %configure --with-libdir=%{_lib} %{__make} %install %makeinstall INSTALL_ROOT="%{buildroot}" %{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d %{__install} -m 644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/memcache.ini chmod -x README CREDITS %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc README CREDITS example.php %config(noreplace) %{_sysconfdir}/php5/conf.d/memcache.ini %{_libdir}/php5/extensions/memcache.so %changelog