]>
Commit | Line | Data |
---|---|---|
187cd17f AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Gtk2 | |
3 | %define _subclass VarDump | |
4 | %define _status beta | |
5 | %define _pearname Gtk2_VarDump | |
6 | ||
7 | Summary: %{_pearname} - a simple GUI to examine PHP data trees | |
8 | Summary(pl): %{_pearname} - proste GUI do analizy drzew danych PHP | |
9 | Name: php-pear-%{_pearname} | |
6b631bb2 | 10 | Version: 0.2.0 |
6446ebae | 11 | Release: 2 |
187cd17f AG |
12 | License: LGPL |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
6b631bb2 | 15 | # Source0-md5: 23649aad8bc44ce648473a1c70953fc1 |
187cd17f AG |
16 | URL: http://pear.php.net/package/Gtk2_VarDump/ |
17 | BuildRequires: php-pear-PEAR | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
cebf3f46 | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
6446ebae | 20 | Requires: php(gtk2) |
187cd17f AG |
21 | Requires: php-pear |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Just a regedit type interface to examine PHP data trees. | |
27 | ||
28 | In PEAR status of this package is: %{_status}. | |
29 | ||
30 | %description -l pl | |
31 | Interfejs w stylu regedit do analizy drzew danych PHP. | |
32 | ||
33 | Ta klasa ma w PEAR status: %{_status}. | |
34 | ||
35 | %prep | |
36 | %pear_package_setup | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
41 | %pear_package_install | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
6b631bb2 | 48 | %doc install.log docs/%{_pearname}/docs/examples |
187cd17f AG |
49 | %{php_pear_dir}/.registry/*.reg |
50 | %{php_pear_dir}/Gtk2/VarDump.php | |
6b631bb2 | 51 | %{php_pear_dir}/Gtk2/VarDump |