File perl-Dancer2-Plugin-Auth-Extensible-Provider-DBIC.spec of Package perl-Dancer2-Plugin-Auth-Extensible-Provider-DBIC
#
# spec file for package perl-Dancer2-Plugin-Auth-Extensible-Provider-DBIC
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: perl-Dancer2-Plugin-Auth-Extensible-Provider-DBIC
Version: 0.501
Release: 0
%define cpan_name Dancer2-Plugin-Auth-Extensible-Provider-DBIC
Summary: Authenticate Via The
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Dancer2-Plugin-Auth-Extensible-Provider-DBIC/
Source0: http://www.cpan.org/authors/id/A/AB/ABEVERLEY/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Load)
BuildRequires: perl(DBIx::Class::ResultClass::HashRefInflator)
BuildRequires: perl(Dancer2::Plugin::Auth::Extensible) >= 0.501
BuildRequires: perl(Dancer2::Plugin::DBIC)
BuildRequires: perl(DateTime::Format::SQLite)
BuildRequires: perl(Path::Tiny)
BuildRequires: perl(String::CamelCase)
Requires: perl(DBIx::Class::ResultClass::HashRefInflator)
Requires: perl(Dancer2::Plugin::Auth::Extensible) >= 0.501
Requires: perl(Dancer2::Plugin::DBIC)
Requires: perl(String::CamelCase)
%{perl_requires}
%description
This class is an authentication provider designed to authenticate users
against a database, using Dancer2::Plugin::DBIC to access a database.
See Dancer2::Plugin::DBIC for how to configure a database connection
appropriately; see the CONFIGURATION section below for how to configure
this authentication provider with database details.
See Dancer2::Plugin::Auth::Extensible for details on how to use the
authentication framework.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes ignore.txt README
%changelog