]> git.pld-linux.org Git - packages/php-pear-HTML_Common.git/blob - php-pear-HTML_Common.spec
- new pear packaging
[packages/php-pear-HTML_Common.git] / php-pear-HTML_Common.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTML
3 %define         _subclass       Common
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - PEAR::HTML_Common is a base class for other HTML classes
8 Summary(pl):    %{_pearname} - PEAR::HTML_Common jest podstawow± klas± dla innych klas HTML
9 Name:           php-pear-%{_pearname}
10 Version:        1.2.2
11 Release:        1.1
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  6147e6d0c37d8a8110f3373b593c0094
16 URL:            http://pear.php.net/package/HTML_Common/
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 Requires:       php-pear
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The PEAR::HTML_Common package provides methods for HTML code display
24 and attributes handling:
25 - Methods to set, remove, update HTML attributes.
26 - Handles comments in HTML code.
27 - Handles layout and tabs for nicer HTML code.
28
29 In PEAR status of this package is: %{_status}.
30
31 %description -l pl
32 Klasa PEAR::HTML_Common dostarcza metody do wy¶wietlania kodu HTML
33 oraz obs³ugê atrybutów.
34 - Zawiera metody do ustawiania, usuwania, aktualizacji atrybutów HTML.
35 - Obs³uguje komentarze w kodzie HTML.
36 - Obs³uguje u³o¿enie i tabulacje dla ³adniejszego wygl±du kodu HTML.
37
38 Ta klasa ma w PEAR status: %{_status}.
39
40 %prep
41 %pear_package_setup
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{php_pear_dir}
46 %pear_package_install
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc install.log
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/%{_class}/*.php
This page took 0.079037 seconds and 3 git commands to generate.