Name: perl-ExtUtils-CBuilder Version: 0.280224 Release: 1%{?dist} Summary: Compile and link C code for Perl modules License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/ExtUtils-CBuilder/ Source0: http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(File::Spec) >= 3.13 BuildRequires: perl(File::Temp) BuildRequires: perl(IPC::Cmd) BuildRequires: perl(Perl::OSType) >= 1 BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(Text::ParseWords) Requires: perl(Cwd) Requires: perl(ExtUtils::MakeMaker) >= 6.30 Requires: perl(File::Spec) >= 3.13 Requires: perl(File::Temp) Requires: perl(IPC::Cmd) Requires: perl(Perl::OSType) >= 1 Requires: perl(Text::ParseWords) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module can build the C portions of Perl modules by invoking the appropriate compilers and linkers in a cross-platform manner. It was motivated by the Module::Build project, but may be useful for other purposes as well. However, it is not intended as a general cross-platform interface to all your C building needs. That would have been a much more ambitious goal! %prep %setup -q -n ExtUtils-CBuilder-%{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 CONTRIBUTING dist.ini LICENSE META.json README README.mkdn README.patching README.release %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Feb 09 2016 Daniel Berteaud 0.280224-1 - First build using cpanspec