Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rootprompt
perl-Catalyst-Action-RenderView
perl-Catalyst-Action-RenderView.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Catalyst-Action-RenderView.spec of Package perl-Catalyst-Action-RenderView
# # spec file for package perl-Catalyst-Action-RenderView # # 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/ # Name: perl-Catalyst-Action-RenderView Version: 0.16 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later %define cpan_name Catalyst-Action-RenderView Summary: Sensible default end action URL: http://search.cpan.org/dist/Catalyst-Action-RenderView/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/B/BO/BOBTFISH/Catalyst-Action-RenderView-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz Patch1: perl-Catalyst-Action-RenderView-use_lib.patch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Catalyst::Runtime) >= 5.80030 BuildRequires: perl(Data::Visitor) >= 0.24 BuildRequires: perl(HTTP::Request::AsCGI) BuildRequires: perl(MRO::Compat) BuildRequires: perl(Module::Install) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Catalyst::Runtime) >= 5.80030 Requires: perl(Data::Visitor) >= 0.24 Requires: perl(MRO::Compat) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description This action implements a sensible default end action, which will forward to the first available view, unless '$c->res->status' is a 3xx code (redirection, not modified, etc.), 204 (no content), or '$c->res->body' has already been set. It also allows you to pass 'dump_info=1' to the url in order to force a debug screen, while in debug mode. If you have more than one view, you can specify which one to use with the 'default_view' config setting and the 'current_view' and 'current_view_instance' stash keys (see the Catalyst manpage's '$c->view($name)' method -- this module simply calls '$c->view' with no argument). %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} <= 1110 %patch -P1 -p1 sed -i "s|__vendorperl__|%{perl_vendorlib}|g" Makefile.PL t/*.t %endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor