Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-5426-memcache
dba-php-5426-memcache.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-5426-memcache.spec of Package dba-php-5426-memcache
# norootforbuild %define pkg memcache %define real_vers 3.0.8 %define php_version 5.4.26 %define php_vers 5426 %define run_tests 0 %define dba_memc 0 %define prefix /DBA/apache/PHP/%{php_version} %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config Name: dba-php-%{php_vers}-memcache Summary: PHP Memcache client Extension Version: %{real_vers} Release: 1 License: Other/See package Group: Productivity/Networking/Web/Servers URL: http://pecl.php.net/package/%{pkg} Source: http://pecl.php.net/get/%{pkg}-%{version}.tgz Source1: memcache.ini BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-php-%{php_vers} pcre-devel zlib-devel #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c dba-openssl-101e %if 0%{?rhel_version} >= 600 && 0%{?rhel_version} <= 699 %define dba_memc 1 %endif %if %{dba_memc} BuildRequires: dba-libmemcached-1017-static %else %if 0%{?suse_version} BuildRequires: libmemcache-devel %else BuildRequires: libmemcached-devel %endif %endif %if 0%{?suse_version} > 1020 BuildRequires: re2c %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks BuildRequires: libopenssl0_9_8 %endif %if 0%{?suse_version} >= 1200 BuildRequires: automake libtool %endif %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. %prep %setup -q -n %{pkg}-%{real_vers} %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 %{phpize} %configure \ --with-php-config=%{phpconf} \ --with-libdir=%{_lib} %{__make} %{?jobs:-j%jobs} %install %{__make} install INSTALL_ROOT="%{buildroot}" %{__install} -D -m 0644 %{S:1} %{buildroot}%{prefix}/conf/%{pkg}.ini %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/memcache.so %config(noreplace) %{prefix}/conf/%{pkg}.ini %changelog * Mon Mar 17 2014 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor