Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-536-ssh2
dba-php-536-ssh2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-536-ssh2.spec of Package dba-php-536-ssh2
# norootforbuild %define pkg ssh2 %define real_vers 0.11.2 %define php_version 5.3.6 %define php_vers 536 %define apavers 2.2.17 %define apapack 2217 %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}-ssh2 Summary: PECL bindings for the libssh2 library Version: %{real_vers} Release: 1 License: Other/See package Group: Productivity/Networking/Web/Servers Packager: Holger Manthey <holger.manthey@bertelsmann.de> URL: http://pecl.php.net/package/ssh2 Source: http://pecl.php.net/get/%{pkg}-%{version}.tgz Source1: ssh2.ini BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-php-%{php_vers} libssh2-devel #!BuildIgnore: dba-postgresql-839 dba-postgresql-842 dba-postgresql-845 dba-postgresql-846 dba-postgresql-901 #!BuildIgnore: dba-openssl-098o dba-postgresql-902 %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}-%{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 %{phpize} %configure \ --with-ssh2 \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} %{__make} test PHP_EXECUTABLE=/usr/bin/php5 %install %{__make} install INSTALL_ROOT="%{buildroot}" # %{__install} -D -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/ssh2.ini %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/ssh2.so # %config(noreplace) %{_sysconfdir}/php5/conf.d/ssh2.ini %changelog * Wed May 18 2011 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