Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apa24-php-7112-redis
dba-apa24-php-7112-redis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apa24-php-7112-redis.spec of Package dba-apa24-php-7112-redis
%define pkg_name redis %define real_vers 3.1.4 %define php_version 7.1.12 %define php_vers 7112 %define prefix /DBA/apache24/PHP/%{php_version} %define phpcmd %{prefix}/bin/php %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config %define maketest 0 Name: dba-apa24-php-%{php_vers}-%{pkg_name} Summary: API for communicating with the Redis key-value store 3.1.4 Version: %{real_vers} Release: 0 License: BSD Group: Productivity/Networking/Web/Servers URL: http://pecl.php.net/package/redis Source: http://pecl.php.net/get/%{pkg_name}-%{real_vers}.tgz BuildRoot: %{_tmppath}/%{pkg_name}-%{real_vers}-build BuildRequires: dba-apa24-php-%{php_vers} # needed for brp-check-bytecode-version (jar, fastjar would do as well) BuildRequires: unzip #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c dba-openssl-101e #!BuildIgnore: dba-curl-7371 %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if 0%{?suse_version} >= 1200 BuildRequires: automake libtool %endif %description This extension provides an API for communicating with Redis servers. %prep %setup -q -n %{pkg_name}-%{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 export PATH="$PATH:%{prefix}" %{phpize} %configure \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} %check %if %maketest %{__make} test PHP_EXECUTABLE=%{phpcmd} %endif %clean %{__rm} -rf %{buildroot} %install # %makeinstall INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{prefix}/conf %{__mkdir_p} %{buildroot}%{prefix}/lib/php/extensions %{__install} -m 0755 ./.libs/%{pkg_name}.so %{buildroot}%{prefix}/lib/php/extensions/ %{__rm} -rf %{buildroot}%{prefix}/include/php/ext %files %defattr(-,root,root,-) %dir %{prefix}/conf %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/%{pkg_name}.so %changelog * Wed Dec 6 2017 Holger Manthey <holger.manthey@bertelsmann.de> - inital version
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