Name: perl-JavaScript-Minifier Version: 1.14 Release: 19%{?dist} Summary: Perl extension for minifying JavaScript code License: GPL+ or Artistic URL: https://metacpan.org/release/JavaScript-Minifier Source0: https://cpan.metacpan.org/authors/id/Z/ZO/ZOFFIX/JavaScript-Minifier-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-Time BuildRequires: perl(Exporter) # Tests BuildRequires: perl(blib) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module removes unnecessary white space from JavaScript code. The primary requirement developing this module is to not break working code: if working JavaScript is in input then working JavaScript is output. It is O.K. if the input has missing semi-colons, snips like '++ +' or '12 .toString()', for example. Internet Explorer conditional comments are copied to the output but the code inside these comments will not be minified. %prep %setup -q -n JavaScript-Minifier-%{version} # Remove /usr/bin/env from shebang perl -MConfig -i -pe 's/^#!.*/$Config{startperl}/' examples/minify.pl %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README examples %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jul 28 2020 Fedora Release Engineering - 1.14-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.14-18 - Perl 5.32 rebuild * Fri Feb 28 2020 Petr Pisar - 1.14-17 - Build-require blib for tests * Thu Jan 30 2020 Fedora Release Engineering - 1.14-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.14-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.14-14 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.14-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.14-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.14-11 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.14-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Nov 07 2017 Petr Pisar - 1.14-9 - Remove /usr/bin/env from shebang * Thu Jul 27 2017 Fedora Release Engineering - 1.14-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.14-7 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.14-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.14-2 - Perl 5.22 rebuild * Mon Apr 27 2015 Jitka Plesnikova - 1.14-1 - 1.14 bump * Fri Mar 20 2015 Jitka Plesnikova - 1.13-1 - 1.13 bump * Wed Oct 08 2014 Jitka Plesnikova - 1.12-1 - 1.12 bump * Tue Aug 26 2014 Jitka Plesnikova - 1.11-3 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Jan 31 2014 Jitka Plesnikova - 1.11-1 - 1.11 bump * Fri Jan 24 2014 Jitka Plesnikova - 1.09-1 - 1.09 bump * Tue Jan 21 2014 Jitka Plesnikova - 1.08-1 - 1.08 bump * Mon Jan 20 2014 Jitka Plesnikova - 1.06-1 - 1.06 bump - Modernize spec file * Sat Aug 03 2013 Fedora Release Engineering - 1.05-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.05-12 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.05-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.05-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 08 2012 Petr Pisar - 1.05-9 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.05-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 1.05-7 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.05-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 1.05-5 - 661697 rebuild for fixing problems with vendorach/lib * Sun May 02 2010 Marcela Maslanova - 1.05-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.05-3 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 1.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 29 2009 Marcela Mašláňová 1.05-1 - Specfile autogenerated by cpanspec 1.78.