]>
Commit | Line | Data |
---|---|---|
ebc19e65 | 1 | %define _status stable |
b1a95b3c | 2 | %define _pearname HTML_TagCloud |
ebc19e65 | 3 | %include /usr/lib/rpm/macros.php |
b1a95b3c AG |
4 | Summary: %{_pearname} - generate a "tag cloud" in HTML |
5 | Summary(pl.UTF-8): %{_pearname} - generowanie "chmury tagów" w HTML | |
6 | Name: php-pear-%{_pearname} | |
ebc19e65 | 7 | Version: 1.0.0 |
1a15a8f9 | 8 | Release: 2 |
b1a95b3c AG |
9 | License: PHP License |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
ebc19e65 | 12 | # Source0-md5: 38285f0c18a8b53995c38428778f3548 |
b1a95b3c AG |
13 | URL: http://pear.php.net/package/HTML_TagCloud/ |
14 | BuildRequires: php-pear-PEAR | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
a642d669 | 16 | BuildRequires: rpmbuild(macros) >= 1.300 |
1a15a8f9 | 17 | Requires: php(date) |
b1a95b3c | 18 | Requires: php-pear |
30e5ce49 | 19 | Suggests: php-pear-Image_Color |
763f6426 | 20 | Obsoletes: php-pear-HTML_TagCloud-tests |
b1a95b3c AG |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
30e5ce49 ER |
24 | # exclude optional dependencies |
25 | %define _noautoreq pear(Image/Color.*) | |
26 | ||
b1a95b3c AG |
27 | %description |
28 | HTML_TagCloud enables you to generate a "tag cloud" in HTML. | |
29 | ||
30 | In PEAR status of this package is: %{_status}. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | HTML_TagCloud pozwala na generowanie chmury tagów w HTML. | |
34 | ||
35 | Ta klasa ma w PEAR status: %{_status}. | |
36 | ||
37 | %prep | |
38 | %pear_package_setup | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
43 | %pear_package_install | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
3a1a2f62 | 50 | %doc install.log docs/HTML_TagCloud/docs/examples |
b1a95b3c AG |
51 | %{php_pear_dir}/.registry/*.reg |
52 | %{php_pear_dir}/HTML/TagCloud.php |