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