Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apa24-php-7014-zmq
dba-apa24-php-7014-zmq.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apa24-php-7014-zmq.spec of Package dba-apa24-php-7014-zmq
%define pkg_name zmq %define real_vers 1.1.3 %define php_version 7.0.14 %define php_vers 7014 %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-php-%{php_vers}-%{pkg_name} Summary: A pecl ZeroMQ Messaging 1.1.3 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 Source: https://github.com/mkoppanen/php-zmq/archive/master.zip 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 pkg-config BuildRequires: cpp gcc-c++ libstdc++-devel # BuildRequires: dba-zeromq3-325-static dba-openpgm-52122-static BuildRequires: dba-zeromq3-325 Requires: dba-zeromq3-325 %define zmqdir /DBA/zeromq3/3.2.5 #!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 ZeroMQ is a software library that lets you quickly design and implement a fast message-based applications. %prep # %setup -q -n %{pkg_name}-%{real_vers} %setup -q -n php-zmq-master %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="$CFLAGS -I%{zmqdir}/include" export LDFLAGS="$LDFLAGS -L%{zmqdir}/lib" export CFLAGS export CXXFLAGS %{phpize} %configure \ --with-zmq=%{zmqdir} \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} %check %if %maketest %{__make} test PHP_EXECUTABLE=%{phpcmd} %endif %clean %{__rm} -rf %{buildroot} %install # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true # %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 * Fri Feb 10 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