You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-ExtUtils-HasCompiler/perl-ExtUtils-HasCompiler.spec

66 lines
1.8 KiB

9 years ago
Name: perl-ExtUtils-HasCompiler
9 years ago
Version: 0.014
Release: 2%{?dist}
9 years ago
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
9 years ago
BuildRequires: perl-generators
9 years ago
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
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-2
- Perl 5.24 rebuild
9 years ago
* Tue May 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.014-1
- 0.014 bump
9 years ago
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 0.013-1
- 0.013 bump
9 years ago
* Mon Mar 07 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.012-1
- Initial release