SPECS: perl-Catalyst-Plugin-Authorization-Roles.spec (NEW) - new
radek
radek at pld-linux.org
Fri Dec 12 11:38:53 CET 2008
Author: radek Date: Fri Dec 12 10:38:53 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Catalyst-Plugin-Authorization-Roles.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Catalyst-Plugin-Authorization-Roles.spec
diff -u /dev/null SPECS/perl-Catalyst-Plugin-Authorization-Roles.spec:1.1
--- /dev/null Fri Dec 12 11:38:53 2008
+++ SPECS/perl-Catalyst-Plugin-Authorization-Roles.spec Fri Dec 12 11:38:47 2008
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Catalyst
+%define pnam Plugin-Authorization-Roles
+Summary: Catalyst::Plugin::Authorization::Roles - Role based authorization for Catalyst based on Catalyst::Plugin::Authentication
+#Summary(pl.UTF-8):
+Name: perl-Catalyst-Plugin-Authorization-Roles
+Version: 0.07
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: afef214de7c8084c59fad8a07a640059
+URL: http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Catalyst >= 5.7
+BuildRequires: perl-Catalyst-Plugin-Authentication >= 0.10003
+BuildRequires: perl-Set-Object >= 1.14
+BuildRequires: perl-UNIVERSAL-isa >= 0.05
+BuildRequires: perl-Test-Exception
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Catalyst/Plugin/Authorization/*.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/12/12 10:38:47 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list