perl-Test-BDD-Cucumber.spec
2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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.