1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - generates HTML Menu from multidimensional hashes
8 Summary(pl): %{_pearname} - generowanie menu w HTML z wielowymiarowych hashy
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 8d31904acff0da327e061c8f254c2645
16 URL: http://pear.php.net/package/HTML_Menu/
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 With the %{_pearname} class one can easily create and maintain a
24 navigation structure for website, configuring it via a multidimensional
25 hash structure. Different modes for the HTML output are supported.
27 In PEAR status of this package is: %{_status}.
30 Za pomoc± klasy HTML_Menu mo¿liwe jest tworzenie i zarz±dzanie
31 struktur± nawigacyjn± strony WWW, konfigurowaln± za pomoc±
32 wielowymiarowej struktury hashy. Obs³ugiwane s± ró¿ne rodzaje wyj¶cia
35 Ta klasa ma w PEAR status: %{_status}.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc install.log optional-packages.txt
51 %doc docs/%{_pearname}/examples
52 %{php_pear_dir}/.registry/*.reg
53 %{php_pear_dir}/%{_class}/*.php
54 %{php_pear_dir}/%{_class}/%{_subclass}