commit 904c9f79cbfc45c2f00bc348cfe9f75b2c090034 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Thu Jun 9 20:30:12 2011 +0200 initial import .gitignore | 1 + perl-Test-Spec.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..f6670fc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-Spec-0.31.tar.gz diff --git a/perl-Test-Spec.spec b/perl-Test-Spec.spec new file mode 100644 index 0000000..216e248 --- /dev/null +++ b/perl-Test-Spec.spec @@ -0,0 +1,61 @@ +Name: perl-Test-Spec +Version: 0.31 +Release: 1%{?dist} +Summary: Write tests in a declarative specification style +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Spec/ +Source0: http://www.cpan.org/authors/id/P/PH/PHILIP/Test-Spec-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(FindBin) +BuildRequires: perl(List::Util) +BuildRequires: perl(Package::Stash) >= 0.23 +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Deep) >= 0.103 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Trap) +BuildRequires: perl(Tie::IxHash) +BuildRequires: perl(warnings) +Requires: perl(Package::Stash) >= 0.23 +Requires: perl(Test::Deep) >= 0.103 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This is a declarative specification-style testing system for behavior-driven +development (BDD) in Perl. The tests (a.k.a. examples) are named with strings +instead of subroutine names, so your fingers will suffer less fatigue from +underscore-itis, with the side benefit that the test reports are more legible. + +%prep +%setup -q -n Test-Spec-%{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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jun 08 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.31-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..04655f1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f5df9f12285491689e3f6320f9520a7e Test-Spec-0.31.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel