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