Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-xdebug
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
php5-xdebug.spec
@@ -0,0 +1,94 @@ +# norootforbuild +%define pkg_name xdebug +# +Name: php5-xdebug +Version: 2.0.2 +Release: 0 +# +License: BSD +Group: Productivity/Networking/Web/Servers +# +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +BuildRequires: php5-devel +# +URL: http://www.xdebug.org/ +Source: http://pecl.php.net/package/Xdebug/%{pkg_name}-%{version}.tgz +Source1: xdebug.ini +Summary: Extended PHP debugger +%requires_eq php5 + +%description + +The Xdebug extension helps you debugging your script by providing a lot of +valuable debug information. The debug information that Xdebug can provide +includes the following: + +* stack and function traces in error messages with: +o full parameter display for user defined functions +o function name, file name and line indications +o support for member functions +* memory allocation +* protection for infinite recursions + +Xdebug also provides: + +* profiling information for PHP scripts +* script execution analysis +* capabilities to debug your scripts interactively with a debug client + +Authors: +--------- + Derick Rethans derick@php.net + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%{__mkdir} %{name} + +%build +/usr/bin/phpize +pushd %{name} +#Important : gcc optimization levels miscompile (ed) this package +#problem was observed in 10.0 not sure if still exists.. +CFLAGS=`echo "$RPM_OPT_FLAGS" | sed -e 's/-O[0-9]*//g'` +CFLAGS="$CFLAGS -fno-strict-aliasing" + +%if 0%{?suse_version} > 1000 +CFLAGS="$CFLAGS -fstack-protector" +%endif + +export CFLAGS + +../configure --enable-xdebug + +%{__make} %{?jobs:-j%jobs} +popd + +%install + +%makeinstall -C %{name} INSTALL_ROOT=%{buildroot} +%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d +%{__install} -m 644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/xdebug.ini + +%clean + +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{_libdir}/php5/extensions/xdebug.so +%config(noreplace) %{_sysconfdir}/php5/conf.d/xdebug.ini + +%doc README LICENSE Changelog NEWS CREDITS + +%changelog -n php5-xdebug +* Wed Jan 31 2007 - judas_iscariote@shorewall.net +- update to RC3 +* Sun Dec 24 2006 - judas_iscariote@shorewall.net +- Update to RC2 +- add complete ini file +* Sun Oct 08 2006 - soporte@onfocus.cl +- Update to RC1 restoring php 5.2.0 compatibility +* Fri Jun 30 2006 - soporte@onfocus.cl +- very first build