Sisyphus repository
Last update: 16 september 2019 | SRPMs: 17434 | Visits: 15106877
en ru br
ALT Linux repos
S:2.08-alt1

Group :: Development/Perl
RPM: perl-Mojolicious-Plugin-AssetPack

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: perl-Mojolicious-Plugin-AssetPack
Version: 2.05
Release: alt1
Summary: Compress and convert CSS, Less, Sass, JavaScript and CoffeeScript files
License: Artistic 2.0
Group: Development/Perl
Url: http://search.cpan.org/dist/Mojolicious-Plugin-AssetPack/
Source0: http://www.cpan.org/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-AssetPack-%{version}.tar.gz
BuildArch: noarch

BuildRequires: python-module-dukpy
BuildRequires: make
BuildRequires: node-devel
BuildRequires: perl-devel
BuildRequires: perl-Package-Generator
BuildRequires: perl(constant.pm)
BuildRequires: perl(CSS/Minifier/XS.pm)
BuildRequires: perl(Cwd.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(Fcntl.pm)
BuildRequires: perl(File/Basename.pm)
BuildRequires: perl(File/Find.pm)
BuildRequires: perl(File/Path.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(File/Spec/Functions.pm)
BuildRequires: perl(File/Which.pm)
BuildRequires: perl(Imager/File/PNG.pm)
BuildRequires: perl(IO/File.pm)
BuildRequires: perl(IPC/Run3.pm)
BuildRequires: perl(JavaScript/Minifier/XS.pm)
BuildRequires: perl(Mojo/Base.pm)
BuildRequires: perl(Mojo/ByteStream.pm)
BuildRequires: perl(Mojo/EventEmitter.pm)
BuildRequires: perl(Mojo/JSON.pm)
BuildRequires: perl(Mojolicious.pm)
BuildRequires: perl(Mojolicious/Lite.pm)
BuildRequires: perl(Mojolicious/Types.pm)
BuildRequires: perl(Mojolicious/Plugin.pm)
BuildRequires: perl(Mojo/UserAgent.pm)
BuildRequires: perl(Mojo/Util.pm)
BuildRequires: perl(POSIX.pm)
BuildRequires: perl(Test/Mojo.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
BuildRequires: perl(overload.pm)
BuildRequires: perl(warnings.pm)

Requires: perl(Imager/File/PNG.pm)
Requires: perl(Mojo/UserAgent.pm)

%description
Mojolicious::Plugin::AssetPack is a Mojolicious plugin which can be used to
cram multiple assets of the same type into one file. This means that if you
have a lot of CSS files (.css, .less, .sass, ...) as input, the AssetPack
can make one big CSS file as output. This is good, since it will often
speed up the rendering of your page. The output file can even be minified,
meaning you can save bandwidth and browser parsing time.

%prep
%setup -q -n Mojolicious-Plugin-AssetPack-%{version}
for PL in sprites.pl rollup.pl; do
   sed -i -e '1s,#!.*perl,#!perl,' examples/"$PL"
done
sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js

%build
%perl_vendor_build

%install
%perl_vendor_install
rm -f %buildroot%perl_vendorlib/Mojolicious/Plugin/README.pod

%files
%doc Changes README examples
%perl_vendorlib/Mojolicious/Plugin/AssetPack*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin