Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-xdebug
> php5-xdebug.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-xdebug.spec of Package php5-xdebug (Revision 9)
Currently displaying revision
9
,
show latest
# norootforbuild %define pkg_name xdebug # Name: php5-xdebug Version: 2.1.2 Release: 1 # License: BSD Group: Productivity/Networking/Web/Servers # BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build BuildRequires: php5-devel BuildRequires: -post-build-checks # 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 Aug 03 2011 Carsten Schoene <cs@linux-administrator.com> - 2.1.2-1 - update to release 2.1.2 * Thu Jul 22 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.0-1 - update to release 2.1.0 * Mon Jul 13 2009 Carsten Schoene <cs@linux-administrator.com> - 2.0.5-1 - update to release 2.0.5 * Tue Dec 30 2008 Carsten Schoene <cs@linux-administrator.com> - update to release 2.0.4 * 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