forked from pool/perl-HTML-Parser
Updating link to change in openSUSE:Factory/perl-HTML-Parser revision 16.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=feb67860d2b84d0d1671d8b2544cd935
This commit is contained in:
committed by
Git OBS Bridge
parent
b325e85429
commit
8c459ea3d0
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-HTML-Parser (Version 3.67)
|
||||
# spec file for package perl-HTML-Parser (Version 3.68)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -22,7 +22,7 @@
|
||||
Name: perl-HTML-Parser
|
||||
%define cpan_name HTML-Parser
|
||||
Summary: HTML parser class
|
||||
Version: 3.67
|
||||
Version: 3.68
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
@@ -38,14 +38,13 @@ BuildRequires: perl-macros
|
||||
BuildRequires: perl(HTTP::Headers)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
%endif
|
||||
BuildRequires: perl(HTML::Tagset) >= 3
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(HTML::Tagset) >= 3
|
||||
BuildRequires: perl(XSLoader)
|
||||
#
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(HTML::Tagset) >= 3
|
||||
Requires: perl(XSLoader)
|
||||
#
|
||||
Recommends: perl(HTTP::Headers)
|
||||
|
||||
%description
|
||||
@@ -55,33 +54,31 @@ kinds of markup and text are recognized, the corresponding event handlers
|
||||
are invoked.
|
||||
|
||||
HTML::Parser is not a generic SGML parser. We have tried to make it able to
|
||||
deal with the HTML that is actually "out there", and it normally parses as
|
||||
closely as possible to the way the popular web browsers do it instead of
|
||||
strictly following one of the many HTML specifications from W3C. Where
|
||||
there is disagreement, there is often an option that you can enable to
|
||||
get the official behaviour.
|
||||
deal with the HTML that is actually "out there", and it normally parses as
|
||||
closely as possible to the way the popular web browsers do it instead of
|
||||
strictly following one of the many HTML specifications from W3C. Where
|
||||
there is disagreement, there is often an option that you can enable to
|
||||
get the official behaviour.
|
||||
|
||||
The document to be parsed may be supplied in arbitrary chunks. This makes
|
||||
on-the-fly parsing as documents are received from the network possible.
|
||||
on-the-fly parsing as documents are received from the network possible.
|
||||
|
||||
If event driven parsing does not feel right for your application, you might
|
||||
want to use HTML::PullParser. This is an HTML::Parser subclass that allows
|
||||
a more conventional program structure.
|
||||
want to use HTML::PullParser. This is an HTML::Parser subclass that allows
|
||||
a more conventional program structure.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
libwww@perl.org
|
||||
Authors: libwww@perl.org
|
||||
|
||||
COPYRIGHT
|
||||
COPYRIGHT
|
||||
|
||||
© 1995-2008 Gisle Aas. All rights reserved.
|
||||
© 1999-2000 Michael A. Chase. All rights reserved.
|
||||
© 1995-2008 Gisle Aas. All rights reserved.
|
||||
© 1999-2000 Michael A. Chase. All rights reserved.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# rpmlint: spurious-executable-perm
|
||||
find ./eg -type f -exec %{__chmod} 0644 {} \;
|
||||
%{__chmod} 0644 mkpfunc mkhctype
|
||||
find ./eg -type f -exec %__chmod 0644 {} \;
|
||||
%__chmod 0644 mkpfunc mkhctype
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
|
Reference in New Issue
Block a user