Compare commits

...

10 Commits

Author SHA256 Message Date
9a2342a7fa Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=16
2024-08-10 21:09:43 +00:00
e090fec7fc Accepting request 918674 from devel:languages:perl:autoupdate
- updated to 0.992
   see /usr/share/doc/packages/perl-HTML-HTML5-Parser/Changes

OBS-URL: https://build.opensuse.org/request/show/918674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=15
2021-09-13 11:50:26 +00:00
5a6ac7cfe6 fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=14
2020-10-20 15:50:50 +00:00
cc917934cd OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=13 2018-10-11 14:25:20 +00:00
a05016233c OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=12 2018-10-11 14:23:32 +00:00
1b11e6afd8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=11 2018-10-11 14:19:51 +00:00
9e4bdee3c3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=10 2018-10-11 14:16:47 +00:00
b502f7879f OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=9 2018-10-11 13:55:11 +00:00
47a987865f OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=8 2018-10-11 13:54:50 +00:00
f3d74f8d9e OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=4 2018-10-11 13:53:16 +00:00
6 changed files with 105 additions and 38 deletions

View File

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

View File

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

View File

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

35
cpanspec.yml Normal file
View File

@@ -0,0 +1,35 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@@ -1,8 +1,19 @@
-------------------------------------------------------------------
Thu Oct 11 13:52:43 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
Thu Sep 9 03:06:51 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 0.992
see /usr/share/doc/packages/perl-HTML-HTML5-Parser/Changes
-------------------------------------------------------------------
Tue Oct 20 15:46:41 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix build
-------------------------------------------------------------------
Thu Oct 11 13:52:43 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix build, update to 0.301
-------------------------------------------------------------------
Sun May 1 10:29:45 UTC 2011 - coolo@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-HTML5-Parser (Version 0.103)
# spec file for package perl-HTML-HTML5-Parser
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,31 +12,59 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-HTML-HTML5-Parser
Version: 0.103
Release: 1
License: GPL+ or Artistic
%define cpan_name HTML-HTML5-Parser
Summary: parse HTML reliably
Url: http://search.cpan.org/dist/HTML-HTML5-Parser/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
Name: perl-HTML-HTML5-Parser
Version: 0.992.0
Release: 0
# 0.992 -> normalize -> 0.992.0
%define cpan_version 0.992
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse HTML reliably
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Error)
BuildRequires: perl(HTML::Encoding) >= 0.55
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Module::Signature) >= 0.66
BuildRequires: perl(XML::LibXML) >= 1.60
Requires: perl(Error)
Requires: perl(HTML::Encoding) >= 0.55
Requires: perl(LWP::UserAgent)
Requires: perl(XML::LibXML) >= 1.60
BuildRequires: perl(HTML::HTML5::Entities) >= 0.2.0
BuildRequires: perl(HTTP::Tiny)
BuildRequires: perl(IO::HTML)
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(URI::file)
BuildRequires: perl(XML::LibXML) >= 1.94
BuildRequires: perl(XML::LibXML::Devel)
Requires: perl(HTML::HTML5::Entities) >= 0.2.0
Requires: perl(HTTP::Tiny)
Requires: perl(IO::HTML)
Requires: perl(Try::Tiny)
Requires: perl(URI::file)
Requires: perl(XML::LibXML) >= 1.94
Requires: perl(XML::LibXML::Devel)
Provides: perl(HTML::HTML5::Parser) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::DecodeHandle) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::DecodeHandle::ByteBuffer)
Provides: perl(HTML::HTML5::Parser::Charset::DecodeHandle::CharString)
Provides: perl(HTML::HTML5::Parser::Charset::DecodeHandle::Encode)
Provides: perl(HTML::HTML5::Parser::Charset::DecodeHandle::ISO2022JP)
Provides: perl(HTML::HTML5::Parser::Charset::Info) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::USASCII)
Provides: perl(HTML::HTML5::Parser::Charset::UnicodeChecker) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::UniversalCharDet) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::WebLatin1) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::WebLatin5)
Provides: perl(HTML::HTML5::Parser::Charset::WebThai) = %{version}
Provides: perl(HTML::HTML5::Parser::Charset::WebThai::WebTIS620)
Provides: perl(HTML::HTML5::Parser::Error) = %{version}
Provides: perl(HTML::HTML5::Parser::TagSoupParser) = %{version}
Provides: perl(HTML::HTML5::Parser::TagSoupParser::RestartParser)
Provides: perl(HTML::HTML5::Parser::Tokenizer) = %{version}
Provides: perl(HTML::HTML5::Parser::UA) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -53,26 +81,22 @@ Changes include:
non-CPAN packages.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes Changes.ttl Changes.xml README
%doc Changes COPYRIGHT CREDITS doap.ttl examples NEWS README TODO
%license LICENSE
%changelog