2 %define _pearname HTML_Form
3 Summary: %{_pearname} - simple HTML form package
4 Summary(pl.UTF-8): %{_pearname} - pakiet do prostych formularzy HTML
5 Name: php-pear-%{_pearname}
10 Group: Development/Languages/PHP
11 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
12 # Source0-md5: b880b155ce423e7d49dd2201bf35a359
13 URL: http://pear.php.net/package/HTML_Form/
14 BuildRequires: php-pear-PEAR
15 BuildRequires: rpm-php-pearprov >= 4.4.2-11
16 BuildRequires: rpmbuild(macros) >= 1.300
17 Requires: php(core) >= 4.0.0
19 Obsoletes: php-pear-HTML_Form-tests
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This is a simple HTML form generator. It supports all the HTML form
25 element types including file uploads, may return or print the form,
26 just individual form elements or the full form in "table mode" with a
29 In PEAR status of this package is: %{_status}.
31 %description -l pl.UTF-8
32 To jest generator prostych formularzy HTML. Obsługuje wszystkie typy
33 elementów formularzy HTML włącznie z przesyłaniem plików; może zwrócić
34 lub wypisać formularz, same elementy formularza lub pełny formularz w
35 "trybie tabeli" z ustalonym rozmieszczeniem.
37 Ta klasa ma w PEAR status: %{_status}.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{php_pear_dir}/.registry/*.reg
54 %{php_pear_dir}/HTML/*.php