Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-5327-geoip
dba-php-5327-geoip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-5327-geoip.spec of Package dba-php-5327-geoip
# norootforbuild %define pkg_name geoip %define real_vers 1.0.8 %define php_version 5.3.27 %define php_vers 5327 %define run_tests 0 %define prefix /DBA/apache/PHP/%{php_version} %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config Name: dba-php-%{php_vers}-geoip Summary: Map IP address to geographic places Version: %{real_vers} Release: 1 License: PHP License Group: Productivity/Networking/Web/Servers URL: http://pecl.php.net/package/geoip Source: http://pecl.php.net/get/%{pkg_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c dba-openssl-101e BuildRequires: dba-php-%{php_vers} BuildRequires: dba-geoip-148-static %define geoippath /DBA/geoip/1.4.8 %if 0%{?suse_version} > 1020 BuildRequires: re2c %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description Provides bindings to the functions of libssh2 which implements the SSH2 protocol. libssh2 is available from http://www.sourceforge.net/projects/libssh2 %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 CFLAGS="$CFLAGS -I%{geoippath}/include" LDFLAGS="$LDFLAGS -L%{geoippath}/lib" export CFLAGS CXXFLAGS LDFLAGS %{phpize} %configure \ --with-php-config=%{phpconf} \ --with-geoip=%{geoippath} sed -e's!64/include!!g' -e's!\s/include!!g' -i Makefile %{__make} %{?jobs:-j%jobs} %check %if %run_tests %{__make} test PHP_EXECUTABLE=%{prefix}/bin/php %endif %install # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true %{__make} install INSTALL_ROOT="%{buildroot}" %{__install} -m 0755 ./.libs/%{pkg_name}.so %{buildroot}%{prefix}/lib/php/extensions/ %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/%{pkg_name}.so %changelog * Fri Nov 29 2013 Holger Manthey <holger.manthey@bertelsmann.de> - initial build
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