2 %define _pearname HTML_TreeMenu
3 Summary: %{_pearname} - provides an api to create a HTML tree
4 Summary(pl.UTF-8): %{_pearname} - dostarcza API do tworzenia drzew HTML
5 Name: php-pear-%{_pearname}
9 Group: Development/Languages/PHP
10 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5: cbee56b26e8ae80e541a12902bf7ea95
12 URL: http://pear.php.net/package/HTML_TreeMenu/
13 BuildRequires: php-pear-PEAR
14 BuildRequires: rpm-php-pearprov >= 4.4.2-11
15 BuildRequires: rpmbuild(macros) >= 1.300
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 PHP based API creates a tree structure using a couple of small PHP
22 classes. This can then be converted to javascript using the
23 printMenu() method. The tree should be dynamic in IE 4 or higher and
24 NN6/Mozilla, and in IE 5 or higher it maintains state (the
25 collapsed/expanded status of the branches). Has only been tested under
26 IE6 however. Other browsers display the tree fully expanded. Each node
27 can have an optional link and icon. An example of this in action is
28 available at <http://www.phpguru.org/treemenu.php>.
30 In PEAR status of this package is: %{_status}.
32 %description -l pl.UTF-8
33 To oparte na PHP API tworzy strukturę drzewa przy użyciu zestawu
34 małych klas PHP. Drzewo to może być przekonwertowane do JavaScriptu
35 przy użyciu metody printMenu(). Drzewo powinno być dynamiczne w: IE 4
36 lub nowszym oraz NN6/Mozilli; zachowuje stan (zwinięcie/rozwinięcie
37 rozgałęzień) w IE 5 lub nowszym, ale było to testowane tylko w IE 6.
38 Inne przeglądarki wyświetlają drzewo w pełni rozwinięte. Każdy liść
39 może mieć opcjonalny odnośnik i ikonkę. Przykład takiego działania
40 jest dostępny pod adresem <http://www.phpguru.org/treemenu.php>.
42 Ta klasa ma w PEAR status: %{_status}.
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{php_pear_dir}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %doc docs/%{_pearname}/docs/*
59 %{php_pear_dir}/.registry/*.reg
60 %{php_pear_dir}/HTML/*.php
62 %{php_pear_dir}/data/%{_pearname}