0a68fc5
Summary:	A Module::Build class for building XS modules
0a68fc5
Name:		perl-Module-Build-XSUtil
81fa6e0
Version:	0.19
a7c9512
Release:	3%{?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
# Module Build
1afb1e6
BuildRequires:	perl-generators
81fa6e0
BuildRequires:	perl-interpreter
690b16f
BuildRequires:	perl(File::Spec)
690b16f
BuildRequires:	perl(utf8)
0a68fc5
# Module
81fa6e0
BuildRequires:	perl-devel
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::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)
81fa6e0
BuildRequires:	perl(File::Copy::Recursive::Reduced) >= 0.002
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))
81fa6e0
Requires:	perl-devel
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
a7c9512
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19-3
a7c9512
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a7c9512
31dbf88
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-2
31dbf88
- Perl 5.28 rebuild
31dbf88
81fa6e0
* Wed Apr 18 2018 Paul Howarth <paul@city-fan.org> - 0.19-1
81fa6e0
- Update to 0.19
81fa6e0
  - Use File::Copy::Recursive::Reduced instead of File::Copy::Recursive (GH#13)
81fa6e0
- Treat perl-devel as a runtime dependency
81fa6e0
8e4fca9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-2
8e4fca9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8e4fca9
690b16f
* Thu Nov  2 2017 Paul Howarth <paul@city-fan.org> - 0.18-1
690b16f
- Update to 0.18
690b16f
  - Remove Module::Build::Tiny from deps
690b16f
- Drop explicit perl-devel test dependency as it's pulled in by
690b16f
  perl-ExtUtils-CBuilder, which is a more sane place for the dependency to be
690b16f
7ce256d
* Wed Nov  1 2017 Paul Howarth <paul@city-fan.org> - 0.17-1
7ce256d
- Update to 0.17
7ce256d
  - Support pure-perl build
7ce256d
- BR: perl-devel for test suite
7ce256d
- Drop redundant BuildRoot: tag
7ce256d
770d121
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-6
770d121
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
770d121
d932310
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.16-5
d932310
- Perl 5.26 rebuild
d932310
80eb66d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-4
80eb66d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
80eb66d
9718b7a
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.16-3
9718b7a
- Perl 5.24 rebuild
9718b7a
1cb4ab4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
1cb4ab4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1cb4ab4
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