%define upstream_name Dist-Zilla-Plugin-CheckLib %define upstream_version 0.006 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Require that our distribution has a particular library available 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(Devel::CheckLib) BuildRequires: perl(Dist::Zilla::Plugin::MetaResources) BuildRequires: perl(Dist::Zilla::Role::FileMunger) BuildRequires: perl(Dist::Zilla::Role::InstallTool) BuildRequires: perl(Dist::Zilla::Role::PrereqSource) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Moose) BuildRequires: perl(Path::Tiny) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::DZil) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Requires) BuildRequires: perl(if) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildArch: noarch %description This is a the Dist::Zilla manpage plugin that modifies the _Makefile.PL_ or _Build.PL_ in your distribution to contain a the Devel::CheckLib manpage call, that asserts that a particular library and/or header is available. If it is not available, the program exits with a status of zero, which on a cpantesters.org machine will result in a NA result. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes CONTRIBUTING INSTALL LICENSE META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jun 19 2016 pterjan <pterjan> 0.6.0-3.mga6 + Revision: 1026161 - Rebuild for perl 5.22.2 * Fri Feb 19 2016 umeabot <umeabot> 0.6.0-2.mga6 + Revision: 969051 - Mageia 6 Mass Rebuild * Wed Jul 29 2015 shlomif <shlomif> 0.6.0-1.mga6 + Revision: 858872 - imported package perl-Dist-Zilla-Plugin-CheckLib * Wed Jul 29 2015 cpan2dist 0.006-1mga - initial mageia release, generated with cpan2dist