forked from pool/perl-HTML-Parser
Accepting request 47507 from devel:languages:perl
checked in (request 47507) OBS-URL: https://build.opensuse.org/request/show/47507 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
23b0772853
commit
b325e85429
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-HTML-Parser (Version 3.68)
|
||||
# spec file for package perl-HTML-Parser (Version 3.67)
|
||||
#
|
||||
# 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.68
|
||||
Version: 3.67
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
@@ -38,13 +38,14 @@ BuildRequires: perl-macros
|
||||
BuildRequires: perl(HTTP::Headers)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(HTML::Tagset) >= 3
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(XSLoader)
|
||||
#
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(HTML::Tagset) >= 3
|
||||
Requires: perl(XSLoader)
|
||||
#
|
||||
Recommends: perl(HTTP::Headers)
|
||||
|
||||
%description
|
||||
@@ -54,31 +55,33 @@ 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