Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-5214-uploadprogress
dba-php-5214-uploadprogress.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-5214-uploadprogress.spec of Package dba-php-5214-uploadprogress
# norootforbuild %define pkg uploadprogress %define modname pecl-%{pkg} %define real_vers 1.0.0 %define maketest 0 %define php_version 5.2.14 %define php_vers 5214 %define apavers 2.2.15 %define apapack 2215 %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}-%{pkg} Summary: An extension to track progress of a file upload. Version: %{real_vers} Release: 1 License: GPL Group: Productivity/Networking/Web/Servers Packager: Holger Manthey <holger.manthey@bertelsmann.de> URL: http://pecl.php.net/package/%{pkg} Source: http://pecl.php.net/get/%{pkg}-%{version}.tgz Source1: %{pkg}.ini BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dba-php-%{php_vers} libssh2-devel #!BuildIgnore: dba-postgresql-839 dba-postgresql-842 #!BuildIgnore: dba-openssl-098o %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description See http://cvs.php.net/viewvc.cgi/pecl/uploadprogress/examples/ for a little example. It is only known to work on Apache with mod_php, other SAPI implementations unfortunately still have issues. At least PHP 5.2 is needed. %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-libdir=%{_lib} \ --with-php-config=%{phpconf} \ --with-%{modname}=shared %{__make} %{?jobs:-j%jobs} %if %maketest %{__make} test PHP_EXECUTABLE=/usr/bin/php5 %endif %install %{__mkdir} -p %{buildroot}%{prefix}/conf %{__make} install INSTALL_ROOT="%{buildroot}" %{__install} -D -m 0644 %{S:1} %{buildroot}%{prefix}/conf/%{pkg}.ini %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %dir %{prefix}/lib/php/extensions %{prefix}/lib/php/extensions/%{pkg}.so %config(noreplace) %{prefix}/conf/%{pkg}.ini %changelog * Wed Oct 20 2010 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