3 %bcond_without tests # do not perform "make test"
6 %define pnam Plugin-Authentication-Store-DBIC
7 Summary: **DEPRECATED** Authentication and authorization against a DBIx::Class or Class::DBI model
8 Summary(pl.UTF-8): **PRZESTARZAŁY** Uwierzytelnianie i autoryzacja względem modelu DBIx::Class lub Class::DBI
9 Name: perl-Catalyst-Plugin-Authentication-Store-DBIC
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 7743beb2c7bca430f906b6c04899eade
17 URL: http://search.cpan.org/dist/Catalyst-Plugin-Authentication-Store-DBIC/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Catalyst >= 5.49
22 BuildRequires: perl-Catalyst-Model-DBIC-Schema
23 BuildRequires: perl-Catalyst-Plugin-Authentication >= 0.06
24 BuildRequires: perl-DBI
25 BuildRequires: perl-Set-Object >= 1.14
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 This store has been deprecated in favour of
32 Catalyst::Authentication::Store::DBIx::Class.
34 This plugin uses a DBIx::Class (or Class::DBI) object to authenticate
37 %description -l pl.UTF-8
38 Ten moduł jest przestarzały; używaj
39 Catalyst::Authentication::Store::DBIx::Class.
41 Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do
42 uwierzytelniania użytkownika.
45 %setup -q -n %{pdir}-%{pnam}-%{version}
48 %{__perl} Makefile.PL --skipdeps \
52 %{?with_tests:%{__make} test}
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
66 %{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/*.pm
67 %{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/DBIC