packages: perl-MooseX-Object-Pluggable/perl-MooseX-Object-Pluggable.spec (N...
baggins
baggins at pld-linux.org
Sat Jan 28 21:08:02 CET 2012
Author: baggins Date: Sat Jan 28 20:08:02 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/perl-MooseX-Object-Pluggable:
perl-MooseX-Object-Pluggable.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-MooseX-Object-Pluggable/perl-MooseX-Object-Pluggable.spec
diff -u /dev/null packages/perl-MooseX-Object-Pluggable/perl-MooseX-Object-Pluggable.spec:1.1
--- /dev/null Sat Jan 28 21:08:02 2012
+++ packages/perl-MooseX-Object-Pluggable/perl-MooseX-Object-Pluggable.spec Sat Jan 28 21:07:56 2012
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir MooseX
+%define pnam Object-Pluggable
+%include /usr/lib/rpm/macros.perl
+Summary: MooseX::Object::Pluggable - Make your classes pluggable
+Name: perl-MooseX-Object-Pluggable
+Version: 0.0011
+Release: 1
+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: ce3b5ffc6d05bdd77102488a85e401d1
+URL: http://search.cpan.org/dist/MooseX-Object-Pluggable/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Moose >= 0.35
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is meant to be loaded as a role from Moose-based classes
+it will add five methods and four attributes to assist you with the
+loading and handling of plugins and extensions for plugins. I
+understand that this may pollute your namespace, however I took great
+care in using the least ambiguous names possible.
+
+%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 README
+%dir %{perl_vendorlib}/MooseX/Object
+%{perl_vendorlib}/MooseX/Object/*.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 2012/01/28 20:07:56 baggins
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list