Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-php-533-xdebug
dba-php-533-xdebug.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-php-533-xdebug.spec of Package dba-php-533-xdebug
%define pkg_name xdebug %define real_vers 2.1.0 %define with_libedit 1 %define php_version 5.3.3 %define php_vers 533 %define prefix /DBA/apache/PHP/%{php_version} %define phpcmd %{prefix}/bin/php %define phpize %{prefix}/bin/phpize %define phpconf %{prefix}/bin/php-config %define maketest 0 Name: dba-php-%{php_vers}-%{pkg_name} Summary: PECL package for debugging PHP scripts Version: %{real_vers} Release: 0 License: BSD Group: Productivity/Networking/Web/Servers URL: http://eaccelerator.net/ Source: http://xdebug.org/files/%{pkg_name}-%{real_vers}.tgz # Source1: %{pkg_name}.ini BuildRoot: %{_tmppath}/%{pkg_name}-%{real_vers}-build %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif BuildRequires: dba-php-%{php_vers} #!BuildIgnore: dba-postgresql-839 dba-postgresql-842 #!BuildIgnore: dba-openssl-098o %if %with_libedit BuildRequires: libedit-devel %endif %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 traces 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 * code coverage analysis * capabilities to debug your scripts interactively with a debug client Information about Xdebug in Russian is available at http://xdebug.ru. %prep %setup -q -n %{pkg_name}-%{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 \ --enable-xdebug=shared \ --with-libedit \ --with-php-config=%{phpconf} %{__make} %{?jobs:-j%jobs} # Build debugclient %if %with_libedit pushd debugclient %configure --with-libedit %{__make} %{?jobs:-j%jobs} popd %endif %check %if %maketest %{__make} test PHP_EXECUTABLE=/usr/bin/php5 %endif %clean %{__rm} -rf %{buildroot} %install # %makeinstall INSTALL_ROOT=%{buildroot} %{__mkdir_p} %{buildroot}%{prefix}/bin %{__mkdir_p} %{buildroot}%{prefix}/conf %{__mkdir_p} %{buildroot}%{prefix}/lib/php/extensions %{__install} -m 0755 ./.libs/%{pkg_name}.so %{buildroot}%{prefix}/lib/php/extensions/ %{__install} -m 0755 debugclient/debugclient %{buildroot}%{prefix}/bin # %{__install} -m 0644 %{S:1} %{buildroot}%{prefix}/conf/%{pkg_name}.ini cat > %{buildroot}%{prefix}/conf/%{pkg_name}.ini << 'EOF' ; Enable xdebug extension module zend_extension=%{php_extdir}/xdebug.so EOF %files %defattr(-,root,root,-) %doc Changelog CREDITS LICENSE NEWS README %dir %{prefix}/bin %dir %{prefix}/conf %dir %{prefix}/lib/php/extensions %{prefix}/bin/debugclient %{prefix}/conf/%{pkg_name}.ini %{prefix}/lib/php/extensions/%{pkg_name}.so %changelog * Thu Nov 4 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