packages: perl-MooseX-Role-Parameterized/perl-MooseX-Role-Parameterized.spe...

glen glen at pld-linux.org
Sat Dec 10 19:07:26 CET 2011


Author: glen                         Date: Sat Dec 10 18:07:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-MooseX-Role-Parameterized:
   perl-MooseX-Role-Parameterized.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-MooseX-Role-Parameterized/perl-MooseX-Role-Parameterized.spec
diff -u /dev/null packages/perl-MooseX-Role-Parameterized/perl-MooseX-Role-Parameterized.spec:1.1
--- /dev/null	Sat Dec 10 19:07:26 2011
+++ packages/perl-MooseX-Role-Parameterized/perl-MooseX-Role-Parameterized.spec	Sat Dec 10 19:07:21 2011
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%define		pdir	MooseX
+%define		pnam	Role-Parameterized
+%include	/usr/lib/rpm/macros.perl
+Summary:	MooseX::Role::Parameterized::Meta::Trait::Parameterized - trait for parameterized roles
+Name:		perl-MooseX-Role-Parameterized
+Version:	0.27
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/MooseX/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	ff42187afa323a8fe7cba57ff78685de
+URL:		http://search.cpan.org/dist/MooseX-Role-Parameterized/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Moose >= 0.78
+BuildRequires:	perl-Test-Fatal
+BuildRequires:	perl-Test-Simple >= 0.96
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the trait for parameterized roles; that is, parameterizable
+roles with their parameters bound. All this actually provides is a
+place to store the MooseX::Role::Parameterized::Parameters object as
+well as the MooseX::Role::Parameterized::Meta::Role::Parameterizable
+object that generated this role object.
+
+%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}/MooseX/Role/Parameterized.pm
+%{perl_vendorlib}/MooseX/Role/Parameterized
+%{_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  2011/12/10 18:07:21  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list