# # spec file for package perl-HTML-Parser (Version 3.60) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-HTML-Parser BuildRequires: perl-HTML-Tagset Version: 3.60 Release: 1 Provides: perl_htp Obsoletes: perl_htp Requires: perl = %{perl_version} AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License Url: http://cpan.org/modules/by-module/HTML/ Summary: Perl HTML Interface Source: HTML-Parser-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: perl-HTML-Tagset %description This is a collection of modules that parse and extract information from HTML documents. Authors: -------- libwww@perl.org %prep %setup -q -n HTML-Parser-%{version} %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make make test %install rm -rf $RPM_BUILD_ROOT %perl_make_install %perl_process_packlist chmod 755 eg/hform %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README TODO eg %doc %{_mandir}/man?/* %{perl_vendorarch}/HTML %{perl_vendorarch}/auto/HTML /var/adm/perl-modules/%{name} %changelog * Fri Feb 27 2009 anicka@suse.cz - update to 3.60 * Spelling fixes. * Test multi-value headers. * Documentation improvements. * Do not terminate head parsing on the element * Add support for HTML 5 and new HEAD elements. * Short description of the htextsub example * Suppress warning when encode_entities is called with undef * HTML::Parser doesn't compile with perl 5.8.0. * Tue Jan 20 2009 anicka@suse.cz - update to 3.59 * Restore perl-5.6 compatibility for HTML::HeadParser. * Suppress "Parsing of undecoded UTF-8 will give garbage" warning with attr_encoded * The