]> git.pld-linux.org Git - packages/php-pear-HTML_QuickForm_altselect.git/blob - php-pear-HTML_QuickForm_altselect.spec
- release 3 (updated PEAR deps)
[packages/php-pear-HTML_QuickForm_altselect.git] / php-pear-HTML_QuickForm_altselect.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTML
3 %define         _subclass       QuickForm_altselect
4 %define         _status         stable
5 %define         _pearname       HTML_QuickForm_altselect
6 Summary:        %{_pearname} - An alternative to HTML_QuickForm_select using radio buttons and checkboxes
7 Summary(pl.UTF-8):      %{_pearname} - alternatywa dla HTML_QuickForm_select wykorzystująca przyciski radio oraz pola wyboru
8 Name:           php-pear-%{_pearname}
9 Version:        1.0.0
10 Release:        3
11 License:        LGPL
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  323edd06e3b22a6a624f007abe4fbd19
15 URL:            http://pear.php.net/package/HTML_QuickForm_altselect/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 Requires:       php-pear
19 Requires:       php-pear-HTML_Common >= 1.2.1
20 Requires:       php-pear-HTML_QuickForm >= 3.2.5
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A QuickForm plugin that extends the select element and turns its
26 options into checkboxes or radio buttons depending on whether the
27 multiple html attribute was set or not. For extra options not listed,
28 you can also render an 'Other' textfield.
29
30 In PEAR status of this package is: %{_status}.
31
32 %description -l pl.UTF-8
33 Pakiet ten to wtyczka dla HTML_QuickForm rozszerzająca element select
34 o pola wyboru lub przyciski radio w zależności od tego, czy atrybut
35 multiple został ustawiony. Dodatkowe, nie opisane opcje, są dostępne
36 podczas renderowania pola tekstowego 'Other'.
37
38 Ta klasa ma w PEAR status: %{_status}.
39
40 %package tests
41 Summary:        Tests for PEAR::%{_pearname}
42 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
43 Group:          Development/Languages/PHP
44 AutoReq:        no
45 Requires:       %{name} = %{version}-%{release}
46 AutoProv:       no
47
48 %description tests
49 Tests for PEAR::%{_pearname}.
50
51 %description tests -l pl.UTF-8
52 Testy dla PEAR::%{_pearname}.
53
54 %prep
55 %pear_package_setup
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
60 %pear_package_install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc install.log docs/HTML_QuickForm_altselect/docs/examples
68 %{php_pear_dir}/.registry/*.reg
69 %{php_pear_dir}/HTML/QuickForm/altselect.php
70
71 %files tests
72 %defattr(644,root,root,755)
73 %{php_pear_dir}/tests/HTML_QuickForm_altselect
This page took 0.056343 seconds and 3 git commands to generate.