]> git.pld-linux.org Git - SPECS.git/blob - php-pear-HTML_QuickForm_Controller.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / php-pear-HTML_QuickForm_Controller.spec
1 %define         _class          HTML
2 %define         _subclass       QuickForm
3 %define         _status         stable
4 %define         _pearname       %{_class}_%{_subclass}_Controller
5 Summary:        %{_pearname} - add-on to HTML_QuickForm that allows building of multiple forms
6 Summary(pl.UTF-8):      %{_pearname} - dodatek do HTML_QuickForm umożliwiający budowanie wielu formularzy
7 Name:           php-pear-%{_pearname}
8 Version:        1.0.10
9 Release:        2
10 License:        PHP 2.02
11 Group:          Development/Languages/PHP
12 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
13 # Source0-md5:  9d220655d03233bceea387f0e75ba2fd
14 URL:            http://pear.php.net/package/HTML_QuickForm_Controller/
15 BuildRequires:  php-pear-PEAR >= 1:1.5.4
16 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
17 BuildRequires:  rpmbuild(macros) >= 1.300
18 Requires:       php-pear >= 4:1.0-9.1
19 Requires:       php-pear-HTML_QuickForm >= 3.2.5
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This package is essentially an implementation of a PageController
25 pattern.
26
27 Architecture:
28 - Controller class that examines HTTP requests and manages form values
29   persistance across requests.
30 - Page class (subclass of QuickForm) representing a single page of the
31   form.
32 - Business logic is contained in subclasses of Action class.
33
34 Cool features:
35 - Includes several default actions that allows easy building of
36   multipage forms.
37 - Includes usage examples for common usage cases (single-page form,
38   wizard tabbed form).
39
40 In PEAR status of this package is: %{_status}.
41
42 %description -l pl.UTF-8
43 Ten pakiet jest implementacją szablonu PageController.
44
45 Architektura:
46 - Klasa Controller badająca zapytania HTTP i zarządzająca wartościami
47   formularza pomiędzy kolejnymi zapytaniami.
48 - Klasa Page (podklasa QuickForm) reprezentująca pojedynczą stronę
49   formularza.
50 - Logika biznesowa zawarta jest w podklasach klasy Action.
51
52 Ciekawe cechy:
53 - Zawiera kilka domyślnych akcji pozwalających na łatwe budowanie
54   formularzy rozbitych na kilka stron.
55 - Zawiera gotowe przykłady najczęściej spotykanych zastosowań.
56
57 Ta klasa ma w PEAR status: %{_status}.
58
59 %prep
60 %pear_package_setup
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{php_pear_dir}
65 %pear_package_install
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc install.log
73 %doc docs/%{_pearname}/examples
74 %{php_pear_dir}/.registry/*.reg
75 %{php_pear_dir}/%{_class}/%{_subclass}/*
This page took 0.10831 seconds and 3 git commands to generate.