]> git.pld-linux.org Git - SPECS.git/blob - php-pear-HTML_TreeMenu.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-pear-HTML_TreeMenu.spec
1 %define         _status         stable
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}
6 Version:        1.2.2
7 Release:        1
8 License:        PHP 2.02
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
16 Requires:       php-pear
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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>.
29
30 In PEAR status of this package is: %{_status}.
31
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>.
41
42 Ta klasa ma w PEAR status: %{_status}.
43
44 %prep
45 %pear_package_setup
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{php_pear_dir}
50 %pear_package_install
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc install.log
58 %doc docs/%{_pearname}/docs/*
59 %{php_pear_dir}/.registry/*.reg
60 %{php_pear_dir}/HTML/*.php
61
62 %{php_pear_dir}/data/%{_pearname}
This page took 1.156641 seconds and 3 git commands to generate.