7
0
forked from pool/perl-Dancer2
Files
perl-Dancer2/perl-Dancer2.spec

168 lines
5.8 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package perl-Dancer2
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 867165 from devel:languages:perl:autoupdate - Explicitly specify perl(Role::Tiny) >= 2.000008 - updated to 0.300005 see /usr/share/doc/packages/perl-Dancer2/Changes 0.300005 2021-01-26 15:57:41-05:00 America/New_York [ BUG FIXES ] * GH #1546: Add MIME type for all files served from public (Russell @veryrusty Jenkins) * GH #1555: Remove all leftovers of warnings config setting (Sergiy Borodych) * GH #1557: Remove HTTP::XSCookies workaround (Alexander Pankoff) * GH #1564: Add script_name to redirects beginning with / (Nigel Gregoire) * GH #1567: Fix CSS so errors do not display ourside of <pre> HTML element (Elliot Holden) * GH #1568: Serializer::Mutable doesn't auto-load other serializers (Russell @veryrusty Jenkins) * GH #1579: Fix missing push_header method in Response::Delayed (Paul Clements) [ ENHANCEMENTS ] * GH #1552: Update jQuery (Sergiy Borodych) * GH #1558: Test to make sure uploads aren't discarded after the forward keyword is used (Alexander Pankoff) * GH #1571: Add GitHub Actions support (Gabor Szabo) * GH #1572: Install Dancer2::Session::Cookie in order to run the test t/issues/gh-811.t (racke) [ DOCUMENTATION ] * GH #1490: Document Dancer2::Core::App->template() (Steve Dondley) * GH #1551: Fix pod for cookie same site attribute (Sergiy Borodych) * GH #1562: Fix links, missing code in Tutorial (cloveistaken) OBS-URL: https://build.opensuse.org/request/show/867165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=12
2021-01-27 16:17:10 +00:00
%define cpan_name Dancer2
Name: perl-Dancer2
Version: 1.1.2
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Lightweight yet powerful web application framework
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CR/CROMEDOME/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
2025-08-12 18:12:57 +02:00
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
BuildRequires: perl(CLI::Osprey)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(Capture::Tiny) >= 0.12
BuildRequires: perl(Clone)
BuildRequires: perl(Config::Any)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(Exporter::Tiny)
BuildRequires: perl(File::Share)
BuildRequires: perl(File::ShareDir::Install) >= 0.06
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
BuildRequires: perl(File::Which)
BuildRequires: perl(HTTP::Cookies)
BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(HTTP::Headers::Fast) >= 0.21
BuildRequires: perl(HTTP::Tiny)
BuildRequires: perl(Hash::Merge::Simple)
BuildRequires: perl(Hash::MultiValue)
BuildRequires: perl(Import::Into)
BuildRequires: perl(JSON::MaybeXS)
BuildRequires: perl(List::Util) >= 1.29
BuildRequires: perl(MIME::Base64) >= 3.13
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Moo) >= 2.000000
BuildRequires: perl(Moo::Role)
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(Plack) >= 1.0040
BuildRequires: perl(Plack::Middleware::FixMissingBodyInRedirect)
BuildRequires: perl(Plack::Middleware::RemoveRedundantBody)
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
BuildRequires: perl(Pod::Simple::SimpleTree)
BuildRequires: perl(Ref::Util)
Accepting request 867165 from devel:languages:perl:autoupdate - Explicitly specify perl(Role::Tiny) >= 2.000008 - updated to 0.300005 see /usr/share/doc/packages/perl-Dancer2/Changes 0.300005 2021-01-26 15:57:41-05:00 America/New_York [ BUG FIXES ] * GH #1546: Add MIME type for all files served from public (Russell @veryrusty Jenkins) * GH #1555: Remove all leftovers of warnings config setting (Sergiy Borodych) * GH #1557: Remove HTTP::XSCookies workaround (Alexander Pankoff) * GH #1564: Add script_name to redirects beginning with / (Nigel Gregoire) * GH #1567: Fix CSS so errors do not display ourside of <pre> HTML element (Elliot Holden) * GH #1568: Serializer::Mutable doesn't auto-load other serializers (Russell @veryrusty Jenkins) * GH #1579: Fix missing push_header method in Response::Delayed (Paul Clements) [ ENHANCEMENTS ] * GH #1552: Update jQuery (Sergiy Borodych) * GH #1558: Test to make sure uploads aren't discarded after the forward keyword is used (Alexander Pankoff) * GH #1571: Add GitHub Actions support (Gabor Szabo) * GH #1572: Install Dancer2::Session::Cookie in order to run the test t/issues/gh-811.t (racke) [ DOCUMENTATION ] * GH #1490: Document Dancer2::Core::App->template() (Steve Dondley) * GH #1551: Fix pod for cookie same site attribute (Sergiy Borodych) * GH #1562: Fix links, missing code in Tutorial (cloveistaken) OBS-URL: https://build.opensuse.org/request/show/867165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=12
2021-01-27 16:17:10 +00:00
BuildRequires: perl(parent)
#BuildRequires: perl(Role::Tiny) >= 2.000000
BuildRequires: perl(Safe::Isa)
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Template)
BuildRequires: perl(Template::Tiny)
BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.92
BuildRequires: perl(Type::Tiny) >= 1.000006
BuildRequires: perl(Types::Standard)
BuildRequires: perl(URI::Escape)
BuildRequires: perl(YAML) >= 0.86
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
Requires: perl(CLI::Osprey)
Requires: perl(Clone)
Requires: perl(Config::Any)
Requires: perl(Digest::SHA)
Requires: perl(Exporter::Tiny)
Requires: perl(File::Share)
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
Requires: perl(File::Which)
Requires: perl(HTTP::Date)
Requires: perl(HTTP::Headers::Fast) >= 0.21
Requires: perl(HTTP::Tiny)
Requires: perl(Hash::Merge::Simple)
Requires: perl(Hash::MultiValue)
Requires: perl(Import::Into)
Requires: perl(JSON::MaybeXS)
Requires: perl(List::Util) >= 1.29
Requires: perl(MIME::Base64) >= 3.13
Requires: perl(Module::Pluggable)
Requires: perl(Module::Runtime)
Requires: perl(Moo) >= 2.000000
Requires: perl(Moo::Role)
Accepting request 914006 from devel:languages:perl:autoupdate - updated to 0.301004 see /usr/share/doc/packages/perl-Dancer2/Changes 0.301004 2021-06-06 13:30:28-04:00 America/New_York [ BUG FIXES ] * GH #1624: Fix missing gen subcommand in tutorial (racke) * PR #1626: Add File::Which to Dancer2 dependencies (Jason A. Crome) [ ENHANCEMENTS ] * None [ DOCUMENTATION ] * None 0.301003 2021-06-03 09:24:33-04:00 America/New_York [ BUG FIXES ] * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) * PR #1614: Generate Dockerfile when creating new app (Jason A. Crome) [ DOCUMENTATION ] * PR #1563: Fix typos in perlcritic.rc notes (Achyut Kumar Panda) * PR #1609: Document and test for missing DSL keywords (racke, Jason A. Crome) * PR #1618: Provide a consistent list of community resources (Jason A. Crome) * PR #1619: Clarify Dancer2::Template::Simple's role in life (Jason A. Crome) 0.301002 2021-04-18 15:29:32-04:00 America/New_York [ BUG FIXES ] * None [ ENHANCEMENTS ] * GH #1593: Log files used to build config (Nick Tonkin) * PR #1608: Migrate CLI to CLI::Osprey (Jason A. Crome) # PR #1610: Replace File::Find with Path::Tiny in CLI (Jason A. Crome) [ DOCUMENTATION ] * PR #1597: Update Core/Hook.pm Pod (Paul Clements) OBS-URL: https://build.opensuse.org/request/show/914006 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=16
2021-08-25 16:15:08 +00:00
Requires: perl(Path::Tiny)
Requires: perl(Plack) >= 1.0040
Requires: perl(Plack::Middleware::FixMissingBodyInRedirect)
Requires: perl(Plack::Middleware::RemoveRedundantBody)
Requires: perl(Ref::Util)
Accepting request 867165 from devel:languages:perl:autoupdate - Explicitly specify perl(Role::Tiny) >= 2.000008 - updated to 0.300005 see /usr/share/doc/packages/perl-Dancer2/Changes 0.300005 2021-01-26 15:57:41-05:00 America/New_York [ BUG FIXES ] * GH #1546: Add MIME type for all files served from public (Russell @veryrusty Jenkins) * GH #1555: Remove all leftovers of warnings config setting (Sergiy Borodych) * GH #1557: Remove HTTP::XSCookies workaround (Alexander Pankoff) * GH #1564: Add script_name to redirects beginning with / (Nigel Gregoire) * GH #1567: Fix CSS so errors do not display ourside of <pre> HTML element (Elliot Holden) * GH #1568: Serializer::Mutable doesn't auto-load other serializers (Russell @veryrusty Jenkins) * GH #1579: Fix missing push_header method in Response::Delayed (Paul Clements) [ ENHANCEMENTS ] * GH #1552: Update jQuery (Sergiy Borodych) * GH #1558: Test to make sure uploads aren't discarded after the forward keyword is used (Alexander Pankoff) * GH #1571: Add GitHub Actions support (Gabor Szabo) * GH #1572: Install Dancer2::Session::Cookie in order to run the test t/issues/gh-811.t (racke) [ DOCUMENTATION ] * GH #1490: Document Dancer2::Core::App->template() (Steve Dondley) * GH #1551: Fix pod for cookie same site attribute (Sergiy Borodych) * GH #1562: Fix links, missing code in Tutorial (cloveistaken) OBS-URL: https://build.opensuse.org/request/show/867165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=12
2021-01-27 16:17:10 +00:00
Requires: perl(parent)
#Requires: perl(Role::Tiny) >= 2.000000
Requires: perl(Safe::Isa)
Requires: perl(Sub::Quote)
Requires: perl(Template)
Requires: perl(Template::Tiny)
Requires: perl(Test::More) >= 0.92
Requires: perl(Type::Tiny) >= 1.000006
Requires: perl(Types::Standard)
Requires: perl(URI::Escape)
Requires: perl(YAML) >= 0.86
Recommends: perl(CGI::Deurl::XS)
Recommends: perl(Class::XSAccessor)
Recommends: perl(Cpanel::JSON::XS)
Recommends: perl(Crypt::URandom)
Recommends: perl(HTTP::XSCookies) >= 0.0.15
Recommends: perl(HTTP::XSHeaders)
Recommends: perl(Math::Random::ISAAC::XS)
Recommends: perl(MooX::TypeTiny)
Recommends: perl(Pod::Simple::Search)
Recommends: perl(Pod::Simple::SimpleTree)
Recommends: perl(Type::Tiny::XS)
Recommends: perl(URL::Encode::XS)
Recommends: perl(Unicode::UTF8)
Recommends: perl(YAML::XS)
%{perl_requires}
%description
Dancer2 is the new generation of Dancer, the lightweight web-framework for
Perl. Dancer2 is a complete rewrite based on Moo.
Dancer2 can optionally use XS modules for speed, but at its core remains
fatpackable (packable by App::FatPacker) so you could easily deploy Dancer2
applications on hosts that do not support custom CPAN modules.
Dancer2 is easy and fun:
use Dancer2;
get '/' => sub { "Hello World" };
dance;
This is the main module for the Dancer2 distribution. It contains logic for
creating a new Dancer2 application.
%prep
Accepting request 867165 from devel:languages:perl:autoupdate - Explicitly specify perl(Role::Tiny) >= 2.000008 - updated to 0.300005 see /usr/share/doc/packages/perl-Dancer2/Changes 0.300005 2021-01-26 15:57:41-05:00 America/New_York [ BUG FIXES ] * GH #1546: Add MIME type for all files served from public (Russell @veryrusty Jenkins) * GH #1555: Remove all leftovers of warnings config setting (Sergiy Borodych) * GH #1557: Remove HTTP::XSCookies workaround (Alexander Pankoff) * GH #1564: Add script_name to redirects beginning with / (Nigel Gregoire) * GH #1567: Fix CSS so errors do not display ourside of <pre> HTML element (Elliot Holden) * GH #1568: Serializer::Mutable doesn't auto-load other serializers (Russell @veryrusty Jenkins) * GH #1579: Fix missing push_header method in Response::Delayed (Paul Clements) [ ENHANCEMENTS ] * GH #1552: Update jQuery (Sergiy Borodych) * GH #1558: Test to make sure uploads aren't discarded after the forward keyword is used (Alexander Pankoff) * GH #1571: Add GitHub Actions support (Gabor Szabo) * GH #1572: Install Dancer2::Session::Cookie in order to run the test t/issues/gh-811.t (racke) [ DOCUMENTATION ] * GH #1490: Document Dancer2::Core::App->template() (Steve Dondley) * GH #1551: Fix pod for cookie same site attribute (Sergiy Borodych) * GH #1562: Fix links, missing code in Tutorial (cloveistaken) OBS-URL: https://build.opensuse.org/request/show/867165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=12
2021-01-27 16:17:10 +00:00
%autosetup -n %{cpan_name}-%{version}
Accepting request 1116968 from devel:languages:perl:autoupdate - updated to 1.0.0 see /usr/share/doc/packages/perl-Dancer2/Changes 1.0.0 2023-10-09 10:10:10-04:00 America/New_York [ BUG FIXES ] * GH #1663: Allow overriding of prefix in add_route (GeekRuthie) * GH #1675: Stringify VERSION_FROM correctly in Makefile.PL (Jason A. Crome) * GH #1677: Don't deserialize multipart form data on post (Emil Perhinschi) * GH #1694: Update JS assets in Dancer2 app skel (Jason A. Crome) [ ENHANCEMENTS ] * PR #1682: Bump minimum version of Perl to 5.14 (Jason A. Crome) [ DOCUMENTATION ] * GH #1580: Document the purpose of the .dancer file (Jason A. Crome) * GH #1669: Show correct usage of Dancer2::Core::Error (GeekRuthie) * GH #1674: Fix POD for input_handle() (mauke) * GH #1414: Add documentation resources to the doc map (Jason A. Crome, Yanick Champoux) * PR #1684: Remove shumphrey from core developers (Steven Humphrey) * GH #1685: Document the versioning scheme and Dancer2 release process (Jason A. Crome) * PR #1688: Fixed various bugs/issues in Dancer2 Pod (Jason A. Crome) * PR #1691: Update the contribution guidelines (Jason A. Crome) * PR #1692: Change README extension .mkdn -> .md (Jason A. Crome) [ DEPRECATED ] * GH #1645: Deprecated Dancer2::Test (Jason A. Crome) * GH #1646: Deprecated keyword: push_header (Jason A. Crome) * GH #1647: Deprecated keyword: header (Jason A. Crome) * GH #1648: Deprecated keyword: headers (Jason A. Crome) * GH #1649: Deprecated keyword: context (Jason A. Crome) * GH #1650: Deprecated: splat/capture named placeholders (Jason A. Crome) * GH #1651: Deprecated core Request instance method: request->dispatch_path (Jason A. Crome) * GH #1652: Deprecated keyword in plugins: plugin_setting (Jason A. Crome) * GH #1653: Deprecated keyword in plugins: dancer_app (Jason A. Crome) * GH #1654: Deprecated keyword in plugins: request (Jason A. Crome) * GH #1655: Deprecated keyword in plugins: var (Jason A. Crome) * GH #1656: Deprecated keyword in plugins: hook (Jason A. Crome) [ MISC ] * GH #1659: Rename `master` branch to be `main` (Yanick Champoux) OBS-URL: https://build.opensuse.org/request/show/1116968 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=21
2023-10-19 11:28:53 +00:00
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
Accepting request 867165 from devel:languages:perl:autoupdate - Explicitly specify perl(Role::Tiny) >= 2.000008 - updated to 0.300005 see /usr/share/doc/packages/perl-Dancer2/Changes 0.300005 2021-01-26 15:57:41-05:00 America/New_York [ BUG FIXES ] * GH #1546: Add MIME type for all files served from public (Russell @veryrusty Jenkins) * GH #1555: Remove all leftovers of warnings config setting (Sergiy Borodych) * GH #1557: Remove HTTP::XSCookies workaround (Alexander Pankoff) * GH #1564: Add script_name to redirects beginning with / (Nigel Gregoire) * GH #1567: Fix CSS so errors do not display ourside of <pre> HTML element (Elliot Holden) * GH #1568: Serializer::Mutable doesn't auto-load other serializers (Russell @veryrusty Jenkins) * GH #1579: Fix missing push_header method in Response::Delayed (Paul Clements) [ ENHANCEMENTS ] * GH #1552: Update jQuery (Sergiy Borodych) * GH #1558: Test to make sure uploads aren't discarded after the forward keyword is used (Alexander Pankoff) * GH #1571: Add GitHub Actions support (Gabor Szabo) * GH #1572: Install Dancer2::Session::Cookie in order to run the test t/issues/gh-811.t (racke) [ DOCUMENTATION ] * GH #1490: Document Dancer2::Core::App->template() (Steve Dondley) * GH #1551: Fix pod for cookie same site attribute (Sergiy Borodych) * GH #1562: Fix links, missing code in Tutorial (cloveistaken) OBS-URL: https://build.opensuse.org/request/show/867165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dancer2?expand=0&rev=12
2021-01-27 16:17:10 +00:00
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc AUTHORS Changes CODE_OF_CONDUCT.md CONTRIBUTING.md examples README.md Releasing-Dancer2.md SECURITY.md
%license LICENSE
%changelog