]>
Commit | Line | Data |
---|---|---|
900f77db ER |
1 | %define status stable |
2 | %define pearname HTML_Select | |
0debb940 | 3 | %include /usr/lib/rpm/macros.php |
900f77db ER |
4 | Summary: %{pearname} - class for generating HTML form select elements |
5 | Summary(pl.UTF-8): %{pearname} - klasa do generowania elementów select formularzy HTML | |
6 | Name: php-pear-%{pearname} | |
7 | Version: 1.3.1 | |
8 | Release: 1 | |
0debb940 AG |
9 | License: PHP 2.02 |
10 | Group: Development/Languages/PHP | |
900f77db ER |
11 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz |
12 | # Source0-md5: 5643561c512416b41dbf1e68acb0cae4 | |
71f84f79 | 13 | Patch0: %{name}-case.patch |
7692c9b7 | 14 | URL: http://pear.php.net/package/HTML_Select/ |
d595f44b | 15 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 |
97c6bc70 | 16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
900f77db | 17 | BuildRequires: rpmbuild(macros) >= 1.580 |
0debb940 | 18 | Requires: php-pear |
8bad5729 | 19 | Requires: php-pear-HTML_Common >= 1.1 |
1a624a0e | 20 | Requires: php-pear-PEAR-core >= 1:1.4.0 |
0debb940 AG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | HTML_Select provides an OOP way of generating HTML form select | |
26 | elements. | |
27 | ||
900f77db | 28 | In PEAR status of this package is: %{status}. |
0debb940 | 29 | |
32e20f50 | 30 | %description -l pl.UTF-8 |
0debb940 | 31 | HTML_Select dostarcza zorientowanej obiektowo metody tworzenia |
32e20f50 | 32 | elementów select formularzy HTML. |
0debb940 | 33 | |
900f77db | 34 | Ta klasa ma w PEAR status: %{status}. |
0debb940 AG |
35 | |
36 | %prep | |
97c6bc70 | 37 | %pear_package_setup |
7e482310 | 38 | %patch0 -p1 |
0debb940 | 39 | |
900f77db ER |
40 | mv .%{php_pear_dir}/data/HTML_Select/README . |
41 | ||
0debb940 AG |
42 | %install |
43 | rm -rf $RPM_BUILD_ROOT | |
97c6bc70 ER |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
45 | %pear_package_install | |
0debb940 AG |
46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
900f77db | 52 | %doc README |
97c6bc70 ER |
53 | %doc install.log |
54 | %{php_pear_dir}/.registry/*.reg | |
900f77db | 55 | %{php_pear_dir}/HTML/*.php |