]> git.pld-linux.org Git - packages/php-pear-XML_HTMLSax.git/blame - php-pear-XML_HTMLSax.spec
- updated deps with pearize.sh
[packages/php-pear-XML_HTMLSax.git] / php-pear-XML_HTMLSax.spec
CommitLineData
1c3fb17c 1%include /usr/lib/rpm/macros.php
6072d85b 2%define _class XML
3%define _subclass HTMLSax
556799cb 4%define _status stable
1c3fb17c 5%define _pearname %{_class}_%{_subclass}
bd11c5ca 6Summary: %{_pearname} - a SAX based parser for HTML and other badly formed XML documents
d788258a 7Summary(pl.UTF-8): %{_pearname} - analizator SAX dla HTML-a i innych źle sformułowanych dokumentów XML
1c3fb17c 8Name: php-pear-%{_pearname}
db6c31f0 9Version: 3.0.0
271ccec4 10Release: 6
f7ba8ef2 11License: PHP
1c3fb17c
AG
12Group: Development/Languages/PHP
13Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
db6c31f0 14# Source0-md5: 73b75ef6d68c74115b6da8d151293633
2f4c6482 15URL: http://pear.php.net/package/XML_HTMLSax/
91d51209 16BuildRequires: php-pear-PEAR
6183757b 17BuildRequires: rpm-php-pearprov >= 4.4.2-11
884b2b6d 18BuildRequires: rpmbuild(macros) >= 1.300
4d6523f5 19Requires: php-common >= 3:4.0.5
1c3fb17c
AG
20Requires: php-pear
21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25XML_HTMLSax is a SAX based XML parser for badly formed XML documents,
26such as HTML. The original code base was developed by Alexander Zhukov
27and published at http://sourceforge.net/projects/phpshelve/, who in
28turn was inspired by the Python HTMLSax package. Alexander kindly gave
29permission to modify the code and license for inclusion in PEAR.
30PEAR::XML_HTMLSax takes the last release from Sourceforge
31(HTMLSax2002082201) and changes the API to make using HTMLSax very
32similar to using the native PHP Expat extension, opening it up for use
33with projects like SAX filters:
34http://phpxmlclasses.sourceforge.net/show_doc.php?class=class_sax_filters.html.
35This version also fixes some bugs and adds further features such as
36the ability to handle processing instructions and JSP/ASP markup.
37
c75d3da3 38In PEAR status of this package is: %{_status}.
1c3fb17c 39
45927db1
JR
40%description -l pl.UTF-8
41XML_HTMLSax to oparty na SAX analizator XML-a dla źle sformułowanych
42dokumentów XML, takich jak HTML. Oryginalny kod został stworzony przez
c37cbbbc 43Alexandra Zhukova i opublikowany pod
45927db1
JR
44http://sourceforge.net/projects/phpshelve/, który z kolei był
45inspirowany pakietem HTMLSax dla Pythona. Alexander pozwolił na
46modyfikowanie kodu i licencjonowanie do włączenia do PEAR.
47PEAR::XML_HTMLSax wywodzi się z ostatniej wersji z Sourceforge
48(HTMLSax2002082201) i ma zmienione API, aby można było używać HTMLSax
49bardzo podobnie do natywnego rozszerzenia PHP Expat, pozwalając na
50używanie w projektach typu filtry SAX:
c37cbbbc 51http://phpxmlclasses.sourceforge.net/show_doc.php?class=class_sax_filters.html.
45927db1
JR
52Ta wersja dodatkowo poprawia kilka błędów i dodaje nowe możliwości,
53takie jak obsługa przetwarzania instrukcji i znaczników JSP/ASP.
c37cbbbc
JB
54
55Ta klasa ma w PEAR status: %{_status}.
56
6183757b
ER
57%package tests
58Summary: Tests for PEAR::%{_pearname}
d788258a 59Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
5dc7843b 60Group: Development/Languages/PHP
271ccec4 61Requires: %{name} = %{version}-%{release}
bb8b4255 62AutoProv: no
271ccec4 63AutoReq: no
6183757b
ER
64
65%description tests
66Tests for PEAR::%{_pearname}.
67
45927db1 68%description tests -l pl.UTF-8
6183757b
ER
69Testy dla PEAR::%{_pearname}.
70
1c3fb17c 71%prep
6183757b 72%pear_package_setup
1c3fb17c
AG
73
74%install
75rm -rf $RPM_BUILD_ROOT
6183757b
ER
76install -d $RPM_BUILD_ROOT%{php_pear_dir}
77%pear_package_install
1c3fb17c
AG
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%files
83%defattr(644,root,root,755)
6183757b
ER
84%doc install.log
85%doc docs/%{_pearname}/*
f7ba8ef2 86%dir %{php_pear_dir}/%{_class}/%{_subclass}
6183757b 87%{php_pear_dir}/.registry/*.reg
1c3fb17c 88%{php_pear_dir}/%{_class}/*.php
f7ba8ef2 89%{php_pear_dir}/%{_class}/%{_subclass}/*.php
6183757b
ER
90
91%files tests
92%defattr(644,root,root,755)
93%{php_pear_dir}/tests/*
This page took 0.089599 seconds and 4 git commands to generate.