]>
Commit | Line | Data |
---|---|---|
e75e339d PG |
1 | %define _class HTML |
2 | %define _subclass Common | |
f60102a3 | 3 | %define _status stable |
e75e339d | 4 | %define _pearname %{_class}_%{_subclass} |
f60102a3 | 5 | |
0fc67820 | 6 | Summary: %{_pearname} - PEAR::HTML_Common is a base class for other HTML classes |
705346f9 | 7 | Summary(pl.UTF-8): %{_pearname} - PEAR::HTML_Common jest podstawową klasą dla innych klas HTML |
e75e339d | 8 | Name: php-pear-%{_pearname} |
9a447b04 | 9 | Version: 1.2.5 |
d053b66f | 10 | Release: 2 |
e75e339d PG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
9a447b04 | 14 | # Source0-md5: e69765be9d5b5932273fe8b213d8c3c0 |
b63c4c6a | 15 | URL: http://pear.php.net/package/HTML_Common/ |
f802b15c | 16 | BuildRequires: php-pear-PEAR |
e6ab2322 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
b875fb3c | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
551dc311 | 19 | Requires: php-pear |
e75e339d PG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
bd807ce8 JB |
24 | The PEAR::HTML_Common package provides methods for HTML code display |
25 | and attributes handling: | |
26 | - Methods to set, remove, update HTML attributes. | |
e75e339d PG |
27 | - Handles comments in HTML code. |
28 | - Handles layout and tabs for nicer HTML code. | |
29 | ||
db6550d4 | 30 | In PEAR status of this package is: %{_status}. |
f60102a3 | 31 | |
2a7bba10 JR |
32 | %description -l pl.UTF-8 |
33 | Klasa PEAR::HTML_Common dostarcza metody do wyświetlania kodu HTML | |
34 | oraz obsługę atrybutów. | |
35 | - Zawiera metody do ustawiania, usuwania, aktualizacji atrybutów HTML. | |
36 | - Obsługuje komentarze w kodzie HTML. | |
37 | - Obsługuje ułożenie i tabulacje dla ładniejszego wyglądu kodu HTML. | |
e75e339d | 38 | |
f60102a3 AG |
39 | Ta klasa ma w PEAR status: %{_status}. |
40 | ||
e75e339d | 41 | %prep |
e6ab2322 | 42 | %pear_package_setup |
e75e339d PG |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
e6ab2322 ER |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
47 | %pear_package_install | |
e75e339d PG |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
e6ab2322 ER |
54 | %doc install.log |
55 | %{php_pear_dir}/.registry/*.reg | |
e75e339d | 56 | %{php_pear_dir}/%{_class}/*.php |