]>
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 | |
450fc3d7 | 7 | Summary(pl.UTF-8): %{_pearname} - wizualna analiza wyjątków oraz błędów php i PEAR-a |
f67e5150 ER |
8 | Name: php-pear-%{_pearname} |
9 | Version: 0.1.0 | |
0abcfef9 | 10 | Release: 3 |
f67e5150 ER |
11 | License: LGPL |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
14 | # Source0-md5: 472d43e96c10ccacae3a306095711d61 | |
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 | |
0abcfef9 | 20 | Requires: php-pear-PEAR-core >= 1:1.4.8 |
f67e5150 ER |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
b0a841ed | 25 | Displays Exceptions, PHP Errors and PEAR_Error objects in a nice and |
f67e5150 ER |
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. | |
29 | ||
30 | In PEAR status of this package is: %{_status}. | |
31 | ||
450fc3d7 JR |
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 | |
37 | wyjątku. | |
b0a841ed JB |
38 | |
39 | Ta klasa ma w PEAR status: %{_status}. | |
40 | ||
f67e5150 ER |
41 | %prep |
42 | %pear_package_setup | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
47 | %pear_package_install | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc install.log | |
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 |