2 %define _subclass QuickForm
4 %define _pearname HTML_QuickForm_advmultiselect
5 Summary: %{_pearname} - element for HTML_QuickForm that emulate a multi-select
6 Summary(pl.UTF-8): %{_pearname} - element HTML_QuickForm emulujący wielokrotną listę wyboru
7 Name: php-pear-%{_pearname}
11 Group: Development/Languages/PHP
12 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5: eab022b47db9e262f6d126a9c875264f
14 URL: http://pear.php.net/package/HTML_QuickForm_advmultiselect/
15 BuildRequires: php-pear-PEAR
16 BuildRequires: php-pear-PEAR >= 1:1.5.4
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
18 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: php(core) >= 4.2.0
22 Requires: php-pear-HTML_Common >= 1.2.5
23 Requires: php-pear-HTML_QuickForm >= 3.2.10
24 Requires: php-pear-PEAR-core >= 1:1.4.3
25 Suggests: php-pear-PHPUnit
26 Obsoletes: php-pear-HTML_QuickForm_advmultiselect-tests
27 Conflicts: php-pear-HTML_QuickForm = 3.2.4
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 # exclude optional dependencies
32 %define _noautoreq pear(PHPUnit.*)
35 The HTML_QuickForm_advmultiselect package adds an element to the
36 HTML_QuickForm package that is two select boxes next to each other
37 emulating a multi-select.
39 In PEAR status of this package is: %{_status}.
41 %description -l pl.UTF-8
42 Pakiet HTML_QuickForm_advmultiselect rozszerza HTML_QuickForm o dwa
43 znajdujące się obok siebie pola wyboru emulujące wielokrotną listę
46 Ta klasa ma w PEAR status: %{_status}.
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc install.log docs/%{_pearname}/{ChangeLog,examples}
62 %{php_pear_dir}/.registry/*.reg
63 %{php_pear_dir}/HTML/QuickForm/*.php