3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam Plugin-Authentication-Store-DBIC
8 Summary: Authentication and authorization against a DBIx::Class or Class::DBI model
9 Summary(pl.UTF-8): Uwierzytelnianie i autoryzacja względem modelu DBIx::Class lub Class::DBI
10 Name: perl-Catalyst-Plugin-Authentication-Store-DBIC
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-authors/id/D/DK/DKAMHOLZ/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 796f4b369f3717fc289126f6758a7ba9
18 URL: http://search.cpan.org/dist/Catalyst-Plugin-Authentication-Store-DBIC/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Catalyst >= 5.49
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 plugin uses a DBIx::Class (or Class::DBI) object to authenticate
34 %description -l pl.UTF-8
35 Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do
36 uwierzytelniania użytkownika.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
43 destdir=$RPM_BUILD_ROOT \
47 %{?with_tests:./Build test}
50 rm -rf $RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/*.pm
61 %{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/DBIC