|
|
df8d78 |
Name: perl-ExtUtils-ParseXS
|
|
|
df8d78 |
# Epoch to compete with perl.spec
|
|
|
df8d78 |
Epoch: 1
|
|
|
df8d78 |
Version: 3.18
|
|
|
df8d78 |
Release: 3%{?dist}
|
|
|
df8d78 |
Summary: Module and a script for converting Perl XS code into C code
|
|
|
df8d78 |
License: GPL+ or Artistic
|
|
|
df8d78 |
Group: Development/Libraries
|
|
|
df8d78 |
URL: http://search.cpan.org/dist/ExtUtils-ParseXS/
|
|
|
df8d78 |
Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/ExtUtils-ParseXS-%{version}.tar.gz
|
|
|
df8d78 |
# Improve compatibility with C++, CPAN RT#86367, bug #1078438,
|
|
|
df8d78 |
# in upstream 3.18_03
|
|
|
df8d78 |
Patch0: ExtUtils-ParseXS-3.18-EU-ParseXS-Attempt-to-canonicalize-C-types-in-tidy_t.patch
|
|
|
df8d78 |
BuildArch: noarch
|
|
|
df8d78 |
BuildRequires: perl
|
|
|
df8d78 |
BuildRequires: perl(Config)
|
|
|
df8d78 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.46
|
|
|
df8d78 |
BuildRequires: perl(File::Spec)
|
|
|
df8d78 |
BuildRequires: perl(strict)
|
|
|
df8d78 |
BuildRequires: perl(warnings)
|
|
|
df8d78 |
# Run-time:
|
|
|
df8d78 |
BuildRequires: perl(Cwd)
|
|
|
df8d78 |
BuildRequires: perl(Exporter)
|
|
|
df8d78 |
# ExtUtils::XSSymSet not needed
|
|
|
df8d78 |
BuildRequires: perl(File::Basename)
|
|
|
df8d78 |
# Getopt::Long not tested
|
|
|
df8d78 |
BuildRequires: perl(lib)
|
|
|
df8d78 |
BuildRequires: perl(re)
|
|
|
df8d78 |
BuildRequires: perl(Symbol)
|
|
|
df8d78 |
# Tests:
|
|
|
df8d78 |
BuildRequires: perl-devel
|
|
|
df8d78 |
BuildRequires: perl(attributes)
|
|
|
df8d78 |
BuildRequires: perl(Carp)
|
|
|
df8d78 |
BuildRequires: perl(DynaLoader)
|
|
|
df8d78 |
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
df8d78 |
BuildRequires: perl(File::Temp)
|
|
|
df8d78 |
BuildRequires: perl(overload)
|
|
|
df8d78 |
BuildRequires: perl(Test::More) >= 0.47
|
|
|
df8d78 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
df8d78 |
Requires: perl-devel
|
|
|
df8d78 |
# perl-ExtUtils-Typemaps has been merged into perl-ExtUtils-ParseXS, bug #891952
|
|
|
df8d78 |
Obsoletes: perl-ExtUtils-Typemaps
|
|
|
df8d78 |
|
|
|
df8d78 |
%description
|
|
|
df8d78 |
ExtUtils::ParseXS will compile XS code into C code by embedding the
|
|
|
df8d78 |
constructs necessary to let C functions manipulate Perl values and creates
|
|
|
df8d78 |
the glue necessary to let Perl access those functions.
|
|
|
df8d78 |
|
|
|
df8d78 |
%prep
|
|
|
df8d78 |
%setup -q -n ExtUtils-ParseXS-%{version}
|
|
|
df8d78 |
%patch0 -p1
|
|
|
df8d78 |
|
|
|
df8d78 |
%build
|
|
|
df8d78 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
df8d78 |
make %{?_smp_mflags}
|
|
|
df8d78 |
|
|
|
df8d78 |
%install
|
|
|
df8d78 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
df8d78 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
df8d78 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
df8d78 |
# Do not install xsubpp twice, RT#117289
|
|
|
df8d78 |
rm $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/xsubpp
|
|
|
df8d78 |
ln -s ../../../../bin/xsubpp $RPM_BUILD_ROOT%{perl_vendorlib}/ExtUtils/
|
|
|
df8d78 |
|
|
|
df8d78 |
%check
|
|
|
df8d78 |
make test
|
|
|
df8d78 |
|
|
|
df8d78 |
%files
|
|
|
df8d78 |
%doc Changes README
|
|
|
df8d78 |
%{_bindir}/*
|
|
|
df8d78 |
%{perl_vendorlib}/*
|
|
|
df8d78 |
%{_mandir}/man1/*
|
|
|
df8d78 |
%{_mandir}/man3/*
|
|
|
df8d78 |
|
|
|
df8d78 |
%changelog
|
|
|
df8d78 |
* Thu Mar 20 2014 Petr Pisar <ppisar@redhat.com> - 1:3.18-3
|
|
|
df8d78 |
- Improve compatibility with C++ (bug #1078438)
|
|
|
df8d78 |
|
|
|
df8d78 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:3.18-2
|
|
|
df8d78 |
- Mass rebuild 2013-12-27
|
|
|
df8d78 |
|
|
|
df8d78 |
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 1:3.18-1
|
|
|
df8d78 |
- Specfile autogenerated by cpanspec 1.78.
|