]> git.pld-linux.org Git - packages/php-pear-XML_HTMLSax.git/blame_incremental - 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
1%define _status stable
2%define _pearname XML_HTMLSax
3Summary: %{_pearname} - a SAX based parser for HTML and other badly formed XML documents
4Summary(pl.UTF-8): %{_pearname} - analizator SAX dla HTML-a i innych źle sformułowanych dokumentów XML
5Name: php-pear-%{_pearname}
6Version: 3.0.0
7Release: 8
8License: PHP
9Group: Development/Languages/PHP
10Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
11# Source0-md5: 73b75ef6d68c74115b6da8d151293633
12URL: http://pear.php.net/package/XML_HTMLSax/
13BuildRequires: php-pear-PEAR
14BuildRequires: rpm-php-pearprov >= 4.4.2-11
15BuildRequires: rpmbuild(macros) >= 1.300
16Requires: php(core) >= 4.0.5
17Requires: php-pear
18Obsoletes: php-pear-XML_HTMLSax-tests
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
36In PEAR status of this package is: %{_status}.
37
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
41Alexandra Zhukova i opublikowany pod
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:
49http://phpxmlclasses.sourceforge.net/show_doc.php?class=class_sax_filters.html.
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.
52
53Ta klasa ma w PEAR status: %{_status}.
54
55%prep
56%pear_package_setup
57
58%install
59rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT%{php_pear_dir}
61%pear_package_install
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc install.log
69%doc docs/%{_pearname}/*
70%dir %{php_pear_dir}/XML/HTMLSax
71%{php_pear_dir}/.registry/*.reg
72%{php_pear_dir}/XML/*.php
73%{php_pear_dir}/XML/HTMLSax/*.php
This page took 0.139935 seconds and 5 git commands to generate.