%define _modname xdebug
-%define _status beta
-%define _rc rc1
+%define _status stable
+
Summary: %{_modname} - provides functions for functions traces and profiling
Summary(pl): %{_modname} - funkcje do ¶ledzenia i profilowania funkcji
Name: php-pecl-%{_modname}
Version: 1.3.0
-Release: 0.%{_rc}
-License: PHP 2.02
+Release: 1
+License: BSD style
Group: Development/Languages/PHP
-Source0: http://pecl.php.net/get/%{_modname}-%{version}%{_rc}.tgz
-# Source0-md5: f4077d26281c339e1339d942f0d1788b
+Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5: 01f3dc90efa6a089eb624abf6e0825b9
URL: http://pecl.php.net/package/xdebug/
BuildRequires: libtool
BuildRequires: php-devel
%define extensionsdir %{_libdir}/php
%description
-%{_modname} provides functions for function tracing, memory usage and
-profiling.
+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:
+ - full parameter display for user defined functions
+ - function name, file name and line indications
+ - support for member functions
+- memory allocation
+- protection for infinite recursions
+
+Xdebug also provides:
-This extension has in PEAR status: %{_status}.
+- profiling information for PHP scripts
+- script execution analysis
+- capabilities to debug your scripts interactively with a debug client
-%description -l pl
-%{_modname} dostarcza funkcje do ¶ledzienia funkcji i wykorzystania
-pamiêci oraz profilowania.
+This extension has in PECL status: %{_status}.
-To rozszerzenie ma w PEAR status: %{_status}.
+#%description -l pl
+#%{_modname} dostarcza funkcje do ¶ledzienia funkcji i wykorzystania
+#pamiêci oraz profilowania.
+#
+#To rozszerzenie ma w PECL status: %{_status}.
%prep
%setup -q -c
%build
-cd %{_modname}-%{version}%{_rc}
+cd %{_modname}-%{version}
phpize
%configure
%{__make}
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{extensionsdir}
-install %{_modname}-%{version}%{_rc}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc %{_modname}-%{version}%{_rc}/{README,NEWS,Changelog,CREDITS}
+%doc %{_modname}-%{version}/{README,NEWS,Changelog,CREDITS}
%attr(755,root,root) %{extensionsdir}/%{_modname}.so