]>
Commit | Line | Data |
---|---|---|
1 | %define status stable | |
2 | %define pearname HTML_Select | |
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 | |
8 | License: PHP 2.02 | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz | |
11 | # Source0-md5: 5643561c512416b41dbf1e68acb0cae4 | |
12 | Patch0: %{name}-case.patch | |
13 | URL: http://pear.php.net/package/HTML_Select/ | |
14 | BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1 | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.580 | |
17 | Requires: php-pear | |
18 | Requires: php-pear-HTML_Common >= 1.1 | |
19 | Requires: php-pear-PEAR-core >= 1:1.4.0 | |
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 | ||
27 | In PEAR status of this package is: %{status}. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | HTML_Select dostarcza zorientowanej obiektowo metody tworzenia | |
31 | elementów select formularzy HTML. | |
32 | ||
33 | Ta klasa ma w PEAR status: %{status}. | |
34 | ||
35 | %prep | |
36 | %pear_package_setup | |
37 | %patch0 -p1 | |
38 | ||
39 | mv .%{php_pear_dir}/data/HTML_Select/README . | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
44 | %pear_package_install | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README | |
52 | %doc install.log | |
53 | %{php_pear_dir}/.registry/*.reg | |
54 | %{php_pear_dir}/HTML/*.php |