diff --git a/src/pkg-rpm/analizo/0001-Fixes-keys-on-reference-for-ClangStaticAnalyzer.patch b/src/pkg-rpm/analizo/0001-Fixes-keys-on-reference-for-ClangStaticAnalyzer.patch new file mode 100644 index 0000000..b11b01f --- /dev/null +++ b/src/pkg-rpm/analizo/0001-Fixes-keys-on-reference-for-ClangStaticAnalyzer.patch @@ -0,0 +1,25 @@ +From 3ba609d3154b3859724546038f4a5a5828a5d71b Mon Sep 17 00:00:00 2001 +From: Rafael Reggiani Manzo +Date: Fri, 4 Jul 2014 13:00:55 -0300 +Subject: [PATCH] Fixes keys on reference for ClangStaticAnalyzer + +--- + lib/Analizo/Extractor/ClangStaticAnalyzer.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Analizo/Extractor/ClangStaticAnalyzer.pm b/lib/Analizo/Extractor/ClangStaticAnalyzer.pm +index cbb92fa..8c8c3bb 100644 +--- a/lib/Analizo/Extractor/ClangStaticAnalyzer.pm ++++ b/lib/Analizo/Extractor/ClangStaticAnalyzer.pm +@@ -120,7 +120,7 @@ sub feed { + + $self->model->declare_module($module, $file_name); + +- foreach $bug (keys $bugs_hash) { ++ foreach $bug (keys %$bugs_hash) { + my $value = $tree->{$file_name}->{$bug}; + $self->model->declare_security_metrics($bug, $module, $value); + } +-- +2.0.1 + diff --git a/src/pkg-rpm/analizo/analizo.spec b/src/pkg-rpm/analizo/analizo.spec new file mode 100644 index 0000000..a355ff7 --- /dev/null +++ b/src/pkg-rpm/analizo/analizo.spec @@ -0,0 +1,130 @@ +%global _hardened_build 1 +%define analizo_1_18_0_or_older 0 + +Name: analizo +Version: 1.18.1 +Release: 1%{?dist} +Summary: Analizo is a free, multi-language, extensible source code analysis and visualization toolkit + +Group: Development/Languages +License: GPLv3 +URL: http://www.analizo.org + +%if %{analizo_1_18_0_or_older} +Source0: http://analizo.org/download/analizo_%{version}.tar.gz +%else +Source0: http://analizo.org/download/analizo_%{version}.tar.xz +%endif + +BuildArch: noarch + +BuildRequires: git +BuildRequires: man +BuildRequires: sloccount +BuildRequires: doxyparse +BuildRequires: clang-analyzer +BuildRequires: ruby(release) +BuildRequires: rubygem-rspec +BuildRequires: rubygem-rake +BuildRequires: rubygem-cucumber +BuildRequires: perl(Archive::Extract) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::LibMagic) +BuildRequires: perl(File::ShareDir::Install) +BuildRequires: perl(File::Slurp) +BuildRequires: perl(Method::Signatures) +BuildRequires: perl(Test::BDD::Cucumber) +BuildRequires: perl(Test::Class) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::MockModule) +BuildRequires: perl(Test::MockObject) +# Same as runtime requirements, we need them to run the tests +BuildRequires: perl(App::Cmd) +BuildRequires: perl(Class::Accessor) +BuildRequires: perl(Class::Inspector) +BuildRequires: perl(DBD::SQLite) +BuildRequires: perl(DBI) +BuildRequires: perl(CHI) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(File::Copy::Recursive) +BuildRequires: perl(File::HomeDir) +BuildRequires: perl(File::Share) +BuildRequires: perl(File::ShareDir) +BuildRequires: perl(FindBin::libs) +BuildRequires: perl(Graph) +BuildRequires: perl(Graph::Writer::Dot) +BuildRequires: perl(Graph::Writer::DSM) >= 0.005 +BuildRequires: perl(JSON) +BuildRequires: perl(List::Compare) +BuildRequires: perl(Mojolicious) +BuildRequires: perl(Statistics::Descriptive) +BuildRequires: perl(Term::ProgressBar) +BuildRequires: perl(YAML) +BuildRequires: perl(YAML::Tiny) +BuildRequires: perl(ZeroMQ) + +Requires: sloccount +Requires: doxyparse +Requires: clang-analyzer +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(App::Cmd) +Requires: perl(Class::Accessor) +Requires: perl(Class::Inspector) +Requires: perl(DBD::SQLite) +Requires: perl(DBI) +Requires: perl(CHI) +Requires: perl(Digest::SHA) +Requires: perl(File::Copy::Recursive) +Requires: perl(File::HomeDir) +Requires: perl(File::Share) +Requires: perl(File::ShareDir) +Requires: perl(FindBin::libs) +Requires: perl(Graph) +Requires: perl(Graph::Writer::Dot) +Requires: perl(Graph::Writer::DSM) >= 0.005 +Requires: perl(JSON) +Requires: perl(List::Compare) +Requires: perl(Mojolicious) +Requires: perl(Statistics::Descriptive) +Requires: perl(Term::ProgressBar) +Requires: perl(YAML) +Requires: perl(YAML::Tiny) +Requires: perl(ZeroMQ) + +%description +Analizo is a free, multi-language, extensible source code analysis and +visualization toolkit. It supports the extraction and calculation of a fair +number of source code metrics, generation of dependency graphs, and software +evolution analysis. + +%prep +%setup -q -n analizo + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d +install -pm 644 share/bash-completion/analizo %{buildroot}%{_sysconfdir}/bash_completion.d/analizo + +%{_fixperms} %{buildroot}/* + +%check +# PATH="$PATH:%{buildroot}%{_bindir}" PERL5LIB="$PERL5LIB:$PWD/lib" rake + +%files +%defattr(-,root,root,-) +%doc AUTHORS README.md INSTALL.md PROFILING.md RELEASE.md +%{perl_vendorlib}/* +%{_bindir}/analizo +%{_mandir}/man1/* +%{_sysconfdir}/bash_completion.d + +%changelog +* Thu Mar 19 2015 Daniel Miranda +- Initial Packaging diff --git a/src/pkg-rpm/doxyparse/0001-Fix-compilation-errors-in-g-4.9.patch b/src/pkg-rpm/doxyparse/0001-Fix-compilation-errors-in-g-4.9.patch new file mode 100644 index 0000000..5b4590e --- /dev/null +++ b/src/pkg-rpm/doxyparse/0001-Fix-compilation-errors-in-g-4.9.patch @@ -0,0 +1,25 @@ +From c6657e8e38a08bf7668539e6566c1f398c1594ef Mon Sep 17 00:00:00 2001 +From: Daniel Miranda +Date: Wed, 8 Apr 2015 16:23:58 -0300 +Subject: [PATCH] Fix compilation errors in g++ 4.9 + +--- + qtools/qvaluestack.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/qtools/qvaluestack.h b/qtools/qvaluestack.h +index 3fb61fd..7438fcb 100644 +--- a/qtools/qvaluestack.h ++++ b/qtools/qvaluestack.h +@@ -49,7 +49,7 @@ class Q_EXPORT QValueStack : public QValueList + public: + QValueStack() {} + ~QValueStack() {} +- void push( const T& d ) { append(d); } ++ void push( const T& d ) { this->append(d); } + T pop() + { + T elem( this->last() ); +-- +2.1.0 + diff --git a/src/pkg-rpm/doxyparse/0002-Use-C-XX-FLAGS-from-environment-in-configure.patch b/src/pkg-rpm/doxyparse/0002-Use-C-XX-FLAGS-from-environment-in-configure.patch new file mode 100644 index 0000000..a18078d --- /dev/null +++ b/src/pkg-rpm/doxyparse/0002-Use-C-XX-FLAGS-from-environment-in-configure.patch @@ -0,0 +1,26 @@ +From ba64033006257e072b15b161cf463aae0cc70785 Mon Sep 17 00:00:00 2001 +From: Daniel Miranda +Date: Wed, 8 Apr 2015 17:09:57 -0300 +Subject: [PATCH] Use C(XX)FLAGS from environment in configure + +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index 3f4ecb3..9a9b436 100755 +--- a/configure ++++ b/configure +@@ -529,6 +529,9 @@ rm -f spec.tmp + # make .tmakeconfig + # + touch .tmakeconfig ++[ -n "$CFLAGS" ] && echo "TMAKE_CFLAGS += $CFLAGS" >> .tmakeconfig ++[ -n "$CXXFLAGS" ] && echo "TMAKE_CXXFLAGS += $CXXFLAGS" >> .tmakeconfig ++ + if test "$f_shared" = NO; then + if test "$f_platform" = "osf1-cxx" -o "$f_platform" = "irix-n32"; then + cat >> .tmakeconfig < %{buildroot}/lib/systemd/system/kalibro_configurations.service < %{buildroot}/etc/kalibro-configurations/database.yml < %{buildroot}/etc/kalibro-configurations/secrets.yml <= 1.04 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Temp) >= 0.14 +BuildRequires: perl(Storable) >= 2.15 +BuildRequires: perl(Test::More) +BuildRequires: gnuplot-minimal +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Carp) >= 1.04 +Requires: perl(File::Temp) >= 0.14 +Requires: perl(Storable) >= 2.15 +Requires: gnuplot +Requires: ImageMagick + +%description +This Perl module is to plot graphs uning GNUPLOT on the fly. In order to +use this module, gnuplot need to be installed. If image format other than +PS and EPS is required to generate, it is recommended to install the +convert program of ImageMagick as well. Please refer to "MECHANISM OF THIS +MODULE" for details. + +%prep +%setup -q -n Chart-Gnuplot-%{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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Apr 09 2015 Daniel Miranda 0.23-2 +- Fix gnuplot and ImageMagick dependencies. + +* Wed Apr 08 2015 Daniel Miranda 0.23-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/src/pkg-rpm/perl-FindBin-libs/perl-FindBin-libs.spec b/src/pkg-rpm/perl-FindBin-libs/perl-FindBin-libs.spec new file mode 100644 index 0000000..430a433 --- /dev/null +++ b/src/pkg-rpm/perl-FindBin-libs/perl-FindBin-libs.spec @@ -0,0 +1,65 @@ +Name: perl-FindBin-libs +Version: 2.15 +Release: 1%{?dist} +Summary: FindBin::libs Perl module +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/FindBin-libs/ +Source0: http://www.cpan.org/authors/id/L/LE/LEMBARK/FindBin-libs-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(List::Util) +BuildRequires: perl(Test::More) +Requires: perl(Carp) +Requires: perl(Cwd) +Requires: perl(File::Spec) +Requires: perl(File::Temp) +Requires: perl(List::Util) +Requires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This may not do much good on Windows: the crazy directory structures common +to Windows systems do not seem very amenable to using $FindBin::Bin as the +starting point for locating libraries. + +%prep +%setup -q -n FindBin-libs-%{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/* + +perldoc -t perlgpl > COPYING +perldoc -t perlartistic > Artistic + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes libs_curr_pm libs_old_pm META.json README COPYING Artistic +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 08 2015 Daniel Miranda 2.12-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/src/pkg-rpm/perl-Graph-ReadWrite/perl-Graph-ReadWrite.spec b/src/pkg-rpm/perl-Graph-ReadWrite/perl-Graph-ReadWrite.spec new file mode 100644 index 0000000..8d74e3a --- /dev/null +++ b/src/pkg-rpm/perl-Graph-ReadWrite/perl-Graph-ReadWrite.spec @@ -0,0 +1,62 @@ +Name: perl-Graph-ReadWrite +Version: 2.07 +Release: 1%{?dist} +Summary: Modules for reading and writing directed graphs +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Graph-ReadWrite/ +Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Graph-ReadWrite-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Graph) >= 0.5 +BuildRequires: perl(parent) +BuildRequires: perl(Parse::Yapp::Driver) +BuildRequires: perl(XML::Parser) +BuildRequires: perl(XML::Writer) +Requires: perl(Carp) +Requires: perl(Graph) >= 0.5 +Requires: perl(parent) +Requires: perl(Parse::Yapp::Driver) +Requires: perl(XML::Parser) +Requires: perl(XML::Writer) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module is a placeholder in the Graph-ReadWrite distribution, which is +a collection of modules for reading and writing directed graphs. + +%prep +%setup -q -n Graph-ReadWrite-%{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 META.json README TODO +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 08 2015 Daniel Miranda 2.07-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/src/pkg-rpm/perl-Graph-Writer-DSM/perl-Graph-Writer-DSM.spec b/src/pkg-rpm/perl-Graph-Writer-DSM/perl-Graph-Writer-DSM.spec new file mode 100644 index 0000000..c0a8dab --- /dev/null +++ b/src/pkg-rpm/perl-Graph-Writer-DSM/perl-Graph-Writer-DSM.spec @@ -0,0 +1,68 @@ +Name: perl-Graph-Writer-DSM +Version: 0.006 +Release: 2%{?dist} +Summary: Draw graph as a DSM matrix +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Graph-Writer-DSM/ +Source0: http://www.cpan.org/authors/id/J/JO/JOENIO/Graph-Writer-DSM-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Chart::Gnuplot) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Graph) +BuildRequires: perl(Graph::Writer) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(Modern::Perl) +BuildRequires: perl(Module::Install::Can) +BuildRequires: perl(Mojo::Template) +BuildRequires: perl(Test::Class) +BuildRequires: perl(Test::File) +BuildRequires: perl(Test::Most) +BuildRequires: perl(Test::TempDir) +Requires: perl(Chart::Gnuplot) +Requires: perl(File::Temp) +Requires: perl(Graph::Writer) +Requires: perl(List::MoreUtils) +Requires: perl(Modern::Perl) +Requires: perl(Mojo::Template) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Write graph as a quadractic matrix N x N, where N is the number of vertices +in the graph. It is useful to visualize graphs with at least 1k vertices. + +%prep +%setup -q -n Graph-Writer-DSM-%{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 dist.ini LICENSE README Vagrantfile +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 08 2015 Daniel Miranda 0.006-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/src/pkg-rpm/perl-Number-Range/perl-Number-Range.spec b/src/pkg-rpm/perl-Number-Range/perl-Number-Range.spec new file mode 100644 index 0000000..2e9f34a --- /dev/null +++ b/src/pkg-rpm/perl-Number-Range/perl-Number-Range.spec @@ -0,0 +1,51 @@ +Name: perl-Number-Range +Version: 0.12 +Release: 1%{?dist} +Summary: Perl extension defining ranges of numbers and testing if a number is found in the range. You can also add and delete from this range +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/Number-Range/ +Source0: http://www.cpan.org/authors/id/L/LA/LARRYSH/Number-Range-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Number::Range will take a description of a range, and then allow you to +test on if a number falls within the range. You can also add and delete +from the range. + +%prep +%setup -q -n Number-Range-%{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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Apr 08 2015 Daniel Miranda 0.12-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/src/pkg-rpm/perl-Test-BDD-Cucumber/perl-Test-BDD-Cucumber.spec b/src/pkg-rpm/perl-Test-BDD-Cucumber/perl-Test-BDD-Cucumber.spec new file mode 100644 index 0000000..aff6c4e --- /dev/null +++ b/src/pkg-rpm/perl-Test-BDD-Cucumber/perl-Test-BDD-Cucumber.spec @@ -0,0 +1,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 0.32-1 +- Specfile autogenerated by cpanspec 1.78. -- libgit2 0.21.2