Name: perl-HTML-Scrubber Version: 0.19 Release: 10%{?dist} Summary: Library for scrubbing/sanitizing html License: GPL+ or Artistic URL: https://metacpan.org/release/HTML-Scrubber Source0: https://cpan.metacpan.org/authors/id/P/PO/PODMASTER/HTML-Scrubber-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(Test::More) perl(Test::EOL) perl(Test::Memory::Cycle) perl(Test::NoTabs) BuildRequires: perl(Carp) perl(File::Spec) perl(File::Temp) perl(HTML::Entities) perl(utf8) BuildRequires: perl(IO::Handle) perl(IPC::Open3) perl(Test::CPAN::Meta) BuildRequires: perl(Module::Build) perl(Scalar::Util) perl(Test) perl(Test::Pod::Coverage) BuildRequires: perl(ExtUtils::MakeMaker) perl(Pod::Coverage::TrustPod) # Not in Fedora yet: perl(Test::PAUSE::Permissions) # ... but the tests pass without it, so on we go. BuildRequires: perl(Test::CPAN::Meta) perl(Test::Differences) perl(Test::Kwalitee) perl(Test::Pod) BuildRequires: perl(HTML::Parser) >= 3.47 BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(strict), perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description If you wanna "scrub" or "sanitize" html input in a reliable an flexible fashion, then this module is for you. I wasn't satisfied with HTML::Sanitizer because it is based on HTML::TreeBuilder, so I thought I'd write something similar that works directly with HTML::Parser. %prep %setup -q -n HTML-Scrubber-%{version} %{__perl} -pi -e 's/\r\n/\n/' Changes LICENSE README Scrubber.pm %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' chmod -R u+w %{buildroot}/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorlib}/HTML/ %{_mandir}/man3/*.3pm* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.19-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.19-9 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.19-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.19-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.19-6 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.19-3 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Sep 24 2019 Tom Callaway - 0.19-1 - update to 0.19 * Fri Jul 26 2019 Fedora Release Engineering - 0.17-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.17-7 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.17-4 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 29 2017 Tom Callaway - 0.17-1 - update to 0.17 * Mon Jun 05 2017 Jitka Plesnikova - 0.15-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.15-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Oct 12 2015 Tom Callaway - 0.15-1 - update to 0.15 * Thu Jun 18 2015 Fedora Release Engineering - 0.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 0.14-2 - Perl 5.22 rebuild * Thu Jun 4 2015 Tom Callaway - 0.14-1 - update to 0.14 * Thu Aug 28 2014 Jitka Plesnikova - 0.11-2 - Perl 5.20 rebuild * Tue Jun 24 2014 Tom Callaway - 0.11-1 - 0.11 * Thu Feb 14 2013 Fedora Release Engineering - 0.08-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.08-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 0.08-14 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.08-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 0.08-12 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.08-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 0.08-10 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 0.08-9 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.08-8 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.08-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.08-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway - 0.08-5.2 Rebuild for new perl * Tue Oct 16 2007 Tom "spot" Callaway - 0.08-4.2 - add BR: perl(Test::More) * Tue Oct 16 2007 Tom "spot" Callaway - 0.08-4.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Fri Sep 8 2006 Jose Pedro Oliveira - 0.08-4 - Rebuild for FC6. * Sat Feb 18 2006 Jose Pedro Oliveira - 0.08-3 - Rebuild for FC5 (perl 5.8.8). * Thu Aug 11 2005 Jose Pedro Oliveira - 0.08-2 - Disttag. * Wed Mar 23 2005 Jose Pedro Oliveira - 0.08-1 - First build.