Name: perl-HTML-TableExtract
Version: 2.15
Release: 4%{?dist}
Summary: A Perl module for extracting content in HTML tables
License: GPL+ or Artistic
URL: http://www.mojotoad.com/sisk/projects/HTML-TableExtract/
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSISK/HTML-TableExtract-%{version}.tar.gz
Patch0: HTML-TableExtract-2.15-fix-testsuite.patch
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# build requirements
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# runtime requirements
BuildRequires: perl(Carp)
BuildRequires: perl(HTML::ElementTable) >= 1.16
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Parser)
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# tests requirements
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
BuildRequires: perl(lib)
Requires: perl(HTML::ElementTable) >= 1.16
Requires: perl(HTML::TreeBuilder)
%description
HTML::TableExtract is a module that simplifies the extraction of
information contained in tables within HTML documents.
Tables of note may be specified using Headers, Depth, Count,
Attributes, or some combination of the three. See the module
documentation for details.
%prep
%setup -q -n HTML-TableExtract-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
chmod -R u+w $RPM_BUILD_ROOT/*
%check
HTE_DEV_TESTS=1 make test
%files
%doc Changes README
%{perl_vendorlib}/HTML/
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 30 2020 Fedora Release Engineering - 2.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 2.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 2.15-2
- Perl 5.30 rebuild
* Wed Apr 03 2019 Emmanuel Seyman - 2.15-1
- Replace tabs in the spec file with spaces to please rpmlint
- Pass NO_PACKLIST to Makefile.PL
- Update to 2.15
- Rework dependencies, order them by type and enable all tests
* Fri Feb 01 2019 Fedora Release Engineering - 2.13-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 2.13-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova - 2.13-8
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 2.13-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 2.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova - 2.13-5
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 2.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova - 2.13-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 2.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Jun 29 2015 Bill Nottingham - 2.13-1
- update to 2.13 (#1230604)
* Thu Jun 18 2015 Fedora Release Engineering - 2.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova - 2.11-7
- Perl 5.22 rebuild
* Fri Aug 29 2014 Jitka Plesnikova - 2.11-6
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 2.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jan 23 2014 Bill Nottingham - 2.11-4
- fix requires to be more correct (#1056804)
* Sat Aug 03 2013 Fedora Release Engineering - 2.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jul 25 2013 Petr Pisar - 2.11-2
- Perl 5.18 rebuild
* Wed Mar 06 2013 Petr Šabata - 2.11-1
- 2.11 build
- Minor spec cleanup
- Fix the build by correcting BRs
* Thu Feb 14 2013 Fedora Release Engineering - 2.10-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 2.10-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 14 2012 Petr Pisar - 2.10-12
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 2.10-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jun 21 2011 Marcela Mašláňová - 2.10-10
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering - 2.10-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Marcela Maslanova - 2.10-8
- 661697 rebuild for fixing problems with vendorach/lib
* Sun May 02 2010 Marcela Maslanova - 2.10-7
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal - 2.10-6
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering - 2.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering - 2.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Feb 2 2008 Tom "spot" Callaway - 2.10-3
- rebuild for new perl
* Fri Aug 3 2007 Bill Nottingham
- clarify license tag
* Wed Jun 20 2007 Bill Nottingham - 2.10-2
- EPEL build tweaks
* Mon Jan 8 2007 Bill Nottingham - 2.10-1
- update to 2.10
* Thu Sep 14 2006 Bill Nottingham - 2.07-3
- bump for rebuild
* Mon Apr 10 2006 Bill Nottingham - 2.07-2
- add some buildprereqs for testing
* Fri Apr 7 2006 Bill Nottingham - 2.07-1
- initial packaging