%define upstream_name ExtUtils-CppGuess %define upstream_version 0.07 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Guess C++ compiler and flags License: GPLv1+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Capture::Tiny) BuildRequires: perl(File::Basename) BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build) BuildRequires: perl-devel %description 'ExtUtils::CppGuess' attempts to guess the system's C++ compiler that is compatible with the C compiler that your perl was built with. It can generate the necessary options to the the Module::Build manpage constructor or to the ExtUtils::MakeMaker manpage's 'WriteMakefile' function. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install ./Build install destdir=%{buildroot} %files %doc Changes README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.70.0-3.mga3 + Revision: 367011 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu May 31 2012 shlomif <shlomif> 0.70.0-2.mga3 + Revision: 252305 - License fix - imported package perl-ExtUtils-CppGuess