[perl-MooseX-NonMoose] initial import
Iain Arnell
iarnell at fedoraproject.org
Wed Nov 3 04:56:28 UTC 2010
commit 95ac5c4f452e760189215334e1319d6fc94497c4
Author: Iain Arnell <iarnell at gmail.com>
Date: Wed Nov 3 05:55:38 2010 +0100
initial import
.gitignore | 1 +
perl-MooseX-NonMoose.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5cbc1ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooseX-NonMoose-0.16.tar.gz
diff --git a/perl-MooseX-NonMoose.spec b/perl-MooseX-NonMoose.spec
new file mode 100644
index 0000000..0f0dc3b
--- /dev/null
+++ b/perl-MooseX-NonMoose.spec
@@ -0,0 +1,66 @@
+Name: perl-MooseX-NonMoose
+Version: 0.16
+Release: 1%{?dist}
+Summary: Easy subclassing of non-Moose classes
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/MooseX-NonMoose/
+Source0: http://www.cpan.org/authors/id/D/DO/DOY/MooseX-NonMoose-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(List::MoreUtils)
+BuildRequires: perl(Moose) >= 1.08
+BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Test::Moose)
+BuildRequires: perl(Test::More)
+# for additional testing (not in fedora yet)
+#BuildRequires: perl(MooseX::GlobRef)
+#BuildRequires: perl(MooseX::InsideOut)
+Requires: perl(Moose) >= 1.08
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+MooseX::NonMoose allows for easily subclassing non-Moose classes with
+Moose, taking care of the annoying details connected with doing this, such
+as setting up proper inheritance from Moose::Object and installing (and
+inlining, at make_immutable time) a constructor that makes sure things like
+BUILD methods are called. It tries to be as non-intrusive as possible -
+when this module is used, inheriting from non-Moose classes and inheriting
+from Moose classes should work identically, aside from the few caveats
+mentioned below. One of the goals of this module is that including it in a
+Moose::Exporter-based package used across an entire application should be
+possible, without interfering with classes that only inherit from Moose
+modules, or even classes that don't inherit from anything at all.
+
+%prep
+%setup -q -n MooseX-NonMoose-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Oct 27 2010 Iain Arnell <iarnell at gmail.com> 0.16-1
+- update to latest upstream version
+
+* Tue Oct 05 2010 Iain Arnell <iarnell at gmail.com> 0.15-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..980726f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ec528b615f6ecbd8d29cd127991e2f14 MooseX-NonMoose-0.16.tar.gz
More information about the scm-commits
mailing list