]>
Commit | Line | Data |
---|---|---|
f67e5150 ER |
1 | %define _class Gtk2 |
2 | %define _subclass ExceptionDump | |
64b8fb51 | 3 | %define _status stable |
f67e5150 ER |
4 | %define _pearname Gtk2_ExceptionDump |
5 | Summary: %{_pearname} - Analyze exceptions, php and PEAR errors visually | |
eba82717 | 6 | Summary(pl.UTF-8): %{_pearname} - wizualna analiza wyjątków oraz błędów php i PEAR-a |
f67e5150 | 7 | Name: php-pear-%{_pearname} |
a18696d1 AG |
8 | Version: 1.1.1 |
9 | Release: 1 | |
f67e5150 ER |
10 | License: LGPL |
11 | Group: Development/Languages/PHP | |
12 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
a18696d1 | 13 | # Source0-md5: 6c20413bc86bfddada2c98bcf44103b0 |
f67e5150 | 14 | URL: http://pear.php.net/package/Gtk2_ExceptionDump/ |
ad54e948 | 15 | BuildRequires: php-pear-PEAR >= 1:1.4.8 |
f67e5150 | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
c7016a99 | 17 | BuildRequires: rpmbuild(macros) >= 1.300 |
f67e5150 ER |
18 | Requires: php-pear >= 4:1.0-15 |
19 | Requires: php-pear-Gtk2_VarDump >= 0.2.0 | |
ad54e948 | 20 | Requires: php-pear-Gtk2_VarDump >= 1.0.0 |
0abcfef9 | 21 | Requires: php-pear-PEAR-core >= 1:1.4.8 |
ad54e948 | 22 | Requires: php-gtk2 |
f67e5150 ER |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
b0a841ed | 27 | Displays Exceptions, PHP Errors and PEAR_Error objects in a nice and |
f67e5150 ER |
28 | clean way. It also allows to inspect parameters passed to methods and |
29 | to drag and drop the files causing the error to any editor. Copying a | |
30 | string representation of the exception to clipboard is also supported. | |
31 | ||
32 | In PEAR status of this package is: %{_status}. | |
33 | ||
450fc3d7 JR |
34 | %description -l pl.UTF-8 |
35 | Ta klasa wyświetla wyjątki, błędy PHP i obiekty PEAR_Error w ładny i | |
36 | przejrzysty sposób. Pozwala także obejrzeć parametry przekazane | |
37 | metodom i przeciągać pliki powodujące błędy do dowolnego edytora. | |
38 | Obsługiwane jest także kopiowanie do schowka reprezentacji znakowej | |
39 | wyjątku. | |
b0a841ed JB |
40 | |
41 | Ta klasa ma w PEAR status: %{_status}. | |
42 | ||
f67e5150 ER |
43 | %prep |
44 | %pear_package_setup | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
49 | %pear_package_install | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc install.log | |
57 | %doc docs/%{_pearname}/examples | |
58 | %{php_pear_dir}/.registry/*.reg | |
59 | %dir %{php_pear_dir}/Gtk2/ExceptionDump | |
60 | %{php_pear_dir}/Gtk2/ExceptionDump/InfoBox.php | |
61 | %{php_pear_dir}/Gtk2/ExceptionDump/Stack.php | |
62 | %{php_pear_dir}/Gtk2/ExceptionDump/StackModel.php | |
63 | %{php_pear_dir}/Gtk2/ExceptionDump.php |