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