%define upstream_name HTML-Clean %define upstream_version 1.4 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: HTML shrinker License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/HTML/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch %description The HTML::Clean module encapsulates a number of HTML optimizations and cleanups. The end result is HTML that loads faster, displays properly in more browsers. Think of it as a compiler that translates HTML input into optimized machine readable code. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc Changes META.json META.yml MYMETA.yml README TODO %{_bindir}/* %{_mandir}/*/* %{perl_vendorlib}/HTML %{perl_vendorlib}/auto %changelog * Mon Mar 21 2022 umeabot <umeabot> 1.400.0-3.mga9 + Revision: 1811914 - Mageia 9 Mass Rebuild * Sun Feb 16 2020 umeabot <umeabot> 1.400.0-2.mga8 + Revision: 1531641 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Sat Sep 14 2019 tv <tv> 1.400.0-1.mga8 + Revision: 1440698 - update to 1.4 * Thu Sep 12 2019 tv <tv> 1.200.0-1.mga8 + Revision: 1439948 - update to 1.2 * Sun Aug 25 2019 tv <tv> 0.900.0-1.mga8 + Revision: 1432096 - update to 0.9 * Wed Sep 19 2018 umeabot <umeabot> 0.800.0-8.mga7 + Revision: 1268478 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 0.800.0-7.mga6 + Revision: 1028211 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 0.800.0-6.mga6 + Revision: 942796 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.800.0-5.mga5 + Revision: 746597 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.800.0-4.mga5 + Revision: 684927 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.800.0-3.mga4 + Revision: 511968 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.800.0-2.mga3 + Revision: 367974 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.800.0-1.mga1 + Revision: 26325 - mageia rebuild - imported package perl-HTML-Clean * Fri Feb 12 2010 Jérôme Quelin <jquelin@mandriva.org> 0.800.0-1mdv2010.1 + Revision: 504942 - rebuild using %%perl_convert_version * Thu Sep 03 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.8-11mdv2010.0 + Revision: 426497 - rebuild * Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 0.8-10mdv2009.0 + Revision: 223785 - rebuild * Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 0.8-9mdv2008.1 + Revision: 180405 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Wed Apr 25 2007 Olivier Thauvin <nanardon@mandriva.org> 0.8-8mdv2008.0 + Revision: 18068 - rebuild * Wed Feb 15 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.8-7mdk - rebuild, cleanup * Wed Aug 13 2003 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.8-6mdk - rebuild for new perl - drop Prefix tag - don't use PREFIX - drop $RPM_OPT_FLAGS, noarch.. - use %%makeinstall_std macro * Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.8-5mdk - rebuild for new auto{prov,req}