Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apa24-php-709-apcu-bc
dba-apa24-php-709-apcu-bc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apa24-php-709-apcu-bc.spec of Package dba-apa24-php-709-apcu-bc
%define pkg_name apcu-bc %define real_vers 1.0.3 %define php_version 7.0.9 %define php_vers 709 %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: APCu Backwards Compatibility Module Version: %{real_vers} Release: 0 License: BSD Group: Productivity/Networking/Web/Servers URL: https://pecl.php.net/package/APCU-BC Source: http://pecl.php.net/get/%{pkg_name}-%{version}.tgz Source2: apcu-bc-rpmlintrc BuildRoot: %{_tmppath}/%{pkg_name}-%{real_vers}-build %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if 0%{?suse_version} >= 1200 BuildRequires: automake %endif BuildRequires: dba-apa24-php-%{php_vers} pcre-devel dba-apa24-php-709-apcu #!BuildIgnore: dba-postgresql-839 dba-postgresql-842 dba-postgresql-845 dba-postgresql-846 #!BuildIgnore: dba-postgresql-901 dba-postgresql-902 dba-postgresql-904 dba-postgresql-910 #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x #!BuildIgnore: pango postfix librsvg2 #!BuildIgnore: dba-curl-7371 %description This module provides a backwards APC compatible API using APCu. %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 #%if 0%{?suse_version} >= 1200 #CFLAGS="$CFLAGS -I/usr/include/ImageMagick-6" #%endif export CFLAGS export CXXFLAGS %{phpize} %configure \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} #%check #%if %maketest #%{__make} test PHP_EXECUTABLE=%{phpcmd} #%endif %clean %{__rm} -rf %{buildroot} %install %{__make} install INSTALL_ROOT="%{buildroot}" #make INSTALL_ROOT=%{buildroot} install %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/apc.so %changelog * Wed Oct 18 2017 Holger Manthey <holger.manthey@bertelsmann.de> - fix suse build * Tue Oct 27 2015 Holger Manthey <holger.manthey@bertelsmann.de> - fix package name * Thu Oct 22 2015 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