]> git.pld-linux.org Git - packages/php-pear-HTML_Entities.git/blob - php-pear-HTML_Entities.spec
- release 2
[packages/php-pear-HTML_Entities.git] / php-pear-HTML_Entities.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTML
3 %define         _subclass       Entities
4 %define         _status         alpha
5 %define         _pearname       HTML_Entities
6 Summary:        %{_pearname} - konvert text to/from HTML entities
7 Summary(pl.UTF-8):      %{_pearname} - konwersja tekstu do/z encji HTML
8 Name:           php-pear-%{_pearname}
9 Version:        0.2.2
10 Release:        2
11 License:        BSD License
12 Group:          Development/Languages/PHP
13 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5:  5e8db2985d5e9ffd72894761f062c21a
15 URL:            http://pear.php.net/package/HTML_Entities/
16 BuildRequires:  php-pear-PEAR
17 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
18 BuildRequires:  rpmbuild(macros) >= 1.300
19 Requires:       php-pear
20 Obsoletes:      php-pear-HTML_Entities-tests
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This package allows to convert utf-8 text to html entities and
26 vice-versa. It provides functions similar to php functions
27 html_entity_decode, htmlentities and get_html_translation_table, but
28 it works properly with utf-8 in PHP4, and contains ALL defined HTML
29 entities.
30
31 In PEAR status of this package is: %{_status}.
32
33 %description -l pl.UTF-8
34 Pakiet ten pozwala na konwersję tekstu utf-8 do/z encji html. Pakiet
35 dostarcza funkcjonalność zbliżoną do funkcji PHP takich jak
36 html_entity_decode, htmlentities i get_html_translation_table, jednak
37 działa poprawnie z utf-8 w PHP 4 oraz zawiera wszystkie zdefiniowane
38 encje 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 docs/HTML_Entities/examples
56 %{php_pear_dir}/.registry/*.reg
57 %{php_pear_dir}/HTML/Entities
58 %{php_pear_dir}/HTML/Entities.php
This page took 0.064667 seconds and 3 git commands to generate.