commit ba854dbcf5f2da6fc401bad0d4f79215d0544f95 Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> Date: Wed Jan 2 13:49:57 2013 +0800 Initial package for Fedora This was submitted on Wed Jan 02 2013: https://bugzilla.redhat.com/show_bug.cgi?id=891165#c0 perl-Test-Routine.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/perl-Test-Routine.spec b/perl-Test-Routine.spec new file mode 100644 index 0000000..97671d3 --- /dev/null +++ b/perl-Test-Routine.spec @@ -0,0 +1,60 @@ +Name: perl-Test-Routine +Summary: Composable units of assertion +Version: 0.015 +Release: 1%{?dist} +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Test-Routine/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Routine-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose::Exporter) +BuildRequires: perl(MooseX::Method::Signatures) +BuildRequires: perl(namespace::autoclean) +BuildRequires: perl(Test::Builder::Tester) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Moose) +BuildRequires: perl(Test::More) >= 0.96 + +Requires: perl(Moose::Meta::Method) +Requires: perl(Test::More) >= 0.96 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Test::Routine is a very simple framework for writing your tests as +composable units of assertion. In other words: roles. + + +%prep +%setup -q -n Test-Routine-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/Test +%{_mandir}/man3/Test::Routine*3pm* + + +%changelog +* Wed Jan 02 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 0.015-1 +- Initial package for Fedora, with help from cpanspec. -- 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