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