1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
6 Summary: %{_pearname} - generates HTML Menu from multidimensional hashes
7 Summary(pl): %{_pearname} - generowanie menu w HTML z wielowymiarowych hashy
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 70238ce27fb0edcf744277f660a5d3a1
15 URL: http://pear.php.net/package/%{_pearname}/
16 BuildRequires: rpm-php-pearprov >= 4.0.2-98
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 With the %{_pearname} class one can easily create and maintain a
23 navigation structure for website, configuring it via a multidimensional
24 hash structure. Different modes for the HTML output are supported.
26 This class has in PEAR status: %{_status}.
29 Za pomoc± klasy HTML_Menu mo¿liwe jest tworzenie i zarz±dzanie
30 struktur± nawigacyjn± strony WWW, konfigurowaln± za pomoc±
31 wielowymiarowej struktury hashy. Obs³ugiwane s± ró¿ne rodzaje wyj¶cia
34 Ta klasa ma w PEAR status: %{_status}.
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
43 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %{php_pear_dir}/%{_class}/*.php