Files
perl-Catalyst-Plugin-Sessio…/perl-Catalyst-Plugin-Session-Store-DBIC.spec
2025-08-12 18:12:10 +02:00

78 lines
2.6 KiB
RPMSpec

#
# spec file for package perl-Catalyst-Plugin-Session-Store-DBIC
#
# 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/
#
%define cpan_name Catalyst-Plugin-Session-Store-DBIC
Name: perl-Catalyst-Plugin-Session-Store-DBIC
Version: 0.140.0
Release: 0
# 0.14 -> normalize -> 0.140.0
%define cpan_version 0.14
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Store your sessions via DBIx::Class
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Catalyst) >= 5.650.0
BuildRequires: perl(Catalyst::Exception)
BuildRequires: perl(Catalyst::Plugin::Session::Store::Delegate) >= 0.50.0
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(DBIx::Class) >= 0.07000
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Test::Warn) >= 0.20
Requires: perl(Catalyst) >= 5.650.0
Requires: perl(Catalyst::Exception)
Requires: perl(Catalyst::Plugin::Session::Store::Delegate) >= 0.50.0
Requires: perl(Class::Accessor::Fast)
Requires: perl(DBIx::Class) >= 0.07000
Requires: perl(MRO::Compat)
Requires: perl(Test::Warn) >= 0.20
Provides: perl(Catalyst::Plugin::Session::Store::DBIC) = %{version}
Provides: perl(Catalyst::Plugin::Session::Store::DBIC::Delegate)
%undefine __perllib_provides
%{perl_requires}
%description
This Catalyst::Plugin::Session storage module saves session data in your
database via DBIx::Class. It's actually just a wrapper around
Catalyst::Plugin::Session::Store::Delegate; if you need complete control
over how your sessions are stored, you probably want to use that instead.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%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
%changelog