[perl-Test-Able] Import

Petr Pisar ppisar at fedoraproject.org
Mon Oct 3 12:36:02 UTC 2011


commit 7a43e2e101c85361c33c594d008356c686943e55
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Oct 3 14:35:32 2011 +0200

    Import

 .gitignore          |    1 +
 perl-Test-Able.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2d0e2f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-Able-0.10.tar.gz
diff --git a/perl-Test-Able.spec b/perl-Test-Able.spec
new file mode 100644
index 0000000..ec2be46
--- /dev/null
+++ b/perl-Test-Able.spec
@@ -0,0 +1,59 @@
+Name:           perl-Test-Able
+Version:        0.10
+Release:        1%{?dist}
+Summary:        xUnit with Moose
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-Able/
+Source0:        http://www.cpan.org/authors/id/J/JD/JDV/Test-Able-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Moose) >= 0.94
+BuildRequires:  perl(Moose::Exporter)
+BuildRequires:  perl(Moose::Role)
+BuildRequires:  perl(Moose::Util::MetaRole)
+BuildRequires:  perl(Moose::Util::TypeConstraints)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Sub::Exporter)
+BuildRequires:  perl(Test::Builder)
+# Tests only:
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Moose) >= 0.94
+
+# Do not export underspecified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moose\\)\\s*$
+
+%description
+An xUnit style testing framework inspired by Test::Class and built using
+Moose. It can do all the important things Test::Class can do and more. The
+prime advantages of using this module instead of Test::Class are
+flexibility and power. Namely, Moose.
+
+%prep
+%setup -q -n Test-Able-%{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 {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Sep 30 2011 Petr Pisar <ppisar at redhat.com> 0.10-1
+- Specfile autogenerated by cpanspec 1.78.
+- Remove BuildRoot and defattr spec code
diff --git a/sources b/sources
index e69de29..c899354 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+33fb8a6ad1427151e277d588d5fecd72  Test-Able-0.10.tar.gz


More information about the scm-commits mailing list