Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > eb32c6f9278b3453e970a73af772a666 > files > 2

perl-Dist-Zilla-App-Command-cover-1.101.0-1.mga1.src.rpm

%define upstream_name    Dist-Zilla-App-Command-cover
%define upstream_version 1.101000

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Code coverage metrics for your distribution
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Carp)
BuildRequires: perl(Devel::Cover)
BuildRequires: perl(Dist::Zilla::App)
BuildRequires: perl(English)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::chdir)
BuildRequires: perl(Path::Class)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Test::More)
BuildArch: noarch

%description
This is a command plugin for the Dist::Zilla manpage. It provides the
'cover' command, which generates code coverage metrics for your
distribution using the Devel::Cover manpage.

If there were any test errors, the 'cover' command won't be run. Author and
release tests are not run since they should not be counted against code
coverage. Any additional command-line arguments are passed to the 'cover'
command.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

%check
%make test

%install
rm -rf %buildroot
%makeinstall_std

%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%doc Changes LICENSE META.yml META.json README
%{_mandir}/man3/*
%perl_vendorlib/*




%changelog
* Mon Apr 11 2011 jquelin <jquelin> 1.101.0-1.mga1
+ Revision: 83275
- imported package perl-Dist-Zilla-App-Command-cover


* Mon Apr 11 2011 cpan2dist 1.101000-1mga
- initial mageia release, generated with cpan2dist