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