]> git.pld-linux.org Git - packages/php-pear-HTML_Menu.git/blob - php-pear-HTML_Menu.spec
- updated to 2.0; NOTE: breaks BC
[packages/php-pear-HTML_Menu.git] / php-pear-HTML_Menu.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTML
3 %define         _subclass       Menu
4 %define         _status         stable
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}
9 Version:        2.0
10 Release:        1
11 License:        PHP 2.02
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  fe380ee3563ea7968c7e551c5c87cbf9
15 URL:            http://pear.php.net/package/%{_pearname}/
16 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
25
26 This class has in PEAR status: %{_status}.
27
28 %description -l pl
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
32 HTML.
33
34 Ta klasa ma w PEAR status: %{_status}.
35
36 %prep
37 %setup -q -c
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
42
43 install %{_pearname}-%{version}/*.php             $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
44 install %{_pearname}-%{version}/%{_subclass}*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc %{_pearname}-%{version}/examples
52 %{php_pear_dir}/%{_class}/*.php
53 %{php_pear_dir}/%{_class}/%{_subclass}
This page took 0.061549 seconds and 4 git commands to generate.