]> git.pld-linux.org Git - packages/perl-Catalyst-Plugin-Authentication-Store-DBIC.git/blob - perl-Catalyst-Plugin-Authentication-Store-DBIC.spec
- pl
[packages/perl-Catalyst-Plugin-Authentication-Store-DBIC.git] / perl-Catalyst-Plugin-Authentication-Store-DBIC.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Catalyst
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
11 Version:        0.07
12 Release:        1
13 # same as perl
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
21 %if %{with tests}
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
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This plugin uses a DBIx::Class (or Class::DBI) object to authenticate
32 a user.
33
34 %description -l pl.UTF-8
35 Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do
36 uwierzytelniania użytkownika.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 %{__perl} Build.PL \
43         destdir=$RPM_BUILD_ROOT \
44         installdirs=vendor
45 ./Build
46
47 %{?with_tests:./Build test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 ./Build install
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/*.pm
61 %{perl_vendorlib}/Catalyst/Plugin/Authentication/Store/DBIC
62 %{_mandir}/man3/*
This page took 0.159726 seconds and 4 git commands to generate.