]> git.pld-linux.org Git - packages/php-pear-XML_HTMLSax.git/commitdiff
- initial import
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 3 Jun 2003 20:52:06 +0000 (20:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-XML_HTMLSax.spec -> 1.1

php-pear-XML_HTMLSax.spec [new file with mode: 0644]

diff --git a/php-pear-XML_HTMLSax.spec b/php-pear-XML_HTMLSax.spec
new file mode 100644 (file)
index 0000000..608e225
--- /dev/null
@@ -0,0 +1,52 @@
+# ToDo:
+# - pl summary/description
+%include       /usr/lib/rpm/macros.php
+%define         _class          XML
+%define         _subclass       HTMLSax
+%define                _status         beta
+%define                _pearname       %{_class}_%{_subclass}
+Summary:       %{_pearname} - A SAX based parser for HTML and other badly formed XML documents
+Name:          php-pear-%{_pearname}
+Version:       0.9.0rc2
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+URL:           http://pear.php.net/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires:      php-pear
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+XML_HTMLSax 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/, who in
+turn was inspired by the Python HTMLSax package. Alexander kindly gave
+permission to modify the code and license for inclusion in PEAR.
+PEAR::XML_HTMLSax takes the last release from Sourceforge
+(HTMLSax2002082201) and changes the API to make using HTMLSax very
+similar to using the native PHP Expat extension, opening it up for use
+with projects like SAX filters:
+http://phpxmlclasses.sourceforge.net/show_doc.php?class=class_sax_filters.html.
+This version also fixes some bugs and adds further features such as
+the ability to handle processing instructions and JSP/ASP markup.
+
+This class has in PEAR status: %{_status}.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+
+install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}/docs
+%{php_pear_dir}/%{_class}/*.php
This page took 0.0885 seconds and 4 git commands to generate.