]> git.pld-linux.org Git - packages/perl-Catalyst-Plugin-Authentication-Store-DBIC.git/blame - perl-Catalyst-Plugin-Authentication-Store-DBIC.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Catalyst-Plugin-Authentication-Store-DBIC.git] / perl-Catalyst-Plugin-Authentication-Store-DBIC.spec
CommitLineData
4f0ac213 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
4f0ac213 5%define pdir Catalyst
6%define pnam Plugin-Authentication-Store-DBIC
f410b819 7Summary: **DEPRECATED** Authentication and authorization against a DBIx::Class or Class::DBI model
8Summary(pl.UTF-8): **PRZESTARZAŁY** Uwierzytelnianie i autoryzacja względem modelu DBIx::Class lub Class::DBI
4f0ac213 9Name: perl-Catalyst-Plugin-Authentication-Store-DBIC
edf03395 10Version: 0.11
f410b819 11Release: 4
4f0ac213 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
edf03395 15Source0: http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 7743beb2c7bca430f906b6c04899eade
4f0ac213 17URL: http://search.cpan.org/dist/Catalyst-Plugin-Authentication-Store-DBIC/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
cfb47efb 21BuildRequires: perl-Catalyst >= 5.49
09e9963f 22BuildRequires: perl-Catalyst-Model-DBIC-Schema
cfb47efb
JB
23BuildRequires: perl-Catalyst-Plugin-Authentication >= 0.06
24BuildRequires: perl-DBI
25BuildRequires: perl-Set-Object >= 1.14
4f0ac213 26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
f410b819 31This store has been deprecated in favour of
32Catalyst::Authentication::Store::DBIx::Class.
33
cfb47efb
JB
34This plugin uses a DBIx::Class (or Class::DBI) object to authenticate
35a user.
4f0ac213 36
cfb47efb 37%description -l pl.UTF-8
f410b819 38Ten moduł jest przestarzały; używaj
39Catalyst::Authentication::Store::DBIx::Class.
40
cfb47efb
JB
41Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do
42uwierzytelniania użytkownika.
4f0ac213 43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
0778951c 48%{__perl} Makefile.PL --skipdeps \
edf03395 49 INSTALLDIRS=vendor
50%{__make}
4f0ac213 51
edf03395 52%{?with_tests:%{__make} test}
4f0ac213 53
54%install
55rm -rf $RPM_BUILD_ROOT
56
edf03395 57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
4f0ac213 59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc Changes README
66%{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/*.pm
67%{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/DBIC
68%{_mandir}/man3/*
This page took 0.061397 seconds and 4 git commands to generate.