[perl-MooX] Initial import.

corsepiu corsepiu at fedoraproject.org
Thu Mar 27 15:26:02 UTC 2014


commit b99837541a3d1e0f334f4f44da24b9f46e4c226c
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Mar 27 16:25:42 2014 +0100

    Initial import.

 .gitignore     |    1 +
 perl-MooX.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8ac19cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooX-0.101.tar.gz
diff --git a/perl-MooX.spec b/perl-MooX.spec
new file mode 100644
index 0000000..e07af09
--- /dev/null
+++ b/perl-MooX.spec
@@ -0,0 +1,56 @@
+Name:           perl-MooX
+Version:        0.101
+Release:        2%{?dist}
+Summary:        Using Moo and MooX:: packages the most lazy way
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/MooX/
+Source0:        http://www.cpan.org/authors/id/G/GE/GETTY/MooX-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::OptList) >= 0.107
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Import::Into) >= 1.000003
+BuildRequires:  perl(Module::Runtime) >= 0.013
+BuildRequires:  perl(Moo) >= 0.091004
+BuildRequires:  perl(lib)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+
+BuildRequires:  perl(Test::More) >= 0.96
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Using Moo and MooX:: packages the most lazy way
+
+%prep
+%setup -q -n MooX-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$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/*
+
+%changelog
+* Tue Mar 25 2014 Ralf Corsépius <corsepiu at fedoraproject.org> 0.101-2
+- Add BR: perl(lib), perl(FindBin).
+- BR: perl(ExtUtils::MakeMaker) >= 6.30.
+
+* Sat Mar 22 2014 Ralf Corsépius <corsepiu at fedoraproject.org> 0.101-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..e8e7031 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c35d73fc38aceb7edec1b5560abe4e2d  MooX-0.101.tar.gz



More information about the perl-devel mailing list