e3610b
Name:           perl-HTML-Parser
e3610b
Summary:        Perl module for parsing HTML
e3610b
Version:        3.72
e3610b
Release:        15%{?dist}
e3610b
License:        GPL+ or Artistic
e3610b
Source0:        https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz 
e3610b
URL:            https://metacpan.org/release/HTML-Parser
e3610b
BuildRequires:  coreutils
e3610b
BuildRequires:  findutils
e3610b
BuildRequires:  gcc
e3610b
BuildRequires:  glibc-common
e3610b
BuildRequires:  make
e3610b
BuildRequires:  perl-devel
e3610b
BuildRequires:  perl-generators
e3610b
BuildRequires:  perl-interpreter
e3610b
BuildRequires:  perl(Carp)
e3610b
BuildRequires:  perl(Config)
e3610b
BuildRequires:  perl(Exporter)
e3610b
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
e3610b
BuildRequires:  perl(File::Spec)
e3610b
BuildRequires:  perl(FileHandle)
e3610b
BuildRequires:  perl(HTML::Tagset) >= 3
e3610b
%if %{undefined perl_bootstrap}
e3610b
# This creates cycle with perl-HTTP-Message.
e3610b
BuildRequires:  perl(HTTP::Headers)
e3610b
%endif
e3610b
BuildRequires:  perl(IO::File)
e3610b
BuildRequires:  perl(SelectSaver)
e3610b
BuildRequires:  perl(strict)
e3610b
BuildRequires:  perl(Test)
e3610b
BuildRequires:  perl(Test::More)
e3610b
BuildRequires:  perl(threads)
e3610b
BuildRequires:  perl(URI)
e3610b
BuildRequires:  perl(vars)
e3610b
BuildRequires:  perl(XSLoader)
e3610b
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
e3610b
Requires:       perl(HTML::Tagset) >= 3
e3610b
Requires:       perl(HTTP::Headers)
e3610b
Requires:       perl(IO::File)
e3610b
Requires:       perl(URI)
e3610b
e3610b
%{?perl_default_filter}
e3610b
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTML::Tagset\\)$
e3610b
e3610b
%description
e3610b
The HTML-Parser module for perl to parse and extract information from
e3610b
HTML documents, including the HTML::Entities, HTML::HeadParser,
e3610b
HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
e3610b
e3610b
%prep
e3610b
%setup -q -n HTML-Parser-%{version}
e3610b
chmod -c a-x eg/*
e3610b
e3610b
%build
e3610b
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
e3610b
make %{?_smp_mflags}
e3610b
e3610b
%install
e3610b
make pure_install DESTDIR=%{buildroot}
e3610b
file=%{buildroot}%{_mandir}/man3/HTML::Entities.3pm
e3610b
iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_" && \
e3610b
    touch -r ${file} ${file}_ && \
e3610b
    mv -f "${file}_" "$file"
e3610b
find %{buildroot} -type f -name '*.bs' -empty -delete
e3610b
%{_fixperms} %{buildroot}/*
e3610b
e3610b
%check
e3610b
make test
e3610b
e3610b
%files
e3610b
%doc Changes README TODO eg/
e3610b
%{perl_vendorarch}/HTML/
e3610b
%{perl_vendorarch}/auto/HTML/
e3610b
%{_mandir}/man3/*.3pm*
e3610b
e3610b
%changelog
e3610b
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-15
e3610b
- Rebuild with enable hardening (bug #1636329)
e3610b
e3610b
* Mon Jul 09 2018 Petr Pisar <ppisar@redhat.com> - 3.72-14
e3610b
- Remove tests subpackage
e3610b
e3610b
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-13
e3610b
- Perl 5.28 re-rebuild of bootstrapped packages
e3610b
e3610b
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-12
e3610b
- Perl 5.28 rebuild
e3610b
e3610b
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-11
e3610b
- Add build-require gcc
e3610b
e3610b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.72-10
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e3610b
e3610b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.72-9
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e3610b
e3610b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.72-8
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e3610b
e3610b
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-7
e3610b
- Perl 5.26 re-rebuild of bootstrapped packages
e3610b
e3610b
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-6
e3610b
- Perl 5.26 rebuild
e3610b
e3610b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.72-5
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e3610b
e3610b
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-4
e3610b
- Perl 5.24 re-rebuild of bootstrapped packages
e3610b
e3610b
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-3
e3610b
- Perl 5.24 rebuild
e3610b
e3610b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.72-2
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e3610b
e3610b
* Wed Jan 20 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3.72-1
e3610b
- 3.72 bump
e3610b
e3610b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-11
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e3610b
e3610b
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.71-10
e3610b
- Perl 5.22 re-rebuild of bootstrapped packages
e3610b
e3610b
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 3.71-9
e3610b
- Perl 5.22 rebuild
e3610b
e3610b
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.71-8
e3610b
- Perl 5.20 re-rebuild of bootstrapped packages
e3610b
e3610b
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.71-7
e3610b
- Perl 5.20 rebuild
e3610b
e3610b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-6
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e3610b
e3610b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-5
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e3610b
e3610b
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.71-4
e3610b
- Perl 5.18 re-rebuild of bootstrapped packages
e3610b
e3610b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.71-3
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e3610b
e3610b
* Thu Aug 01 2013 Petr Šabata <contyk@redhat.com> - 3.71-2
e3610b
- Fix the dependency list
e3610b
- Fix bogus dates in the changelog
e3610b
e3610b
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 3.71-2
e3610b
- Perl 5.18 rebuild
e3610b
e3610b
* Mon May 13 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.71-1
e3610b
- 3.71 bump
e3610b
e3610b
* Tue Apr 02 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.70-1
e3610b
- 3.70 bump
e3610b
e3610b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.69-10
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e3610b
e3610b
* Fri Nov 23 2012 Petr Šabata <contyk@redhat.com> - 3.69-9
e3610b
- Fix the dep list
e3610b
- Modernize the spec a bit
e3610b
e3610b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.69-8
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e3610b
e3610b
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 3.69-7
e3610b
- Perl 5.16 re-rebuild of bootstrapped packages
e3610b
e3610b
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 3.69-6
e3610b
- Perl 5.16 rebuild
e3610b
e3610b
* Mon Apr 16 2012 Petr Pisar <ppisar@redhat.com> - 3.69-5
e3610b
- Exclude HTTP::Headers build-dependency at Perl bootstrap (bug #810223)
e3610b
e3610b
* Mon Apr 16 2012 Petr Pisar <ppisar@redhat.com> - 3.69-4
e3610b
- Revert "Exclude HTTP::Headers dependency at Perl bootstrap"
e3610b
e3610b
* Wed Jan 18 2012 Petr Pisar <ppisar@redhat.com> - 3.69-3
e3610b
- Exclude HTTP::Headers dependency at Perl bootstrap
e3610b
e3610b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.69-2
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e3610b
e3610b
* Mon Oct 17 2011 Petr Sabata <contyk@redhat.com> - 3.69-1
e3610b
- 3.69 bump
e3610b
- Drop Buildroot and defattr, cleanup
e3610b
e3610b
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.68-4
e3610b
- Perl mass rebuild
e3610b
e3610b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.68-3
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e3610b
e3610b
* Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.68-2
e3610b
- 661697 rebuild for fixing problems with vendorach/lib
e3610b
e3610b
* Tue Sep 07 2010 Petr Sabata <psabata@redhat.com> - 3.68-1
e3610b
- Update to the latest upstream release, v3.68
e3610b
e3610b
* Wed Sep 01 2010 Petr Sabata <psabata@redhat.com> - 3.67-1
e3610b
- Update to the latest upstream release, v3.67
e3610b
e3610b
* Mon Jul 12 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.66-1
e3610b
- update
e3610b
e3610b
* Fri Jul 09 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.65-1
e3610b
- and re-add real-name macro back, maintainertool can't handle it
e3610b
e3610b
- update by Fedora::App::MaintainerTools 0.006
e3610b
- updating to latest GA CPAN version (3.65)
e3610b
- added a new br on perl(ExtUtils::MakeMaker) (version 0)
e3610b
- altered br on perl(HTML::Tagset) (3.03, => 3)
e3610b
- added a new br on perl(Test::More) (version 0)
e3610b
- added a new br on perl(XSLoader) (version 0)
e3610b
- altered req on perl(HTML::Tagset) (3.03 => 3)
e3610b
- added a new req on perl(XSLoader) (version 0)
e3610b
e3610b
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.64-3
e3610b
- Mass rebuild with perl-5.12.0
e3610b
e3610b
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 3.64-2
e3610b
- rebuild against perl 5.10.1
e3610b
e3610b
* Mon Nov  2 2009 Stepan Kasal <skasal@redhat.com> - 3.64-1
e3610b
- new upstream version
e3610b
e3610b
* Fri Oct 23 2009 Warren Togami <wtogami@redhat.com> - 3.63-2
e3610b
- 3.63 CVE-2009-3627
e3610b
e3610b
* Thu Sep 17 2009 Warren Togami <wtogami@redhat.com> - 3.62-1
e3610b
- 3.62
e3610b
e3610b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.60-2
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e3610b
e3610b
* Mon Jun 08 2009 Chris Weyl <cweyl@alumni.drew.edu> - 3.60-1
e3610b
- update to latest for mojomojo
e3610b
- filter bad provides (Parser.so)
e3610b
e3610b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.59-2
e3610b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e3610b
e3610b
* Tue Dec 16 2008 Marcela Mašláňová <mmaslano@redhat.com> - 3.59-1
e3610b
- update to the latest version for Padre editor
e3610b
e3610b
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.56-5
e3610b
- Rebuild for perl 5.10 (again)
e3610b
e3610b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.56-4
e3610b
- Autorebuild for GCC 4.3
e3610b
e3610b
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.56-3
e3610b
- rebuild for new perl
e3610b
e3610b
* Wed Aug 29 2007 Robin Norwood <rnorwood@redhat.com> - 3.56-2
e3610b
- Fix license tag
e3610b
- update BuildRequires
e3610b
e3610b
* Sat Feb  3 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 3.56-1
e3610b
- Update to 3.56.
e3610b
- Brought specfile closer to the Fedora's Perl template.
e3610b
- Converted specfile to UTF-8 (changelog entries).
e3610b
- Added examples and doc files.
e3610b
e3610b
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 3.55-1.fc6
e3610b
- Upgrade to 3.55
e3610b
e3610b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.54-1.fc6.1
e3610b
- rebuild
e3610b
e3610b
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 3.54-1
e3610b
- upgrade to 3.54
e3610b
e3610b
* Wed Mar 22 2006 Jason Vas Dias <jvdias@redhat.com> - 3.51-1
e3610b
- upgrade to 3.51
e3610b
e3610b
* Mon Feb 20 2006 Jason Vas Dias <jvdias@redhat.com> - 3.50-1
e3610b
- upgrade to 3.50
e3610b
e3610b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.48-1.1.2
e3610b
- bump again for double-long bug on ppc(64)
e3610b
e3610b
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.48-1.1.1
e3610b
- rebuilt for new gcc4.1 snapshot and glibc changes
e3610b
e3610b
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 3.48-1
e3610b
- rebuild for new perl-5.8.8
e3610b
e3610b
* Mon Dec 19 2005 Jason Vas Dias<jvdias@redhat.com> - 3.48-1
e3610b
- upgrade to 3.48
e3610b
e3610b
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
e3610b
- rebuilt for new gcc
e3610b
e3610b
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
e3610b
- 3.46
e3610b
e3610b
* Fri Apr  1 2005 Michael Schwendt <mschwendt@users.sf.net> - 3.45-1
e3610b
- Update to 3.45 plus heavy spec cleanup.
e3610b
e3610b
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
e3610b
- remove brp-compress
e3610b
e3610b
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 3.35-7
e3610b
- Convert man page to UTF-8
e3610b
e3610b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
e3610b
- rebuilt
e3610b
e3610b
* Wed Mar 17 2004 Chip Turner <cturner@redhat.com> 3.35-2
e3610b
- rebuild for fc1 update
e3610b
e3610b
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
e3610b
- rebuilt
e3610b
e3610b
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 3.35-1
e3610b
- update to 3.35
e3610b
e3610b
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
e3610b
- rebuilt
e3610b
e3610b
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
e3610b
- automated release bump and build
e3610b
e3610b
* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
e3610b
- properly claim directories owned by package so they are removed when package is removed
e3610b
e3610b
* Mon Jun  3 2002 Chip Turner <cturner@redhat.com>
e3610b
- fix for Makefile.PL sometimes prompting for input
e3610b
e3610b
* Wed Mar 27 2002 Chip Turner <cturner@redhat.com>
e3610b
- update to 3.26, move to vendor_perl
e3610b
e3610b
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
e3610b
- automated rebuild
e3610b
e3610b
* Thu Jul 19 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.25-2
e3610b
- imported from mandrake. tweaked man path.
e3610b
e3610b
* Tue Jul 03 2001 François Pons <fpons@mandrakesoft.com> 3.25-1mdk
e3610b
- 3.25.
e3610b
e3610b
* Wed Jun 20 2001 Christian Belisle <cbelisle@mandrakesoft.com> 3.18-3mdk
e3610b
- Fixed distribution tag.
e3610b
- Updated Requires.
e3610b
- Added an option to %%makeinstall.
e3610b
e3610b
* Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 3.18-2mdk
e3610b
- Rebuild against the latest perl.
e3610b
e3610b
* Tue Feb 27 2001 François Pons <fpons@mandrakesoft.com> 3.18-1mdk
e3610b
- 3.18.
e3610b
e3610b
* Tue Jan 30 2001 François Pons <fpons@mandrakesoft.com> 3.15-1mdk
e3610b
- 3.15.
e3610b
e3610b
* Tue Dec 05 2000 François Pons <fpons@mandrakesoft.com> 3.14-1mdk
e3610b
- 3.14.
e3610b
e3610b
* Thu Oct 12 2000 François Pons <fpons@mandrakesoft.com> 3.13-1mdk
e3610b
- 3.13.
e3610b
e3610b
* Tue Aug 29 2000 François Pons <fpons@mandrakesoft.com> 3.11-1mdk
e3610b
- 3.11.
e3610b
e3610b
* Thu Aug 03 2000 François Pons <fpons@mandrakesoft.com> 3.10-2mdk
e3610b
- macroszifications.
e3610b
- add doc.
e3610b
e3610b
* Tue Jul 18 2000 François Pons <fpons@mandrakesoft.com> 3.10-1mdk
e3610b
- removed perllocal.pod from files.
e3610b
- 3.10.
e3610b
e3610b
* Tue Jun 27 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 3.08-1mdk
e3610b
- update to 3.08
e3610b
e3610b
* Wed May 17 2000 David BAUDENS <baudens@mandrakesoft.com> 3.05-4mdk
e3610b
- Fix build for i486
e3610b
- Use %%{_tmppath} for BuildRoot
e3610b
e3610b
* Fri Mar 31 2000 Pixel <pixel@mandrakesoft.com> 3.05-3mdk
e3610b
- rebuild, new group, cleanup
e3610b
e3610b
* Tue Feb 29 2000 Jean-Michel Dault <jmdault@netrevolution.com> 3.0.5-1mdk
e3610b
- upgrade to 3.05
e3610b
e3610b
* Mon Jan  3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
e3610b
- final cleanup for Mandrake 7
e3610b
e3610b
* Thu Dec 30 1999 Jean-Michel Dault <jmdault@netrevolution.com>
e3610b
-updated to 3.02
e3610b
e3610b
* Sun Aug 29 1999 Jean-Michel Dault <jmdault@netrevolution.com>
e3610b
- bzip2'd sources
e3610b
- updated to 2.23
e3610b
e3610b
* Tue May 11 1999 root <root@alien.devel.redhat.com>
e3610b
- Spec file was autogenerated.