]>
Commit | Line | Data |
---|---|---|
f67e5150 ER |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Gtk2 | |
3 | %define _subclass ExceptionDump | |
4 | %define _status beta | |
5 | %define _pearname Gtk2_ExceptionDump | |
6 | Summary: %{_pearname} - Analyze exceptions, php and PEAR errors visually | |
7 | Name: php-pear-%{_pearname} | |
8 | Version: 0.1.0 | |
9 | Release: 2 | |
10 | License: LGPL | |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
13 | # Source0-md5: 472d43e96c10ccacae3a306095711d61 | |
14 | URL: http://pear.php.net/package/Gtk2_ExceptionDump/ | |
15 | BuildRequires: php-pear-PEAR | |
16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
17 | Requires: php-pear >= 4:1.0-15 | |
18 | Requires: php-pear-Gtk2_VarDump >= 0.2.0 | |
41d559ff | 19 | Requires: php-pear-PEAR >= 1:1.4.8 |
f67e5150 ER |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Displays Exceptions, PHP Erros and PEAR_Error objects in a nice and | |
25 | clean way. It also allows to inspect parameters passed to methods and | |
26 | to drag and drop the files causing the error to any editor. Copying a | |
27 | string representation of the exception to clipboard is also supported. | |
28 | ||
29 | In PEAR status of this package is: %{_status}. | |
30 | ||
f67e5150 ER |
31 | %prep |
32 | %pear_package_setup | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
37 | %pear_package_install | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc install.log | |
45 | %doc docs/%{_pearname}/examples | |
46 | %{php_pear_dir}/.registry/*.reg | |
47 | %dir %{php_pear_dir}/Gtk2/ExceptionDump | |
48 | %{php_pear_dir}/Gtk2/ExceptionDump/InfoBox.php | |
49 | %{php_pear_dir}/Gtk2/ExceptionDump/Stack.php | |
50 | %{php_pear_dir}/Gtk2/ExceptionDump/StackModel.php | |
51 | %{php_pear_dir}/Gtk2/ExceptionDump.php |