98 lines
3.4 KiB
RPMSpec
98 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package perl-Catalyst-Plugin-Session
|
|
#
|
|
# Copyright (c) 2025 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/
|
|
#
|
|
|
|
|
|
%define cpan_name Catalyst-Plugin-Session
|
|
Name: perl-Catalyst-Plugin-Session
|
|
Version: 0.440.0
|
|
Release: 0
|
|
# 0.44 -> normalize -> 0.440.0
|
|
%define cpan_version 0.44
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Generic Session plugin - ties together server side storage and client si[cut]
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Catalyst::Runtime) >= 5.710.10
|
|
BuildRequires: perl(Crypt::SysRandom) >= 0.7
|
|
BuildRequires: perl(HTML::Entities)
|
|
BuildRequires: perl(MRO::Compat)
|
|
BuildRequires: perl(Moose) >= 0.760
|
|
BuildRequires: perl(MooseX::Emulate::Class::Accessor::Fast) >= 0.8.10
|
|
BuildRequires: perl(Object::Signature)
|
|
BuildRequires: perl(Plack::Test)
|
|
BuildRequires: perl(Test::Deep)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
BuildRequires: perl(Test::Needs)
|
|
BuildRequires: perl(namespace::clean) >= 0.100
|
|
Requires: perl(Catalyst::Runtime) >= 5.710.10
|
|
Requires: perl(Crypt::SysRandom) >= 0.7
|
|
Requires: perl(HTML::Entities)
|
|
Requires: perl(MRO::Compat)
|
|
Requires: perl(Moose) >= 0.760
|
|
Requires: perl(MooseX::Emulate::Class::Accessor::Fast) >= 0.8.10
|
|
Requires: perl(Object::Signature)
|
|
Requires: perl(Test::More) >= 0.88
|
|
Requires: perl(namespace::clean) >= 0.100
|
|
Provides: perl(Catalyst::Plugin::Session) = %{version}
|
|
Provides: perl(Catalyst::Plugin::Session::State) = %{version}
|
|
Provides: perl(Catalyst::Plugin::Session::Store) = %{version}
|
|
Provides: perl(Catalyst::Plugin::Session::Store::Dummy) = %{version}
|
|
Provides: perl(Catalyst::Plugin::Session::Test::Store) = %{version}
|
|
%undefine __perllib_provides
|
|
Recommends: perl(Crypt::SysRandom::XS) >= 0.9
|
|
%{perl_requires}
|
|
|
|
%description
|
|
The Session plugin is the base of two related parts of functionality
|
|
required for session management in web applications.
|
|
|
|
The first part, the State, is getting the browser to repeat back a session
|
|
key, so that the web application can identify the client and logically
|
|
string several requests together into a session.
|
|
|
|
The second part, the Store, deals with the actual storage of information
|
|
about the client. This data is stored so that the it may be revived for
|
|
every request made by the same client.
|
|
|
|
This plugin links the two pieces together.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes README
|
|
%license LICENSE
|
|
|
|
%changelog
|