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