Name: perl-Catalyst-Plugin-Authorization-Roles
Version: 0.09
Release: 3%{?dist}
Summary: Role based authorization for Catalyst based on Catalyst::Plugin::Authentication
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles/
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Plugin-Authorization-Roles-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl >= 1:5.8.0
BuildRequires: perl(Catalyst::Plugin::Authentication) >= 0.10003
BuildRequires: perl(Catalyst::Runtime) >= 5.7
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Set::Object) >= 1.14
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl(UNIVERSAL::isa) >= 0.05
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(Catalyst::Plugin::Authentication) >= 0.10003
Requires: perl(Catalyst::Runtime) >= 5.7
Requires: perl(Set::Object) >= 1.14
Requires: perl(UNIVERSAL::isa) >= 0.05
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Role based access control is very simple: every user has a list of roles,
which that user is allowed to assume, and every restricted part of the app
makes an assertion about the necessary roles.
%prep
%setup -q -n Catalyst-Plugin-Authorization-Roles-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
TEST_POD=1 make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.09-2
- Perl mass rebuild
* Sat Apr 30 2011 Iain Arnell <iarnell@gmail.com> 0.09-1
- update to latest upstream version
- clean up spec for modern rpmbuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-3
- 661697 rebuild for fixing problems with vendorach/lib
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2
- Mass rebuild with perl-5.12.0
* Mon Jan 04 2010 Iain Arnell <iarnell@gmail.com> 0.08-1
- update to latest upstream version
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.07-4
- rebuild against perl 5.10.1
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Dec 19 2008 Iain Arnell 0.07-1
- Specfile autogenerated by cpanspec 1.77.
- BR Test::Pod and Test::Pod::Coverage