/[packages]/cauldron/perl-MooseX-AuthorizedMethods/current/SPECS/perl-MooseX-AuthorizedMethods.spec
ViewVC logotype

Contents of /cauldron/perl-MooseX-AuthorizedMethods/current/SPECS/perl-MooseX-AuthorizedMethods.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 513117 - (show annotations) (download)
Fri Oct 18 11:06:30 2013 UTC (11 years, 6 months ago) by umeabot
File size: 1084 byte(s)
Mageia 4 Mass Rebuild
1 %define upstream_name MooseX-AuthorizedMethods
2 %define upstream_version 0.006
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 3
7
8 Summary: Check roles of the user
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/MooseX/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(ExtUtils::MakeMaker)
15 BuildRequires: perl(Moose)
16 BuildRequires: perl(aliased)
17 BuildArch: noarch
18
19 %description
20 This method exports the "authorized" declarator that makes a verification
21 if the user has the required permissions before the acual invocation. The
22 default verification method will take the "user" method result and call
23 "roles" to list the roles given to that user.
24
25 %prep
26 %setup -q -n %{upstream_name}-%{upstream_version}
27
28 %build
29 %{__perl} Makefile.PL INSTALLDIRS=vendor
30
31 %make
32
33 %check
34 %make test
35
36 %install
37 rm -rf %buildroot
38 %makeinstall_std
39
40 %files
41 %doc README META.yml
42 %{_mandir}/man3/*
43 %perl_vendorlib/*
44
45

  ViewVC Help
Powered by ViewVC 1.1.30