- initial package 0.10016

* created by cpanspec 1.78.03

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Catalyst-Plugin-Authentication?expand=0&rev=1
This commit is contained in:
Stephan Kulow
2011-01-17 20:22:54 +00:00
committed by Git OBS Bridge
commit 2a4fe7a551
5 changed files with 123 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38d282a076368d643f403ee0de9915322ad57e62a99adde80912165dc014360c
size 57691

View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Mon Jan 17 20:22:34 UTC 2011 - coolo@novell.com
- initial package 0.10016
* created by cpanspec 1.78.03

View File

@@ -0,0 +1,90 @@
#
# spec file for package perl-Catalyst-Plugin-Authentication (Version 0.10016)
#
# Copyright (c) 2010 SUSE LINUX Products 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-Catalyst-Plugin-Authentication
Version: 0.10016
Release: 1
License: GPL+ or Artistic
%define cpan_name Catalyst-Plugin-Authentication
Summary: Infrastructure plugin for the Catalyst
Url: http://search.cpan.org/dist/Catalyst-Plugin-Authentication/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/F/FL/FLORA/Catalyst-Plugin-Authentication-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl(Catalyst::Plugin::Session) >= 0.10
BuildRequires: perl(Catalyst::Runtime)
BuildRequires: perl(Class::Inspector)
BuildRequires: perl(Class::MOP)
BuildRequires: perl(Moose)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Test::Exception)
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(Catalyst::Plugin::Session) >= 0.10
Requires: perl(Catalyst::Runtime)
Requires: perl(Class::Inspector)
Requires: perl(MRO::Compat)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
The authentication plugin provides generic user support for Catalyst apps.
It is the basis for both authentication (checking the user is who they
claim to be), and authorization (allowing the user to do what the system
authorises them to do).
Using authentication is split into two parts. A Store is used to actually
store the user information, and can store any amount of data related to the
user. Credentials are used to verify users, using information from the
store, given data from the frontend. A Credential and a Store are paired to
form a 'Realm'. A Catalyst application using the authentication framework
must have at least one realm, and may have several.
To implement authentication in a Catalyst application you need to add this
module, and specify at least one realm in the configuration.
Authentication data can also be stored in a session, if the application is
using the the Catalyst::Plugin::Session manpage module.
*NOTE* in version 0.10 of this module, the interface to this module
changed. Please see the /COMPATIBILITY ROUTINES manpage for more
information.
%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
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README
%changelog