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