%define upstream_name Test-Run-Plugin-AlternateInterpreters %define upstream_version 0.0122 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: A plugin License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MRO::Compat) BuildRequires: perl(Module::Build) >= 0.390.0 BuildRequires: perl(Moose) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Run::CmdLine) >= 0.12.0 BuildRequires: perl(Test::Run::CmdLine::Trap::ProveApp) BuildRequires: perl(Test::Run::Core) >= 0.12.0 BuildRequires: perl(Test::Trap) BuildArch: noarch %description This is a the Test::Run::CmdLine manpage plugin that allows enabling alternate interpreters. One can specify them by setting the ''HARNESS_ALT_INTRP_FILE'' environment variable to the path to a YAML configuration file which lists the interpreters and their regular expressions. A sample one is: --- - cmd: '/usr/bin/ruby' pattern: \.rb\z type: regex - cmd: '/usr/bin/python' pattern: \.py\z type: regex %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install %makeinstall_std %files %doc Changes META.json META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.12.200-2.mga3 + Revision: 373773 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Sep 30 2012 shlomif <shlomif> 0.12.200-1.mga3 + Revision: 300653 - update to 0.0122 * Wed Aug 01 2012 shlomif <shlomif> 0.12.100-1.mga3 + Revision: 277565 - update to 0.0121 - imported package perl-Test-Run-Plugin-AlternateInterpreters