71 lines
2.1 KiB
RPMSpec
71 lines
2.1 KiB
RPMSpec
Name: perl-Alien-FFI
|
|
Version: 0.23
|
|
Release: 2%{?dist}
|
|
Summary: Make available libffi
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/Alien-FFI
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-FFI-%{version}.tar.gz
|
|
# This is an architecture-dependenant package because it stores data about
|
|
# architecture-specific library, but it has no XS code, hence no debuginfo.
|
|
%global debug_package %{nil}
|
|
BuildRequires: make
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
|
BuildRequires: perl(alienfile)
|
|
BuildRequires: perl(Alien::Build::MM) >= 0.73
|
|
BuildRequires: perl(Config)
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(Text::ParseWords)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time:
|
|
# Alien modules' purpose is to ensure one can compile against a library
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: perl(Alien::Base) >= 0.73
|
|
BuildRequires: perl(base)
|
|
# Tests:
|
|
BuildRequires: perl(IPC::Cmd)
|
|
BuildRequires: perl(Test2::V0) >= 0.000060
|
|
BuildRequires: perl(Test::Alien)
|
|
# Alien modules' purpose is to ensure one can compile against a library
|
|
Requires: libffi-devel%{?_isa}
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Alien::Base) >= 0.73
|
|
|
|
# Remove under-specified dependencies
|
|
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Alien::Base\\)$
|
|
|
|
%description
|
|
This ensures that libffi library can be used by other Perl distributions.
|
|
|
|
%prep
|
|
%setup -q -n Alien-FFI-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
%{make_build}
|
|
|
|
%install
|
|
%{make_install}
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes README
|
|
%{perl_vendorarch}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-2
|
|
- Perl 5.30 rebuild
|
|
|
|
* Fri Mar 08 2019 Petr Pisar <ppisar@redhat.com> - 0.23-1
|
|
- 0.23 bump
|
|
|
|
* Thu Feb 28 2019 Petr Pisar <ppisar@redhat.com> 0.22-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|