0a68fc5
Summary:	A Module::Build class for building XS modules
0a68fc5
Name:		perl-Module-Build-XSUtil
11454e5
Version:	0.16
11454e5
Release:	1%{?dist}
0a68fc5
License:	GPL+ or Artistic
0a68fc5
URL:		https://github.com/hideo55/Module-Build-XSUtil
0a68fc5
Source0:	https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-%{version}.tar.gz
0a68fc5
BuildArch:	noarch
0a68fc5
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
0a68fc5
# Module Build
0a68fc5
BuildRequires:	perl
0a68fc5
BuildRequires:	perl(File::Copy)
0a68fc5
BuildRequires:	perl(File::Spec)
0a68fc5
BuildRequires:	perl(utf8)
0a68fc5
# Module
0a68fc5
BuildRequires:	perl(Config)
0a68fc5
BuildRequires:	perl(Devel::CheckCompiler)
0a68fc5
BuildRequires:	perl(Devel::PPPort)
0a68fc5
BuildRequires:	perl(ExtUtils::CBuilder)
0a68fc5
BuildRequires:	perl(File::Basename)
0a68fc5
BuildRequires:	perl(File::Copy)
0a68fc5
BuildRequires:	perl(File::Path)
0a68fc5
BuildRequires:	perl(Module::Build)
0a68fc5
BuildRequires:	perl(strict)
0a68fc5
BuildRequires:	perl(warnings)
0a68fc5
# Test
0a68fc5
BuildRequires:	perl(Capture::Tiny)
0a68fc5
BuildRequires:	perl(Cwd::Guard)
0a68fc5
BuildRequires:	perl(File::Copy::Recursive)
0a68fc5
BuildRequires:	perl(File::Spec::Functions)
0a68fc5
BuildRequires:	perl(File::Temp)
0a68fc5
BuildRequires:	perl(Test::More) >= 0.88
0a68fc5
# Runtime
0a68fc5
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0a68fc5
Requires:	perl(Devel::CheckCompiler)
0a68fc5
Requires:	perl(Devel::PPPort)
0a68fc5
Requires:	perl(ExtUtils::CBuilder)
0a68fc5
0a68fc5
%description
0a68fc5
Module::Build::XSUtil is a subclass of Module::Build to support building XS
0a68fc5
modules. It adds a number of compiler-related optional parameters to
0a68fc5
Module::Build's "new" method.
0a68fc5
0a68fc5
%prep
0a68fc5
%setup -q -n Module-Build-XSUtil-%{version}
0a68fc5
0a68fc5
%build
0a68fc5
perl Build.PL --installdirs=vendor
0a68fc5
./Build
0a68fc5
0a68fc5
%install
0a68fc5
./Build install --destdir=%{buildroot} --create_packlist=0
0a68fc5
0a68fc5
%check
0a68fc5
./Build test
0a68fc5
0a68fc5
%files
0a68fc5
%license LICENSE
0a68fc5
%doc Changes README.md
0a68fc5
%{perl_vendorlib}/Module/
0a68fc5
%{_mandir}/man3/Module::Build::XSUtil.3*
0a68fc5
0a68fc5
%changelog
11454e5
* Tue Jun 30 2015 Paul Howarth <paul@city-fan.org> - 0.16-1
11454e5
- Update to 0.16
11454e5
  - Fix regexp of _gcc_version for Ubuntu and Debian
11454e5
  - Set -std=c99 explicitly for older GCC
11454e5
705e3d1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-3
705e3d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
705e3d1
be07f77
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-2
be07f77
- Perl 5.22 rebuild
be07f77
781470a
* Fri Apr 24 2015 Paul Howarth <paul@city-fan.org> - 0.15-1
781470a
- Update to 0.15
781470a
  - Update XSHelper to fix STATIC_INLINE for gcc -std=c89
781470a
0a68fc5
* Tue Oct  7 2014 Paul Howarth <paul@city-fan.org> - 0.14-2
0a68fc5
- Sanitize for Fedora submission
0a68fc5
0a68fc5
* Sat Oct  4 2014 Paul Howarth <paul@city-fan.org> - 0.14-1
0a68fc5
- Initial RPM version