Name: perl-JavaScript-Beautifier Version: 0.25 Release: 20%{?dist} Summary: Beautify Javascript (beautifier for javascript) License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/JavaScript-Beautifier Source0: https://cpan.metacpan.org/authors/id/F/FA/FAYLAND/JavaScript-Beautifier-%{version}.tar.gz BuildArch: noarch BuildRequires: dos2unix BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(base) # Code::TidyAll::Plugin not used by tests BuildRequires: perl(Exporter) # File::Slurp::Tiny not used by tests # IPC::Run3 not used by tests BuildRequires: perl(Module::Build) >= 0.35 # Moo not used by tests BuildRequires: perl(strict) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Pod) >= 1.22 # Try::Tiny not used by tests BuildRequires: perl(vars) BuildRequires: perl(warnings) # JavaScript::Packer1 is defined by this package, but it should not be # listed in Provides. %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(JavaScript::Packer1\\) %description This module is mostly a Perl-rewrite of http://github.com/einars/js-beautify/tree/master/beautify.js %package -n perl-Code-TidyAll-Plugin-JSBeautifier Summary: Use JavaScript::Beautifier with tidyall License: GPL-1.0-or-later OR Artistic-1.0-Perl Requires: %{_bindir}/js_beautify.pl Requires: perl(Code::TidyAll::Plugin) %description -n perl-Code-TidyAll-Plugin-JSBeautifier Runs js_beautify.pl of JavaScript::Beautifier, a JavaScript tidier implemented in Perl. %prep %setup -q -n JavaScript-Beautifier-%{version} dos2unix Changes dos2unix README.md %build perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %doc Changes README.md %{perl_vendorlib}/JavaScript %{_bindir}/js_beautify.pl %{_mandir}/man1/js_beautify.pl.1.gz %{_mandir}/man3/JavaScript* %files -n perl-Code-TidyAll-Plugin-JSBeautifier %{perl_vendorlib}/Code %{_mandir}/man3/Code* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.25-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.25-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.25-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.25-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.25-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.25-15 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.25-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.25-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.25-12 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.25-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.25-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.25-9 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.25-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.25-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.25-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.25-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 04 2019 Jitka Plesnikova - 0.25-4 - Filter JavaScript::Packer1 from requires (bug #1662932) * Fri Jul 13 2018 Fedora Release Engineering - 0.25-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.25-2 - Perl 5.28 rebuild * Thu May 03 2018 Jitka Plesnikova - 0.25-1 - 0.25 bump * Mon Apr 23 2018 Jitka Plesnikova - 0.24-1 - 0.24 bump * Thu Apr 19 2018 Jitka Plesnikova - 0.23-1 - 0.23 bump * Wed Mar 21 2018 Jitka Plesnikova - 0.21-1 - 0.21 bump * Thu Feb 08 2018 Fedora Release Engineering - 0.20-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.20-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.20-5 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.20-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 11 2016 Jitka Plesnikova - 0.20-1 - 0.20 bump * Thu Jun 18 2015 Fedora Release Engineering - 0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.18-2 - Perl 5.22 rebuild * Thu May 21 2015 Jitka Plesnikova - 0.18-1 - 0.18 bump * Wed Aug 27 2014 Jitka Plesnikova - 0.17-13 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.17-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.17-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 0.17-10 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.17-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.17-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.17-7 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.17-5 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 20 2010 Marcela Maslanova - 0.17-3 - 661697 rebuild for fixing problems with vendorach/lib * Wed Sep 15 2010 Petr Pisar - 0.17-2 - Add perl(Test::Pod) BuildRequires to proceed POD tests * Wed Sep 15 2010 Petr Pisar - 0.17-1 - 0.17 bump * Sun May 02 2010 Marcela Maslanova - 0.13-3 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.13-2 - rebuild against perl 5.10.1 * Tue Aug 11 2009 Marcela Mašláňová 0.13-1 - fix source url, update * Sun Jul 26 2009 Fedora Release Engineering - 0.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 29 2009 Marcela Mašláňová 0.04-1 - Specfile autogenerated by cpanspec 1.78.