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