1 %define _modname xdebug
4 Summary: %{_modname} - provides functions for functions traces and profiling
5 Summary(pl): %{_modname} - funkcje do ¶ledzenia i profilowania funkcji
6 Name: php-pecl-%{_modname}
11 Group: Development/Languages/PHP
12 Source0: http://pecl.php.net/get/%{_modname}-%{version}%{_snap}.tgz
13 # Source0-md5: e2fc53f2a7ee87cee9aab200bb17ae73
14 URL: http://pecl.php.net/package/xdebug/
15 BuildRequires: libedit-devel
16 BuildRequires: libtool
17 BuildRequires: php-devel
19 Obsoletes: php-pear-%{_modname}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _sysconfdir /etc/php
23 %define extensionsdir %{_libdir}/php
26 The Xdebug extension helps you debugging your script by providing a
27 lot of valuable debug information. The debug information that Xdebug
28 can provide includes the following:
30 - stack and function traces in error messages with:
31 - full parameter display for user defined functions
32 - function name, file name and line indications
33 - support for member functions
35 - protection for infinite recursions
39 - profiling information for PHP scripts
40 - script execution analysis
41 - capabilities to debug your scripts interactively with a debug client
43 In PECL status of this package is: %{_status}.
46 Rozszerzenie Xdebug pomaga przy odpluskwianiu skryptu dostarczaj±c
47 du¿o warto¶ciowych informacji. Informacje przydatne do ¶ledzenia,
48 które mo¿e zapewniæ Xdebug, obejmuj±:
50 - ¶ledzenie stosu i funkcji w komunikatach b³êdów wraz z:
51 - pe³nym wy¶wietlaniem parametrów dla funkcji zdefiniowanych przez
53 - nazwami funkcji, nazwami plików i numerami linii
55 - przydzielanie pamiêci
56 - zabezpieczenie przed nieskoñczon± rekurencj±
58 Xdebug dostarcza tak¿e:
60 - informacje do profilowania skryptów PHP
61 - analizê wywo³añ skryptu
62 - mo¿liwo¶æ ¶ledzenia skryptów interaktywnie przy pomocy klienta
65 To rozszerzenie ma w PECL status: %{_status}.
71 cd %{_modname}-%{version}%{_snap}
76 install %{_datadir}/automake/config.* .
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT{%{_bindir},%{extensionsdir}}
88 install %{_modname}-*/debugclient/debugclient $RPM_BUILD_ROOT%{_bindir}/%{_modname}-debugclient
89 install %{_modname}-*/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
92 rm -rf $RPM_BUILD_ROOT
95 %{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
98 if [ "$1" = "0" ]; then
99 %{_sbindir}/php-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
103 %defattr(644,root,root,755)
104 %doc %{_modname}-*/{README,NEWS,Changelog,CREDITS}
105 %attr(755,root,root) %{extensionsdir}/%{_modname}.so
106 %attr(755,root,root) %{_bindir}/*