]> git.pld-linux.org Git - packages/perl-Catalyst-Plugin-Authentication-Store-DBIC.git/blob - 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
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Catalyst
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
10 Version:        0.11
11 Release:        4
12 # same as perl
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
20 %if %{with tests}
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
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 This store has been deprecated in favour of
32 Catalyst::Authentication::Store::DBIx::Class.
33
34 This plugin uses a DBIx::Class (or Class::DBI) object to authenticate
35 a user.
36
37 %description -l pl.UTF-8
38 Ten moduł jest przestarzały; używaj
39 Catalyst::Authentication::Store::DBIx::Class. 
40
41 Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do
42 uwierzytelniania użytkownika.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{version}
46
47 %build
48 %{__perl} Makefile.PL --skipdeps \
49         INSTALLDIRS=vendor
50 %{__make}
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -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.062206 seconds and 3 git commands to generate.