Name: perl-HTML-Toc
Version: 1.12
Release: 38%{?dist}
Summary: Generate, insert and update HTML Table of Contents
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-Toc
Source0: https://cpan.metacpan.org/authors/id/F/FV/FVULTO/HTML-Toc-%{version}.tar.gz
# don't skip man pages
Patch0: man3pods.patch
Patch1: HTML-Toc-1.12-Fix-unescaped-left-brace-in-regex.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Encode)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Find)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Parser)
BuildRequires: perl(Roman)
BuildRequires: perl(strict)
BuildRequires: perl(Test)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::More)
BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Roman)
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(HTML::_.*\\)
%description
Generate, insert and update HTML Table of Contents (ToC).
%prep
%setup -q -n HTML-Toc-%{version}
%patch0 -p 1
%patch1 -p 1
find . -type f | xargs chmod 0644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes
%{perl_vendorlib}/HTML*
%{_mandir}/man3/HTML*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering - 1.12-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova - 1.12-37
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 1.12-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 1.12-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova - 1.12-34
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 1.12-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 1.12-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 1.12-31
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 1.12-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 1.12-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 1.12-28
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 1.12-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 1.12-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova - 1.12-25
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 1.12-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 1.12-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova - 1.12-22
- Perl 5.26 rebuild
* Mon May 22 2017 Jitka Plesnikova - 1.12-21
- Fix unescaped left brace in regex
* Sat Feb 11 2017 Fedora Release Engineering - 1.12-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun May 15 2016 Jitka Plesnikova - 1.12-19
- Perl 5.24 rebuild
* Sun Feb 21 2016 Emmanuel Seyman - 1.12-18
- Remove no-longer used macros and tags
- Pass NO_PACKLIST to Makefile.PL
- Tighten file listing
* Thu Feb 04 2016 Fedora Release Engineering - 1.12-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Oct 15 2015 Jitka Plesnikova - 1.12-16
- Specify all dependencies
* Thu Jun 18 2015 Fedora Release Engineering - 1.12-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova - 1.12-14
- Perl 5.22 rebuild
* Thu Aug 28 2014 Jitka Plesnikova - 1.12-13
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 1.12-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering - 1.12-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Jul 22 2013 Petr Pisar - 1.12-10
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering - 1.12-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 1.12-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 14 2012 Petr Pisar - 1.12-7
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 1.12-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jun 21 2011 Marcela Mašláňová - 1.12-5
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering - 1.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Marcela Maslanova - 1.12-3
- 661697 rebuild for fixing problems with vendorach/lib
* Sun May 02 2010 Marcela Maslanova - 1.12-2
- Mass rebuild with perl-5.12.0
* Mon Jan 04 2010 Iain Arnell 1.12-1
- update to latest upstream version
* Mon Dec 7 2009 Stepan Kasal - 1.11-3
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Mon May 04 2009 Iain Arnell 1.11-1
- Specfile autogenerated by cpanspec 1.77.
- Ensure that man pages are generated
- Filter private provides