Name: perl-HTML-PrettyPrinter
Version: 0.03
Release: 46%{?dist}
Summary: Generate nice HTML files from HTML syntax trees
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-PrettyPrinter
Source0: https://cpan.metacpan.org/authors/id/C/CL/CLMS/HTML-PrettyPrinter-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: glibc-common
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTML::Element) >= 1.56
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Tagset)
BuildRequires: perl(strict)
BuildRequires: perl(Test)
BuildRequires: perl(vars)
%description
HTML::PrettyPrinter produces nicely formatted HTML code from a HTML syntax
tree. It is especially useful if the produced HTML file shall be read or
edited manually afterwards. Various parameters let you adapt the output to
different styles and requirements.
%prep
%setup -q -n HTML-PrettyPrinter-%{version}
iconv -f iso8859-1 -t utf-8 PrettyPrinter.pm > PrettyPrinter.pm.conv \
&& mv -f PrettyPrinter.pm.conv PrettyPrinter.pm
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*3pm.gz
%changelog
* Thu Jan 25 2024 Fedora Release Engineering - 0.03-46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering - 0.03-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering - 0.03-44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering - 0.03-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering - 0.03-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova - 0.03-41
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 0.03-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 0.03-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova - 0.03-38
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering - 0.03-37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering - 0.03-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova - 0.03-35
- Perl 5.32 rebuild
* Thu Jan 30 2020 Fedora Release Engineering - 0.03-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering - 0.03-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova - 0.03-32
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 0.03-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 0.03-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova - 0.03-29
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering - 0.03-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering - 0.03-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 05 2017 Jitka Plesnikova - 0.03-26
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering - 0.03-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Jitka Plesnikova - 0.03-24
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering - 0.03-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Oct 15 2015 Jitka Plesnikova - 0.03-22
- Specify all dependencies
* Thu Jun 18 2015 Fedora Release Engineering - 0.03-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova - 0.03-20
- Perl 5.22 rebuild
* Fri Aug 29 2014 Jitka Plesnikova - 0.03-19
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering - 0.03-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering - 0.03-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 24 2013 Petr Pisar - 0.03-16
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering - 0.03-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering - 0.03-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jun 14 2012 Petr Pisar - 0.03-13
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 0.03-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jun 21 2011 Marcela Mašláňová - 0.03-11
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering - 0.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Dec 17 2010 Marcela Maslanova - 0.03-9
- 661697 rebuild for fixing problems with vendorach/lib
* Sun May 02 2010 Marcela Maslanova - 0.03-8
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal - 0.03-7
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering - 0.03-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering - 0.03-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Mar 05 2008 Tom "spot" Callaway - 0.03-4
- rebuild for new perl
* Sat Jan 12 2008 Xavier Bachelot - 0.03-3
- Fix URL:.
* Wed Jan 09 2008 Xavier Bachelot - 0.03-2
- Remove set -x and set +x from %%prep section.
- Remove '|| :' from %%check section.
* Fri Dec 21 2007 Xavier Bachelot - 0.03-1
- Initial build.