1 %include /usr/lib/rpm/macros.php
3 %define _subclass ExceptionDump
5 %define _pearname Gtk2_ExceptionDump
6 Summary: %{_pearname} - Analyze exceptions, php and PEAR errors visually
7 Summary(pl.UTF-8): %{_pearname} - wizualna analiza wyjątków oraz błędów php i PEAR-a
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: ea1d93031f095c1359f92cb454136c9a
15 URL: http://pear.php.net/package/Gtk2_ExceptionDump/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 Requires: php-pear >= 4:1.0-15
19 Requires: php-pear-Gtk2_VarDump >= 0.2.0
20 Requires: php-pear-PEAR-core >= 1:1.4.8
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Displays Exceptions, PHP Errors and PEAR_Error objects in a nice and
26 clean way. It also allows to inspect parameters passed to methods and
27 to drag and drop the files causing the error to any editor. Copying a
28 string representation of the exception to clipboard is also supported.
30 In PEAR status of this package is: %{_status}.
32 %description -l pl.UTF-8
33 Ta klasa wyświetla wyjątki, błędy PHP i obiekty PEAR_Error w ładny i
34 przejrzysty sposób. Pozwala także obejrzeć parametry przekazane
35 metodom i przeciągać pliki powodujące błędy do dowolnego edytora.
36 Obsługiwane jest także kopiowanie do schowka reprezentacji znakowej
39 Ta klasa ma w PEAR status: %{_status}.
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{php_pear_dir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %doc docs/%{_pearname}/examples
56 %{php_pear_dir}/.registry/*.reg
57 %dir %{php_pear_dir}/Gtk2/ExceptionDump
58 %{php_pear_dir}/Gtk2/ExceptionDump/InfoBox.php
59 %{php_pear_dir}/Gtk2/ExceptionDump/Stack.php
60 %{php_pear_dir}/Gtk2/ExceptionDump/StackModel.php
61 %{php_pear_dir}/Gtk2/ExceptionDump.php