150 lines
4.3 KiB
RPMSpec
150 lines
4.3 KiB
RPMSpec
#
|
|
# 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 <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
|