]> git.pld-linux.org Git - packages/php-pear-HTML_Entities.git/blame - php-pear-HTML_Entities.spec
- new
[packages/php-pear-HTML_Entities.git] / php-pear-HTML_Entities.spec
CommitLineData
9d50f7a1
AG
1%include /usr/lib/rpm/macros.php
2%define _class HTML
3%define _subclass Entities
4%define _status alpha
5%define _pearname HTML_Entities
6Summary: %{_pearname} - konvert text to/from HTML entities
7Summary(pl.UTF-8): %{_pearname} - konwersja tekstu do/z encji HTML
8Name: php-pear-%{_pearname}
9Version: 0.2.2
10Release: 1
11License: BSD License
12Group: Development/Languages/PHP
13Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14# Source0-md5: 5e8db2985d5e9ffd72894761f062c21a
15URL: http://pear.php.net/package/HTML_Entities/
16BuildRequires: php-pear-PEAR
17BuildRequires: rpm-php-pearprov >= 4.4.2-11
18Requires: php-pear
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This package allows to convert utf-8 text to html entities and
24vice-versa. It provides functions similar to php functions
25html_entity_decode, htmlentities and get_html_translation_table, but
26it works properly with utf-8 in PHP4, and contains ALL defined HTML
27entities.
28
29In PEAR status of this package is: %{_status}.
30
31%description -l pl.UTF-8
32Pakiet ten pozwala na konwersję tekstu utf-8 do/z encji html. Pakiet
33dostarcza funkcjonalność zbliżoną do funkcji PHP takich jak
34html_entity_decode, htmlentities i get_html_translation_table, jednak
35działa poprawnie z utf-8 w PHP 4 oraz zawiera wszystkie zdefiniowane
36encje HTML.
37
38Ta klasa ma w PEAR status: %{_status}.
39
40%package tests
41Summary: Tests for PEAR::%{_pearname}
42Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
43Group: Development/Languages/PHP
44AutoReq: no
45Requires: %{name} = %{version}-%{release}
46AutoProv: no
47
48%description tests
49Tests for PEAR::%{_pearname}.
50
51%description tests -l pl.UTF-8
52Testy dla PEAR::%{_pearname}.
53
54%prep
55%pear_package_setup
56
57%install
58rm -rf $RPM_BUILD_ROOT
59install -d $RPM_BUILD_ROOT%{php_pear_dir}
60%pear_package_install
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc install.log docs/HTML_Entities/examples
68%{php_pear_dir}/.registry/*.reg
69%{php_pear_dir}/HTML/Entities
70%{php_pear_dir}/HTML/Entities.php
71
72%files tests
73%defattr(644,root,root,755)
74%{php_pear_dir}/tests/HTML_Entities
This page took 0.101865 seconds and 4 git commands to generate.