]>
Commit | Line | Data |
---|---|---|
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 | 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 | |
4f0ac213 | 9 | Name: perl-Catalyst-Plugin-Authentication-Store-DBIC |
edf03395 | 10 | Version: 0.11 |
f410b819 | 11 | Release: 4 |
4f0ac213 | 12 | # same as perl |
13 | License: GPL v1+ or Artistic | |
14 | Group: Development/Languages/Perl | |
edf03395 | 15 | Source0: http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz |
16 | # Source0-md5: 7743beb2c7bca430f906b6c04899eade | |
4f0ac213 | 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} | |
cfb47efb | 21 | BuildRequires: perl-Catalyst >= 5.49 |
09e9963f | 22 | BuildRequires: perl-Catalyst-Model-DBIC-Schema |
cfb47efb JB |
23 | BuildRequires: perl-Catalyst-Plugin-Authentication >= 0.06 |
24 | BuildRequires: perl-DBI | |
25 | BuildRequires: perl-Set-Object >= 1.14 | |
4f0ac213 | 26 | %endif |
27 | BuildArch: noarch | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %description | |
f410b819 | 31 | This store has been deprecated in favour of |
32 | Catalyst::Authentication::Store::DBIx::Class. | |
33 | ||
cfb47efb JB |
34 | This plugin uses a DBIx::Class (or Class::DBI) object to authenticate |
35 | a user. | |
4f0ac213 | 36 | |
cfb47efb | 37 | %description -l pl.UTF-8 |
f410b819 | 38 | Ten moduł jest przestarzały; używaj |
39 | Catalyst::Authentication::Store::DBIx::Class. | |
40 | ||
cfb47efb JB |
41 | Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do |
42 | uwierzytelniania 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 | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
edf03395 | 57 | %{__make} install \ |
58 | DESTDIR=$RPM_BUILD_ROOT | |
4f0ac213 | 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/* |