Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apa24-php-5611-ssh2
dba-apa24-php-5611-ssh2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apa24-php-5611-ssh2.spec of Package dba-apa24-php-5611-ssh2
# norootforbuild %define pkg ssh2 %define real_vers 0.13 %define php_version 5.6.11 %define php_vers 5611 %define run_tests 0 %define dba_ssh2 1 %define debug_package %{nil} %define prefix /DBA/apache24/PHP/%{php_version} %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config Name: dba-apa24-php-%{php_vers}-ssh2 Summary: PECL bindings for the libssh2 library Version: %{real_vers} Release: 1 License: The PHP License, version 3.0 Group: Productivity/Networking/Web/Servers URL: http://pecl.php.net/package/ssh2 Source: http://pecl.php.net/get/%{pkg}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c #!BuildIgnore: dba-curl-7371 BuildRequires: dba-apa24-php-%{php_vers} %if %{dba_ssh2} BuildRequires: openssl-devel dba-libssh2-143-static #!BuildIgnore: libssh2 libssh2-devel %else BuildRequires: libssh2 libssh2-devel %endif %if 0%{?suse_version} > 1020 BuildRequires: re2c %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if 0%{?suse_version} >= 1200 BuildRequires: automake libtool %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}-%{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 %{dba_ssh2} CFLAGS="$CFLAGS -I/DBA/libssh2/1.4.3/include" LDFLAGS="$LDFLAGS -L/DBA/libssh2/1.4.3/lib -lssl -lcrypto" %endif export CFLAGS CXXFLAGS LDFLAGS %{phpize} %configure \ %if %{dba_ssh2} --with-ssh2=/DBA/libssh2/1.4.3/ \ %else --with-ssh2 \ %endif --with-php-config=%{phpconf} 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 %if %{dba_ssh2} # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true %endif %{__make} install INSTALL_ROOT="%{buildroot}" %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/ssh2.so %changelog * Tue Aug 2 2016 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