]>
Commit | Line | Data |
---|---|---|
0debb940 | 1 | %include /usr/lib/rpm/macros.php |
c172b11a | 2 | %define _class HTML |
3 | %define _subclass Select | |
1a624a0e | 4 | %define _status stable |
0debb940 AG |
5 | %define _pearname %{_class}_%{_subclass} |
6 | Summary: %{_pearname} - class for generating HTML form select elements | |
32402ac3 | 7 | Summary(pl.UTF-8): %{_pearname} - klasa do generowania elementów select formularzy HTML |
0debb940 | 8 | Name: php-pear-%{_pearname} |
1a624a0e ER |
9 | Version: 1.3.0 |
10 | Release: 1 | |
0debb940 AG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
1a624a0e | 14 | # Source0-md5: 7b2a5246c9e9b84a3cd008c80f08125c |
71f84f79 | 15 | Patch0: %{name}-case.patch |
7692c9b7 | 16 | URL: http://pear.php.net/package/HTML_Select/ |
6bc64ea0 | 17 | BuildRequires: php-pear-PEAR |
97c6bc70 | 18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
e294e29e | 19 | BuildRequires: rpmbuild(macros) >= 1.300 |
0debb940 | 20 | Requires: php-pear |
8bad5729 | 21 | Requires: php-pear-HTML_Common >= 1.1 |
1a624a0e | 22 | Requires: php-pear-PEAR-core >= 1:1.4.0 |
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 | 39 | %pear_package_setup |
7e482310 | 40 | %patch0 -p1 |
0debb940 AG |
41 | |
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) | |
97c6bc70 ER |
52 | %doc install.log |
53 | %{php_pear_dir}/.registry/*.reg | |
0debb940 | 54 | %{php_pear_dir}/%{_class}/*.php |