8
0
Pascal Bleser
2010-09-02 05:13:41 +00:00
committed by Git OBS Bridge
parent 74bf79d104
commit c3480e64ab
4 changed files with 54 additions and 53 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18
size 75523

3
HTML-Parser-3.68.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:430e852cd4e6c5f178e7d60f05fc17419de7cf3192d5ed75df01c47d318e16c2
size 89289

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org
- replaced auto-generated spec file
- update to 3.68:
* declare the encoding of the POD to be utf8
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de

View File

@@ -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. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@@ -15,38 +15,34 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# vim: set sw=4 ts=4 et nu:
# norootforbuild # norootforbuild
%bcond_with opt %bcond_with opt
Name: perl-HTML-Parser Name: perl-HTML-Parser
%define cpan_name HTML-Parser Version: 3.68
Release: 0
Summary: HTML parser class Summary: HTML parser class
Version: 3.67 Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz
Release: 1 URL: http://search.cpan.org/dist/HTML-Parser
License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Parser/ License: Perl License
#Source: http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{version}.tar.gz BuildRoot: %{_tmppath}/build-%{name}-%{version}
Source: %{cpan_name}-%{version}.tar.bz2 Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120 BuildRequires: make
BuildRequires: perl-macros BuildRequires: perl(Test::More)
%endif BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(XSLoader)
BuildRequires: perl(HTML::Tagset) >= 3
Requires: perl(XSLoader)
Requires: perl(HTML::Tagset) >= 3
Recommends: perl(HTML::Headers)
%if %{with opt} %if %{with opt}
BuildRequires: perl(HTTP::Headers) BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
%endif %endif
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 %description
Objects of the HTML::Parser class will recognize markup and separate it Objects of the HTML::Parser class will recognize markup and separate it
@@ -55,51 +51,49 @@ kinds of markup and text are recognized, the corresponding event handlers
are invoked. are invoked.
HTML::Parser is not a generic SGML parser. We have tried to make it able to 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 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 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 strictly following one of the many HTML specifications from W3C. Where
there is disagreement, there is often an option that you can enable to there is disagreement, there is often an option that you can enable to
get the official behaviour. get the official behaviour.
The document to be parsed may be supplied in arbitrary chunks. This makes 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 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 want to use HTML::PullParser. This is an HTML::Parser subclass that allows
a more conventional program structure. a more conventional program structure.
Authors:
--------
libwww@perl.org
COPYRIGHT
© 1995-2008 Gisle Aas. All rights reserved.
© 1999-2000 Michael A. Chase. All rights reserved.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n "HTML-Parser-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
# rpmlint: spurious-executable-perm # rpmlint: spurious-executable-perm
find ./eg -type f -exec %{__chmod} 0644 {} \; find ./eg -type f -exec %__chmod 0644 {} \;
%{__chmod} 0644 mkpfunc mkhctype %__chmod 0644 mkpfunc mkhctype
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %__perl Makefile.PL PREFIX="%{_prefix}"
%{__make} %{?_smp_mflags} %__make %{?jobs:-j%{jobs}}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files %files
%defattr(-,root,root,-) %defattr(-,root,root)
%doc Changes mkhctype mkpfunc README TODO eg %doc Changes mkhctype mkpfunc README TODO eg
%dir %{perl_vendorarch}/HTML
%{perl_vendorarch}/HTML/*.pm
%dir %{perl_vendorarch}/auto/HTML
%{perl_vendorarch}/auto/HTML/Parser
%doc %{perl_man3dir}/HTML::*.%{perl_man3ext}%{ext_man}
/var/adm/perl-modules/%{name}
%changelog