- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-HTML_QuickForm_advmultiselect.git] / php-pear-HTML_QuickForm_advmultiselect.spec
1 %define         _class          HTML
2 %define         _subclass       QuickForm
3 %define         _status         stable
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}
8 Version:        1.5.1
9 Release:        5
10 License:        PHP 3.0
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
20 Requires:       php(pcre)
21 Requires:       php-pear
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
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 # exclude optional dependencies
32 %define         _noautoreq      pear(PHPUnit.*)
33
34 %description
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.
38
39 In PEAR status of this package is: %{_status}.
40
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ę
44 wyboru.
45
46 Ta klasa ma w PEAR status: %{_status}.
47
48 %prep
49 %pear_package_setup
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{php_pear_dir}
54 %pear_package_install
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
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
64 %{php_pear_dir}/data
This page took 0.100455 seconds and 4 git commands to generate.