]>
Commit | Line | Data |
---|---|---|
187cd17f AG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Gtk2 | |
3 | %define _subclass VarDump | |
43897d28 | 4 | %define _status stable |
187cd17f AG |
5 | %define _pearname Gtk2_VarDump |
6 | ||
7 | Summary: %{_pearname} - a simple GUI to examine PHP data trees | |
d61f1d2c | 8 | Summary(pl.UTF-8): %{_pearname} - proste GUI do analizy drzew danych PHP |
187cd17f | 9 | Name: php-pear-%{_pearname} |
43897d28 AG |
10 | Version: 1.0.0 |
11 | Release: 1 | |
187cd17f AG |
12 | License: LGPL |
13 | Group: Development/Languages/PHP | |
14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
43897d28 | 15 | # Source0-md5: 0e22bd62cefa9b7dbea091cbb5db318b |
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 | ||
1d2ddb05 | 30 | %description -l pl.UTF-8 |
187cd17f AG |
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 |