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