parent
e0ec9eccfe
commit
a6be8dcb54
@ -0,0 +1 @@
|
|||||||
|
/ExtUtils-HasCompiler-0.012.tar.gz
|
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-ExtUtils-HasCompiler
|
||||||
|
Version: 0.012
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Check for the presence of a compiler
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/ExtUtils-HasCompiler/
|
||||||
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-HasCompiler-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Run-time
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(DynaLoader)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(ExtUtils::Mksymlists)
|
||||||
|
BuildRequires: perl(File::Basename)
|
||||||
|
BuildRequires: perl(File::Spec::Functions)
|
||||||
|
BuildRequires: perl(File::Temp)
|
||||||
|
# Tests
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(DynaLoader)
|
||||||
|
Requires: perl(ExtUtils::Mksymlists)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module tries to check if the current system is capable of compiling,
|
||||||
|
linking and loading an XS module.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ExtUtils-HasCompiler-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 07 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-1
|
||||||
|
- Initial release
|
Loading…
Reference in new issue