1
0

Accepting request 19021 from devel:languages:perl

Copy from devel:languages:perl/perl-HTML-Parser based on submit request 19021 from user coolo

OBS-URL: https://build.opensuse.org/request/show/19021
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Parser?expand=0&rev=5
This commit is contained in:
OBS User autobuild 2009-08-27 22:17:09 +00:00 committed by Git OBS Bridge
parent 12a0a0b4fd
commit 4b776fa8f5
4 changed files with 77 additions and 110 deletions

View File

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

3
HTML-Parser-3.61.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Thu Aug 27 14:39:20 CEST 2009 - coolo@novell.com
- remove strange obsoletes
-------------------------------------------------------------------
Sat Jul 25 19:38:06 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
Sun Jun 28 20:17:46 CEST 2009 - chris@computersalat.de
- update to 3.61
* Test that triggers the crash that Chip fixed
* Complete documented list of literal tags
* Avoid crash (referenced pend_text instead of skipped_text)
* Reference HTML::LinkExttor [RT#43164]
- added perl-macros
o autogen filelist with perl_gen_filelist
- spec mods
o fixed deps
- fixed rpmlint warnings
o spurious-executable-perm in doc
-------------------------------------------------------------------
Fri Feb 27 10:48:05 CET 2009 - anicka@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-HTML-Parser (Version 3.60)
# spec file for package perl-HTML-Parser (Version 3.61)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,131 +19,71 @@
Name: perl-HTML-Parser
BuildRequires: perl-HTML-Tagset
Version: 3.60
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: HTML parser class
Version: 3.61
Release: 1
Provides: perl_htp
Obsoletes: perl_htp
Requires: perl = %{perl_version}
AutoReqProv: on
License: Artistic License ..
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
Url: http://search.org/dist/HTML-Parser
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl-HTML-Tagset
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(HTML::Tagset) >= 3
BuildRequires: perl(XSLoader)
Requires: perl = %{perl_version}
Requires: perl(HTML::Tagset) >= 3
Requires: perl(XSLoader)
Requires: perl(HTTP::Headers)
%description
This is a collection of modules that parse and extract information from
HTML documents.
Objects of the HTML::Parser class will recognize markup and separate it from
plain text (alias data content) in HTML documents. As different 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.
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.
Authors:
--------
libwww@perl.org
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.
Authors: libwww@perl.org
COPYRIGHT
© 1995-2008 Gisle Aas. All rights reserved.
© 1999-2000 Michael A. Chase. All rights reserved.
%prep
%setup -q -n HTML-Parser-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%check
%{__make} test
%install
rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist
chmod 755 eg/hform
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%files -f %{name}.files
%defattr(0644,root,root,0755)
%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 <object> element
* Add support for HTML 5 <meta charset> 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 <iframe> element content is now parsed in literal mode.
* Parsing of <script> and <style> content ends on the first end tag
even when that tag was in a quoted string. That seems to be the
behaviour of all modern browsers.
* Implement backquote() attribute
* Test and documentation tweaks
* Mon Jan 15 2007 anicka@suse.cz
- update to 3.56
* Cloning of parser state for compatiblity with threads.
* Don't require whitespace between declaration tokens.
* Tue Jul 11 2006 anicka@suse.cz
- update to 3.55
- minor release
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 06 2006 anicka@suse.cz
- update to 3.48
* Thu Feb 17 2005 mjancar@suse.cz
- update to 3.45
* Fri Aug 06 2004 mjancar@suse.cz
- update to 3.36
* Thu Feb 26 2004 mjancar@suse.cz
- update to 3.35
* Tue Oct 21 2003 mjancar@suse.cz
- update to 3.33
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Thu Jul 17 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Mon Jun 16 2003 mjancar@suse.cz
- fix filelist
* Fri Jun 06 2003 mjancar@suse.cz
- update to 3.28
- use $RPM_OPT_FLAGS
- don't package MANIFEST
* Tue May 20 2003 mjancar@suse.cz
- remove unpackaged files
* Wed Jul 10 2002 prehak@suse.cz
- updated to version 3.26
- added eg directory into documentation
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue Oct 30 2001 rvasice@suse.cz
- added perl-HTML-Tagset to Requires
* Tue Aug 14 2001 rvasice@suse.cz
- update to version 3.25
* Mon Mar 26 2001 cihlar@suse.cz
- added perl-HTML-Tagset to neededforbuild
- added make test
* Wed Mar 14 2001 cihlar@suse.cz
- update to version 3.19
* Tue Nov 14 2000 cihlar@suse.cz
- renamed perl_htp -> perl-HTML-Parser
- update to version 3.13
* Tue Aug 22 2000 cihlar@suse.cz
- update to version 3.10
- bzipped sources
* Mon Aug 21 2000 ro@suse.de
- adapted for perl-5.6
* Thu Apr 13 2000 ug@suse.de
- added to distribution