perl-Test-BDD-Cucumber.spec 2.72 KB
Name:           perl-Test-BDD-Cucumber
Version:        0.32
Release:        1%{?dist}
Summary:        Feature-complete Cucumber-style testing in Perl
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Test-BDD-Cucumber/
Source0:        http://www.cpan.org/authors/id/S/SA/SARGIE/Test-BDD-Cucumber-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 0:5.008
BuildRequires:  perl(Clone)
BuildRequires:  perl(Digest::SHA)
BuildRequires:  perl(Digest::MD5)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Find::Rule)
BuildRequires:  perl(File::Slurp) >= 9999.16
BuildRequires:  perl(Getopt::Long)
BuildRequires:  perl(IO::Scalar)
BuildRequires:  perl(JSON::MaybeXS)
BuildRequires:  perl(List::MoreUtils)
BuildRequires:  perl(List::Util)
BuildRequires:  perl(Module::Runtime)
BuildRequires:  perl(Moose)
BuildRequires:  perl(Number::Range)
BuildRequires:  perl(Path::Class)
BuildRequires:  perl(Storable)
BuildRequires:  perl(Term::ANSIColor) >= 3.00
BuildRequires:  perl(Test::Builder)
BuildRequires:  perl(Test::Differences)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(YAML::Syck)
Requires:       perl(Clone)
Requires:       perl(Digest::SHA)
Requires:       perl(File::Find::Rule)
Requires:       perl(File::Slurp) >= 9999.16
Requires:       perl(Getopt::Long)
Requires:       perl(IO::Scalar)
Requires:       perl(JSON::MaybeXS)
Requires:       perl(List::MoreUtils)
Requires:       perl(List::Util)
Requires:       perl(Module::Runtime)
Requires:       perl(Moose)
Requires:       perl(Number::Range)
Requires:       perl(Path::Class)
Requires:       perl(Storable)
Requires:       perl(Term::ANSIColor) >= 3.00
Requires:       perl(Test::Builder)
Requires:       perl(Test::Differences)
Requires:       perl(Test::More)
Requires:       perl(YAML::Syck)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
A sane and complete Cucumber implementation in Perl

%prep
%setup -q -n Test-BDD-Cucumber-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGES dist.ini LICENSE README script TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{_mandir}/man1/*
%{_bindir}/pherkin

%changelog
* Wed Apr 08 2015 Daniel Miranda <danielkza2@gmail.com> 0.32-1
- Specfile autogenerated by cpanspec 1.78.