|
|
|
@ -1,15 +1,16 @@
|
|
|
|
|
Name: perl-Mojolicious-Plugin-AssetPack
|
|
|
|
|
Version: 2.11
|
|
|
|
|
Version: 2.13
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Compress and convert CSS, Less, Sass, JavaScript and CoffeeScript files
|
|
|
|
|
License: Artistic 2.0
|
|
|
|
|
|
|
|
|
|
URL: https://metacpan.org/release/Mojolicious-Plugin-AssetPack
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-AssetPack-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-Plugin-AssetPack-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coffee-script
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
@ -61,9 +62,9 @@ meaning you can save bandwidth and browser parsing time.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Mojolicious-Plugin-AssetPack-%{version}
|
|
|
|
|
for PL in not-found.pl sprites.pl rollup.pl; do
|
|
|
|
|
sed -i -e '1s,#!.*perl,#!/usr/bin/perl,' examples/"$PL"
|
|
|
|
|
/usr/bin/sed -i -e '1s,#!.*perl,#!/usr/bin/perl,' examples/"$PL"
|
|
|
|
|
done
|
|
|
|
|
sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
|
|
|
|
|
/usr/bin/sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
@ -82,6 +83,9 @@ sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
|
|
|
|
|
%{_mandir}/man3/Mojolicious*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 21 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 2.13-1
|
|
|
|
|
- Update to 2.13
|
|
|
|
|
|
|
|
|
|
* Sun Feb 21 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 2.11-1
|
|
|
|
|
- Update to 2.11
|
|
|
|
|
|
|
|
|
|