Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ghostlyrat
php5-uploadprogress
php5-uploadprogress.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-uploadprogress.spec of Package php5-uploadprogress
# norootforbuild %define pkg_name uploadprogress Name: php5-uploadprogress Version: 1.0.3.1 Release: 1.1 License: PHP Group: Productivity/Networking/Web/Servers BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build #only php 5.2 has the needed api features. BuildRequires: php5-devel = 5.2.14 URL: http://pecl.php.net/uploadprogress Source: http://pecl.php.net/package/uploadprogress/%{pkg_name}-%{version}.tgz Summary: An extension to track progress of a file upload. Patch: uploadprogress-0.9.0-no-return-in-nonvoid-function.patch %if %{?php_zend_api}0 Requires: php(zend-abi) = %{php_zend_api} Requires: php(api) = %{php_core_api} %else %requires_eq php5 %endif %description An extension to track progress of a file upload. Authors: --------- Christian Stocker <chregu@php.net> %prep %setup -q -n %{pkg_name}-%{version} %patch %{__mkdir} %{name} %build /usr/bin/phpize pushd %{name} 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 ../configure %{__make} %{?jobs:-j%jobs} popd %install %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d echo "; comment out next line to disable uploadprogress extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/uploadprogress.ini echo 'extension = uploadprogress.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/uploadprogress.ini %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/php5/extensions/uploadprogress.so %config(noreplace) %{_sysconfdir}/php5/conf.d/uploadprogress.ini %changelog * Sat Aug 7 2010 cristian.rodriguez@opensuse.org - Update to version 1.0.1 * Thu Jul 10 2008 crrodriguez@suse.de - update to version 0.9.0 - Added uploadprogress_get_contents(id, fieldname) to return the contents of that file (Ben Ramsey) - Added uploadprogress.get_contents INI option to enable above function (Ben Ramsey) - Added a simple example - Minor Fixes
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