]>
Commit | Line | Data |
---|---|---|
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.UTF-8): %{_pearname} - PEAR::HTML_Common jest podstawową klasą dla innych klas HTML | |
9 | Name: php-pear-%{_pearname} | |
10 | Version: 1.2.5 | |
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: e69765be9d5b5932273fe8b213d8c3c0 | |
16 | URL: http://pear.php.net/package/HTML_Common/ | |
17 | BuildRequires: php-pear-PEAR | |
18 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
19 | BuildRequires: rpmbuild(macros) >= 1.300 | |
20 | Requires: php-pear | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | The PEAR::HTML_Common package provides methods for HTML code display | |
26 | and attributes handling: | |
27 | - Methods to set, remove, update HTML attributes. | |
28 | - Handles comments in HTML code. | |
29 | - Handles layout and tabs for nicer HTML code. | |
30 | ||
31 | In PEAR status of this package is: %{_status}. | |
32 | ||
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. | |
39 | ||
40 | Ta klasa ma w PEAR status: %{_status}. | |
41 | ||
42 | %prep | |
43 | %pear_package_setup | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
48 | %pear_package_install | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc install.log | |
56 | %{php_pear_dir}/.registry/*.reg | |
57 | %{php_pear_dir}/%{_class}/*.php |