0137b2
Name:           perl-HTML-Tree
0137b2
Epoch:          1
0137b2
Version:        5.03
bb8013
Release:        2%{?dist}
0137b2
Summary:        HTML tree handling modules for Perl
0137b2
Group:          Development/Libraries
0137b2
License:        GPL+ or Artistic
0137b2
URL:            http://search.cpan.org/dist/HTML-Tree/
0137b2
Source0:        http://search.cpan.org/CPAN/authors/id/C/CJ/CJM/HTML-Tree-%{version}.tar.gz
0137b2
BuildArch:      noarch
0137b2
BuildRequires:  perl
0137b2
BuildRequires:  perl(base)
0137b2
BuildRequires:  perl(Carp)
0137b2
BuildRequires:  perl(constant)
0137b2
BuildRequires:  perl(Encode)
0137b2
BuildRequires:  perl(Exporter)
0137b2
BuildRequires:  perl(HTML::Entities)
0137b2
BuildRequires:  perl(HTML::Parser) >= 3.46
0137b2
BuildRequires:  perl(HTML::Tagset) >= 3.02
0137b2
BuildRequires:  perl(integer)
0137b2
BuildRequires:  perl(LWP::UserAgent)
0137b2
BuildRequires:  perl(Module::Build)
0137b2
BuildRequires:  perl(Scalar::Util)
0137b2
BuildRequires:  perl(strict)
0137b2
BuildRequires:  perl(Test::Fatal)
0137b2
BuildRequires:  perl(Test::More)
0137b2
BuildRequires:  perl(Test::Pod) >= 1.00
0137b2
BuildRequires:  perl(URI::file)
0137b2
BuildRequires:  perl(vars)
0137b2
BuildRequires:  perl(warnings)
0137b2
%if !%{defined perl_bootstrap}
0137b2
# HTML::FormatText (perl-HTML-Format) has BR: perl(HTML::TreeBuilder) from this package
0137b2
BuildRequires:  perl(HTML::FormatText)
0137b2
%if ! (0%{?rhel} >= 7)
0137b2
# perl-Test-LeakTrace -> perl-Test-Valgrind -> perl-XML-Twig -> perl-HTML-Tree
0137b2
BuildRequires:  perl(Test::LeakTrace)
0137b2
%endif
0137b2
%endif
0137b2
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0137b2
Requires:       perl(HTML::FormatText)
0137b2
Requires:       perl(LWP::UserAgent)
0137b2
Requires:       perl(Scalar::Util)
0137b2
0137b2
%description
0137b2
This distribution contains a suite of modules for representing,
0137b2
creating, and extracting information from HTML syntax trees; there is
0137b2
also relevant documentation.  These modules used to be part of the
0137b2
libwww-perl distribution, but are now unbundled in order to facilitate
0137b2
a separate development track.
0137b2
0137b2
%prep
0137b2
%setup -q -n HTML-Tree-%{version}
0137b2
0137b2
%build
0137b2
perl Build.PL installdirs=vendor
0137b2
./Build
0137b2
0137b2
%install
0137b2
./Build install destdir="%{buildroot}" create_packlist=0
0137b2
%{_fixperms} %{buildroot}
0137b2
0137b2
%check
0137b2
./Build test
0137b2
0137b2
%files
0137b2
%doc Changes README TODO
0137b2
%{_bindir}/htmltree
0137b2
%{perl_vendorlib}/HTML
0137b2
%{_mandir}/man3/HTML::*3*
0137b2
0137b2
%changelog
bb8013
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:5.03-2
bb8013
- Mass rebuild 2013-12-27
bb8013
0137b2
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 1:5.03-1.1
0137b2
- Fix the dependency list
0137b2
0137b2
* Mon Nov 12 2012 Petr Šabata <contyk@redhat.com> - 1:5.03-1
0137b2
- 5.03 bump
0137b2
0137b2
* Tue Oct 16 2012 Petr Pisar <ppisar@redhat.com> - 1:5.02-6
0137b2
- Do not build-require Test::LeakTrace on RHEL >= 7
0137b2
0137b2
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.02-5
0137b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0137b2
0137b2
* Tue Jul 17 2012 Paul Howarth <paul@city-fan.org> - 1:5.02-4
0137b2
- Don't BR: perl(Test::LeakTrace) when bootstrapping
0137b2
- Don't use macros for commands
0137b2
- Don't need to remove empty directories from the buildroot
0137b2
- Drop explicit provides for perl(HTML::Tree) now that CPAN and RPM versions
0137b2
  are back in sync
0137b2
0137b2
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1:5.02-3
0137b2
- Perl 5.16 re-rebuild of bootstrapped packages
0137b2
0137b2
* Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 1:5.02-2
0137b2
- Perl 5.16 rebuild
0137b2
- Break dependency cycle with perl-HTML-FormatText during bootstrap
0137b2
0137b2
* Mon Jul  2 2012 Tom Callaway <spot@fedoraproject.org> - 1:5.02-1
0137b2
- update to 5.02
0137b2
0137b2
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1:4.2-5
0137b2
- Perl 5.16 rebuild
0137b2
0137b2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.2-4
0137b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0137b2
0137b2
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1:4.2-3
0137b2
- Perl mass rebuild
0137b2
0137b2
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:4.2-2
0137b2
- Perl mass rebuild
0137b2
0137b2
* Tue Jun 28 2011 Tom Callaway <spot@fedoraproject.org> - 1:4.2-1
0137b2
- update to 4.2
0137b2
0137b2
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:4.1-3
0137b2
- Perl mass rebuild
0137b2
0137b2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.1-2
0137b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0137b2
0137b2
* Wed Dec  1 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1:4.1-1
0137b2
- update to 4.1
0137b2
0137b2
* Mon Oct 18 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:3.40-1
0137b2
- update, adjust specfile to use Build.PL
0137b2
0137b2
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:3.23-11
0137b2
- Mass rebuild with perl-5.12.0
0137b2
0137b2
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:3.23-10
0137b2
- rebuild against perl 5.10.1
0137b2
0137b2
* Mon Sep 28 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.23-9
0137b2
- apply Jeff Fearn's fix for the missing close tag bug (bz 535587)
0137b2
0137b2
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.23-8
0137b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0137b2
0137b2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.23-7
0137b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0137b2
0137b2
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.23-6
0137b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0137b2
0137b2
* Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.23-5
0137b2
- fix source url
0137b2
0137b2
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:3.23-4
0137b2
- Rebuild for perl 5.10 (again)
0137b2
0137b2
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-3
0137b2
- rebuild for new perl
0137b2
0137b2
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-2
0137b2
- license tag fix
0137b2
0137b2
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 3.23-1
0137b2
- bump to 3.23
0137b2
0137b2
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.21-1
0137b2
- bump to 3.21
0137b2
0137b2
* Tue Jul 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.20-2
0137b2
- bump epoch to ensure clean upgrades
0137b2
0137b2
* Fri Jul  7 2006 Tom "spot" Callaway <tcallawa@redhat.com> 3.20-1
0137b2
- bump to 3.20
0137b2
0137b2
* Mon Jan 16 2006 Ralf Corsépius <rc040203@freenet.de> - 3.1901-2
0137b2
- BR: perl(Test::Pod).
0137b2
0137b2
* Mon Jan 16 2006 Ralf Corsépius <rc040203@freenet.de> - 3.1901-1
0137b2
- Spec cleanup.
0137b2
- Filter Provides: perl(main).
0137b2
- Upstream update.
0137b2
0137b2
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
0137b2
- rebuilt
0137b2
0137b2
* Tue Jan  4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:3.18-2
0137b2
- Don't install htmltree into %%{_bindir} but include it in docs.
0137b2
0137b2
* Sat Dec  4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.18-0.fdr.1
0137b2
- First build.