[perl-Mo] Initial import (#1132356).

David Dick ddick at fedoraproject.org
Mon Aug 25 20:37:31 UTC 2014


commit 2012ef1bd542e675687212a3ff38c3999946e2af
Author: David Dick <ddick at cpan.org>
Date:   Tue Aug 26 06:37:24 2014 +1000

    Initial import (#1132356).

 .gitignore   |    1 +
 perl-Mo.spec |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..265e65b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Mo-0.38.tar.gz
diff --git a/perl-Mo.spec b/perl-Mo.spec
new file mode 100644
index 0000000..65e9e30
--- /dev/null
+++ b/perl-Mo.spec
@@ -0,0 +1,59 @@
+Name:           perl-Mo
+Version:        0.38
+Release:        1%{?dist}
+Summary:        Perl micro-object system
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Mo/
+Source0:        http://www.cpan.org/modules/by-module/Mo/Mo-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Class::XSAccessor)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::All)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(Mouse)
+BuildRequires:  perl(Mouse::Util::MetaRole)
+BuildRequires:  perl(PPI)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More) >= 0.96
+BuildRequires:  perl(warnings)
+Requires:       perl(Moose)
+Requires:       perl(Moose::Role)
+Requires:       perl(Mouse)
+Requires:       perl(Mouse::Util::MetaRole)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Mo provides the bare-minimum for a Perl object system, compared to other similar
+systems such as Moose, Mouse and Moo.
+
+%prep
+%setup -q -n Mo-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+%{_bindir}/*
+
+%changelog
+* Thu Aug 21 2014 David Dick <ddick at cpan.org> - 0.38-1
+- Initial release
diff --git a/sources b/sources
index e69de29..5a482d6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b88cf8ee1adbec965b31f8d0b4e6568d  Mo-0.38.tar.gz


More information about the scm-commits mailing list