]> git.pld-linux.org Git - packages/php-pear-HTML_QuickForm_Livesearch.git/blob - php-pear-HTML_QuickForm_Livesearch.spec
- BR rpm-build macros >= 1.300 for %pear_ macros
[packages/php-pear-HTML_QuickForm_Livesearch.git] / php-pear-HTML_QuickForm_Livesearch.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTML
3 %define         _subclass       QuickForm_Livesearch
4 %define         _status         alpha
5 %define         _pearname       HTML_QuickForm_Livesearch
6
7 Summary:        %{_pearname} - element for HTML_QuickForm to enable a suggest search
8 Summary(pl):    %{_pearname} - element HTML_QuickForm pozwalaj±cy na do³±czenie sugestii do wyszukiwania
9 Name:           php-pear-%{_pearname}
10 Version:        0.1.5
11 Release:        1
12 License:        PHP License 3.0
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  7d904e58771a70547d9e94f79368f280
16 URL:            http://pear.php.net/package/HTML_QuickForm_Livesearch/
17 BuildRequires:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.300
20 Requires:       php-pear
21 Requires:       php-pear-PEAR
22 Requires:       php-pear-HTML_QuickForm > 3.2.4
23 Requires:       php-pear-HTML_AJAX > 0.3
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 This package adds an element to the PEAR::HTML_QuickForm package to
29 dynamically create an HTML input text element that at every keypressed
30 javascript event, returns a list of options in a dynamic dropdown
31 select box(live dropdown select).
32
33 This element use AJAX (Communication from JavaScript to your browser
34 without reloading the page).
35
36 This type of livesearch is useful when you have a form with a dropdown
37 list with a large number of row.
38
39 In PEAR status of this package is: %{_status}.
40
41 %description -l pl
42 Pakiet ten dodaje do PEAR::HTML_QuickForm element pozwalaj±cy na
43 dynamicznie tworzenie pola input formularza HTML, który na ka¿de
44 zdarzenie wci¶niêcia klawisza zwraca listê opcji w dynamicznej li¶cie
45 wyboru (live dropdown select).
46
47 Element ten korzysta z technologii AJAX (komunikacja z JavaScript bez
48 potrzeby prze³adowania strony).
49
50 Ten tym '¿ywego' wyszukiwania jest przydatny w przypadku formularza z
51 list± wyboru z du¿± liczb± pozycji.
52
53 Ta klasa ma w PEAR status: %{_status}.
54
55 %package tests
56 Summary:        Tests for PEAR::%{_pearname}
57 Summary(pl):    Testy dla PEAR::%{_pearname}
58 Group:          Development
59 Requires:       %{name} = %{epoch}:%{version}-%{release}
60 AutoReq:        no
61
62 %description tests
63 Tests for PEAR::%{_pearname}.
64
65 %description tests -l pl
66 Testy dla PEAR::%{_pearname}.
67
68 %prep
69 %pear_package_setup
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 install -d $RPM_BUILD_ROOT%{php_pear_dir}
74 %pear_package_install
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc install.log
82 %{php_pear_dir}/.registry/*.reg
83 %{php_pear_dir}/HTML/QuickForm/livesearch_select.php
84 %dir %{php_pear_dir}/data/HTML_QuickForm_Livesearch
85 %{php_pear_dir}/data/HTML_QuickForm_Livesearch/live.js
86
87 %files tests
88 %defattr(644,root,root,755)
89 %dir %{php_pear_dir}/tests/HTML_QuickForm_Livesearch
90 %dir %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example
91 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/auto_server.php
92 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/index.php
93 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/livesearch.class.php
94 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/live.js
95 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/style.css
96 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/shadowAlpha.png
97 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/shadow.gif
98 %{php_pear_dir}/tests/HTML_QuickForm_Livesearch/example/myfunction.php
This page took 0.101364 seconds and 4 git commands to generate.