File perl-Catalyst-Plugin-Authorization-Roles.spec of Package perl-Catalyst-Plugin-Authorization-Roles
%define _real_name Catalyst-Plugin-Authorization-Roles
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
Summary: Role based authorization for Catalyst based on Catalyst::Plugin::Authentication
Name: perl-Catalyst-Plugin-Authorization-Roles
Version: 0.07
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~bricas/Catalyst-Plugin-Authorization-Roles-0.07/lib/Catalyst/Plugin/Authorization/Roles.pm
Buildarch: noarch
BuildRequires: perl-Test-Exception perl-Catalyst-Runtime perl-Catalyst-Plugin-Authentication perl-Set-Object perl-UNIVERSAL-isa perl-Catalyst-Plugin-Session perl-MRO-Compat perl-Test-MockObject perl-UNIVERSAL-can perl-Scalar-List-Utils
Source: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/Catalyst-Plugin-Authorization-Roles-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Role based authorization for Catalyst based on Catalyst::Plugin::Authentication
%prep
%setup -n %{_real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/Catalyst
%dir %{perl_vendorlib}/Catalyst/Plugin
%dir %{perl_vendorlib}/Catalyst/Plugin/Authorization
%{perl_vendorlib}/Catalyst/Plugin/Authorization/Roles.pm
%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 0.07-1
- Initial package