forked from pool/perl-Mojolicious-Plugin-AssetPack
Compare commits
11 Commits
494844cc6d
...
factory
Author | SHA256 | Date | |
---|---|---|---|
71dd0d39e8 | |||
ae5f35554b | |||
083a10bcce | |||
982f7bb658 | |||
5ab7ff3722 | |||
8292f0c080 | |||
|
5fb05b7804 | ||
7a077fd9be | |||
76976cd17a | |||
6869ea6968 | |||
15ee011779 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba70e364b7ea64963cbd2ed01d211f2bf57aeb5c5d19307fa47688e995eaa2b5
|
||||
size 1356506
|
3
Mojolicious-Plugin-AssetPack-2.15.tar.gz
Normal file
3
Mojolicious-Plugin-AssetPack-2.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6297a9001a1b2acf6a2e34ea4d814e2b28ffe40131b48fcfe36391f3d844e70d
|
||||
size 1372404
|
@@ -5,13 +5,11 @@
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
|
@@ -1,3 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 16:36:04 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Remove mojolicious-deprecate-spurt.patch, sass-trace.patch (fixed upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 16:31:38 UTC 2024 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.150.0 (2.15)
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-AssetPack/Changes
|
||||
|
||||
2.15 2024-12-06
|
||||
- Fixed reporting of sass errors.
|
||||
Contributor: Jan Baier
|
||||
- Use sass trace for easier error detection.
|
||||
Contributor: Tina Mueller
|
||||
- Updates for latest Mojolicious.
|
||||
Contributor: Oliver Kurz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 15:38:49 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Add sass-trace.patch. See https://github.com/mojolicious/mojo-assetpack/pull/150
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 19 15:50:13 UTC 2023 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Add mojolicious-deprecate-spurt.patch from
|
||||
https://github.com/mojolicious/mojo-assetpack/pull/149
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 10:32:17 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- updated to 2.14
|
||||
* added support for retry during download assets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 28 03:08:49 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.14
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-AssetPack/Changes
|
||||
|
||||
2.14 2023-01-27
|
||||
- Added support for multiple download attempts for assets that need to be fetched.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 03:09:39 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 2.13
|
||||
see /usr/share/doc/packages/perl-Mojolicious-Plugin-AssetPack/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 09:38:43 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Mojolicious-Plugin-AssetPack
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,34 +18,67 @@
|
||||
|
||||
%define cpan_name Mojolicious-Plugin-AssetPack
|
||||
Name: perl-Mojolicious-Plugin-AssetPack
|
||||
Version: 2.11
|
||||
Version: 2.150.0
|
||||
Release: 0
|
||||
Summary: Compress and convert css, less, sass, javascript and coffeescript files
|
||||
# 2.15 -> normalize -> 2.150.0
|
||||
%define cpan_version 2.15
|
||||
License: Artistic-2.0
|
||||
Summary: Compress and convert CSS, Less, Sass, JavaScript and CoffeeScript files
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(File::Which) >= 1.21
|
||||
BuildRequires: perl(IPC::Run3) >= 0.048
|
||||
BuildRequires: perl(Mojolicious) >= 7.17
|
||||
BuildRequires: perl(Mojolicious) >= 9.340
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(File::Which) >= 1.21
|
||||
Requires: perl(IPC::Run3) >= 0.048
|
||||
Requires: perl(Mojolicious) >= 7.17
|
||||
Requires: perl(Mojolicious) >= 9.340
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack) = %{version}
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Asset)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Asset::Null)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::CoffeeScript)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Combine)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Css)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Favicon)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Fetch)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::JavaScript)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Jpeg)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Less)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Png)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Riotjs)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::RollupJs)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Sass)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::TypeScript)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Pipe::Vuejs)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Store)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Util)
|
||||
Provides: perl(Mojolicious::Plugin::AssetPack::Util::_chdir)
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Mojolicious::Plugin::AssetPack has a very limited feature set, especially
|
||||
when it comes to processing JavaScript. It is recommended that you switch
|
||||
to Mojolicious::Plugin::Webpack if you want to write modern JavaScript
|
||||
code.
|
||||
Mojolicious::Plugin::AssetPack is a Mojolicious plugin for processing
|
||||
static assets. The idea is that JavaScript and CSS files should be served
|
||||
as one minified file to save bandwidth and roundtrip time to the server.
|
||||
|
||||
There are many external tools for doing this, but integrating them with
|
||||
Mojolicious can be a struggle: You want to serve the source files directly
|
||||
while developing, but a minified version in production. This assetpack
|
||||
plugin will handle all of that automatically for you.
|
||||
|
||||
Your application creates and refers to an asset by its topic (virtual asset
|
||||
name). The process of building actual assets from their components is
|
||||
delegated to "pipe objects".
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
@@ -61,5 +94,6 @@ make test
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc Changes examples README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user