Name: perl-HTML-TreeBuilder-LibXML
Version: 0.25
Release: 2%{?dist}
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/
Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/HTML-TreeBuilder-LibXML-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.14
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(XML::LibXML) >= 1.7
# perl-Web-Scraper requires HTML::TreeBuilder::LibXML so don't pull
# in this optional test requirement when bootstrapping (#982293)
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Web::Scraper)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# not picked up by rpm deptracker
Requires: perl(HTML::TreeBuilder::XPath) >= 0.14
Requires: perl(XML::LibXML) >= 1.7
%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::LibXML\\)
%description
HTML::TreeBuilder::XPath is a libxml based compatible interface to
HTML::TreeBuilder, which could be slow for a large document.
HTML::TreeBuilder::LibXML is drop-in-replacement for HTML::TreeBuilder::XPath.
%prep
%setup -q -n HTML-TreeBuilder-LibXML-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes README.md
%{perl_vendorlib}/HTML*
%{_mandir}/man3/HTML*
%changelog
* Sat Jun 06 2015 Jitka Plesnikova - 0.25-2
- Perl 5.22 rebuild
* Sat Apr 25 2015 Emmanuel Seyman - 0.25-1
- Update to 0.25
- Tighten file listing
* Sat Sep 27 2014 Emmanuel Seyman - 0.24-1
- Update to 0.24
* Sun Sep 07 2014 Jitka Plesnikova - 0.23-8
- Perl 5.20 re-rebuild of bootstrapped packages
* Fri Aug 29 2014 Jitka Plesnikova - 0.23-7
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 0.23-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Aug 14 2013 Jitka Plesnikova - 0.23-5
- Perl 5.18 re-rebuild of bootstrapped packages
* Sat Aug 03 2013 Fedora Release Engineering - 0.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Aug 02 2013 Petr Pisar - 0.23-3
- Perl 5.18 rebuild
* Tue Jul 9 2013 Paul Howarth - 0.23-2
- perl-Web-Scraper requires HTML::TreeBuilder::LibXML so don't pull
in this optional test requirement when bootstrapping (#982293)
* Sun May 19 2013 Emmanuel Seyman - 0.23-1
- Update to 0.23
* Sun May 12 2013 Emmanuel Seyman - 0.20-1
- Update to 0.20
- Switch to Build.PL buildsystem
* Thu Feb 14 2013 Fedora Release Engineering - 0.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 0.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jun 22 2012 Petr Pisar - 0.17-2
- Perl 5.16 rebuild
* Mon Jun 11 2012 Emmanuel Seyman - 0.17-1
- Update to 0.17
* Wed Apr 04 2012 Emmanuel Seyman - 0.16-2
- Take into account the review (#809633)
* Tue Apr 03 2012 Emmanuel Seyman - 0.16-1
- Update to 0.16