|
|
63aa985 |
Name: perl-Inline-CPP
|
|
|
63aa985 |
Version: 0.74
|
|
|
79308d3 |
Release: 4%{?dist}
|
|
|
63aa985 |
Summary: Write Perl subroutines and classes in C++
|
|
|
63aa985 |
License: Artistic 2.0
|
|
|
c8ff60b |
URL: https://metacpan.org/release/Inline-CPP
|
|
|
c8ff60b |
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAVIDO/Inline-CPP-%{version}.tar.gz
|
|
|
63aa985 |
# Do not ask questions at build time
|
|
|
63aa985 |
Patch0: Inline-CPP-0.74-Non-interactive-Makefile.PL.patch
|
|
|
63aa985 |
# Install into archicture specific path because of stored C++ compiler flags,
|
|
|
63aa985 |
# CPAN RT#122557
|
|
|
63aa985 |
Patch1: Inline-CPP-0.74-Install-into-architecture-specific-path.patch
|
|
|
63aa985 |
# This is a full-arch package because it stores arch-specific C++ options,
|
|
|
63aa985 |
# CPAN RT#122557
|
|
|
63aa985 |
%global debug_package %{nil}
|
|
|
63aa985 |
BuildRequires: gcc-c++
|
|
|
63aa985 |
BuildRequires: make
|
|
|
63aa985 |
BuildRequires: perl-generators
|
|
|
63aa985 |
BuildRequires: perl-interpreter
|
|
|
63aa985 |
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
63aa985 |
BuildRequires: perl(Config)
|
|
|
63aa985 |
BuildRequires: perl(Exporter)
|
|
|
63aa985 |
BuildRequires: perl(ExtUtils::CppGuess) >= 0.11
|
|
|
63aa985 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.04
|
|
|
63aa985 |
BuildRequires: perl(Fcntl)
|
|
|
63aa985 |
BuildRequires: perl(FindBin)
|
|
|
63aa985 |
BuildRequires: perl(lib)
|
|
|
63aa985 |
BuildRequires: perl(strict)
|
|
|
63aa985 |
BuildRequires: perl(warnings)
|
|
|
63aa985 |
# Run-time:
|
|
|
63aa985 |
# Perl header files included into generated code
|
|
|
63aa985 |
BuildRequires: perl-devel
|
|
|
63aa985 |
BuildRequires: perl(Carp)
|
|
|
63aa985 |
BuildRequires: perl(Inline::C) >= 0.67
|
|
|
63aa985 |
BuildRequires: perl(Parse::RecDescent)
|
|
|
63aa985 |
BuildRequires: perl(vars)
|
|
|
63aa985 |
# Tests:
|
|
|
63aa985 |
BuildRequires: perl(English)
|
|
|
63aa985 |
BuildRequires: perl(File::Temp)
|
|
|
63aa985 |
BuildRequires: perl(Inline) >= 0.78
|
|
|
63aa985 |
BuildRequires: perl(Test::More) >= 1.001009
|
|
|
63aa985 |
# Optional tests:
|
|
|
63aa985 |
BuildRequires: perl(Inline::Filters)
|
|
|
63aa985 |
# Test::Kwalitee not used
|
|
|
63aa985 |
# Test::Perl::Critic not used
|
|
|
63aa985 |
# Test::Pod 1.00 not used
|
|
|
63aa985 |
# Test::Pod::Coverage 1.00 not used
|
|
|
63aa985 |
Requires: gcc-c++(%{__isa})
|
|
|
63aa985 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
63aa985 |
Requires: perl(Inline::C) >= 0.67
|
|
|
63aa985 |
# Perl header files included into generated code
|
|
|
63aa985 |
Requires: perl-devel(%{__isa})
|
|
|
63aa985 |
|
|
|
63aa985 |
# Remove under-specified dependencies
|
|
|
63aa985 |
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Inline::C\\)$
|
|
|
63aa985 |
|
|
|
63aa985 |
%description
|
|
|
63aa985 |
The Inline::CPP Perl module allows you to put C++ source code directly "inline"
|
|
|
63aa985 |
in a Perl script or module. You code classes or functions in C++, and you
|
|
|
63aa985 |
can use them as if they were written in Perl.
|
|
|
63aa985 |
|
|
|
63aa985 |
%prep
|
|
|
63aa985 |
%setup -q -n Inline-CPP-%{version}
|
|
|
63aa985 |
%patch0 -p1
|
|
|
63aa985 |
%patch1 -p1
|
|
|
63aa985 |
|
|
|
63aa985 |
%build
|
|
|
63aa985 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
63aa985 |
make %{?_smp_mflags}
|
|
|
63aa985 |
|
|
|
63aa985 |
%install
|
|
|
63aa985 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
63aa985 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
63aa985 |
|
|
|
63aa985 |
%check
|
|
|
63aa985 |
make test
|
|
|
63aa985 |
|
|
|
63aa985 |
%files
|
|
|
63aa985 |
%license LICENSE
|
|
|
63aa985 |
%doc Changes README
|
|
|
63aa985 |
%{perl_vendorarch}/*
|
|
|
63aa985 |
%{_mandir}/man3/*
|
|
|
63aa985 |
|
|
|
63aa985 |
%changelog
|
|
|
79308d3 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.74-4
|
|
|
79308d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
79308d3 |
|
|
|
2ff75cc |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.74-3
|
|
|
2ff75cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2ff75cc |
|
|
|
a44f09b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.74-2
|
|
|
a44f09b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a44f09b |
|
|
|
63aa985 |
* Fri Jul 21 2017 Petr Pisar <ppisar@redhat.com> 0.74-1
|
|
|
63aa985 |
- Specfile autogenerated by cpanspec 1.78.
|