Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-uploadprogress
> php5-uploadprogress.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-uploadprogress.spec of Package php5-uploadprogress (Revision 3)
Currently displaying revision
3
,
show latest
# norootforbuild %define pkg_name uploadprogress %define pkg_version 0.9.0 %define php_version %(php-config --version 2>/dev/null) # Name: php5-uploadprogress Version: 0.9.0 Release: 0 # 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.0 Requires: php5 = %{php_version} # 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. %description An extension to track progress of a file upload. Authors: --------- Christian Stocker <chregu@php.net> %debug_package %prep %setup -q -n %{pkg_name}-%{version} %{__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 %doc EXPERIMENTAL %changelog -n php5-uploadprogress * Sun Jul 13 2008 Carsten Schoene <cs@linux-administrator.com> - new release 0.9.0 * Thu Dec 05 2006 - judas_iscariote@shorewall.net - very first build