SPECS: php-pear-XML_HTMLSax3.spec (NEW) - created with pear makerp...
glen
glen at pld-linux.org
Sat Oct 8 11:28:44 CEST 2005
Author: glen Date: Sat Oct 8 09:28:44 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- created with pear makerpm and adapter
---- Files affected:
SPECS:
php-pear-XML_HTMLSax3.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-XML_HTMLSax3.spec
diff -u /dev/null SPECS/php-pear-XML_HTMLSax3.spec:1.1
--- /dev/null Sat Oct 8 11:28:44 2005
+++ SPECS/php-pear-XML_HTMLSax3.spec Sat Oct 8 11:28:38 2005
@@ -0,0 +1,114 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class XML
+%define _subclass HTMLSax3
+%define _status beta
+%define _pearname XML_HTMLSax3
+
+Summary: %{_pearname} - A SAX parser for HTML and other badly formed XML documents
+Summary(pl): %{_pearname} -
+Name: php-pear-%{_pearname}
+Version: 3.0.0
+%define _rc RC1
+Release: 0.1
+License: PHP
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}%{_rc}.tgz
+# Source0-md5: -
+URL: http://pear.php.net/package/XML_HTMLSax3
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-common >= 3:4.0.5
+Requires: php-pcre
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+XML_HTMLSax3 is a SAX based XML parser for badly formed XML documents,
+such as HTML. The original code base was developed by Alexander Zhukov
+and published at http://sourceforge.net/projects/phpshelve/. Alexander
+kindly gave permission to modify the code and license for inclusion in
+PEAR.
+
+PEAR::XML_HTMLSax3 provides an API very similar to the native PHP XML
+extension (http://www.php.net/xml), allowing handlers using one to be
+easily adapted to the other. The key difference is HTMLSax will not
+break on badly formed XML, allowing it to be used for parsing HTML
+documents. Otherwise HTMLSax supports all the handlers available from
+Expat except namespace and external entity handlers. Provides methods
+for handling XML escapes as well as JSP/ASP opening and close tags.
+
+Version 1.x introduced an API similar to the native SAX extension but
+used a slow character by character approach to parsing.
+
+Version 2.x has had it's internals completely overhauled to use a
+Lexer, delivering performance *approaching* that of the native XML
+extension, as well as a radically improved, modular design that makes
+adding further functionality easy.
+
+Version 3.x is about fine tuning the API, behaviour and providing a
+mechanism to distinguish HTML "quirks" from badly formed HTML (later
+functionality not yet implemented)
+
+A big thanks to Jeff Moore (lead developer of WACT:
+http://wact.sourceforge.net) who's largely responsible for new design,
+as well input from other members at Sitepoint's Advanced PHP forums:
+http://www.sitepointforums.com/showthread.php?threadid=121246.
+
+Thanks also to Marcus Baker (lead developer of SimpleTest:
+http://www.lastcraft.com/simple_test.php) for sorting out the unit
+tests.
+
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+...
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary: Tests for PEAR::%{_pearname}
+Summary(pl): Testy dla PEAR::%{_pearname}
+Group: Development
+Requires: %{name} = %{epoch}:%{version}-%{release}
+AutoReq: no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc install.log
+%doc docs/%{_pearname}/docs/*
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/%{_class}/%{_subclass}
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/%{_pearname}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/10/08 09:28:38 glen
+- created with pear makerpm and adapter
+
================================================================
More information about the pld-cvs-commit
mailing list