]> git.pld-linux.org Git - packages/perl-Catalyst-Plugin-Authentication-Store-DBIC.git/blobdiff - 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
index eb84327cba289a7db62950da0d9cf4f4aed6747e..837249888719c564fd0a00f31fcb1e02f4afde32 100644 (file)
@@ -2,24 +2,24 @@
 # Conditional build:
 %bcond_without tests           # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
 %define        pdir    Catalyst
 %define        pnam    Plugin-Authentication-Store-DBIC
-Summary:       Authentication and authorization against a DBIx::Class or Class::DBI model
-Summary(pl.UTF-8):     Uwierzytelnianie i autoryzacja względem modelu DBIx::Class lub Class::DBI
+Summary:       **DEPRECATED** Authentication and authorization against a DBIx::Class or Class::DBI model
+Summary(pl.UTF-8):     **PRZESTARZAŁY** Uwierzytelnianie i autoryzacja względem modelu DBIx::Class lub Class::DBI
 Name:          perl-Catalyst-Plugin-Authentication-Store-DBIC
-Version:       0.07
-Release:       1
+Version:       0.11
+Release:       4
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-authors/id/D/DK/DKAMHOLZ/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 796f4b369f3717fc289126f6758a7ba9
+Source0:       http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 7743beb2c7bca430f906b6c04899eade
 URL:           http://search.cpan.org/dist/Catalyst-Plugin-Authentication-Store-DBIC/
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires: perl-Catalyst >= 5.49
+BuildRequires: perl-Catalyst-Model-DBIC-Schema
 BuildRequires: perl-Catalyst-Plugin-Authentication >= 0.06
 BuildRequires: perl-DBI
 BuildRequires: perl-Set-Object >= 1.14
@@ -28,10 +28,16 @@ BuildArch:  noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+This store has been deprecated in favour of
+Catalyst::Authentication::Store::DBIx::Class.
+
 This plugin uses a DBIx::Class (or Class::DBI) object to authenticate
 a user.
 
 %description -l pl.UTF-8
+Ten moduł jest przestarzały; używaj
+Catalyst::Authentication::Store::DBIx::Class. 
+
 Ta wtyczka wykorzystuje obiekt DBIx::Class (lub Class:DBI) do
 uwierzytelniania użytkownika.
 
@@ -39,17 +45,17 @@ uwierzytelniania użytkownika.
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-%{__perl} Build.PL \
-       destdir=$RPM_BUILD_ROOT \
-       installdirs=vendor
-./Build
+%{__perl} Makefile.PL --skipdeps \
+       INSTALLDIRS=vendor
+%{__make}
 
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.045136 seconds and 4 git commands to generate.