530b04
Name:           perl-ExtUtils-CBuilder
530b04
# Compete with perl.spec
530b04
Epoch:          1
530b04
# Mimic perl.spec
530b04
Version:        0.280230
530b04
Release:        2%{?dist}
530b04
Summary:        Compile and link C code for Perl modules
530b04
License:        GPL+ or Artistic
530b04
URL:            http://search.cpan.org/dist/ExtUtils-CBuilder/
530b04
Source0:        http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils-CBuilder-%{version}.tar.gz
530b04
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048
530b04
Patch0:         ExtUtils-CBuilder-0.280230-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
530b04
BuildArch:      noarch
530b04
BuildRequires:  make
530b04
BuildRequires:  perl-interpreter
530b04
BuildRequires:  perl-generators
530b04
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
530b04
BuildRequires:  perl(strict)
530b04
BuildRequires:  perl(warnings)
530b04
# Run-time:
530b04
BuildRequires:  perl(Config)
530b04
BuildRequires:  perl(Cwd)
530b04
BuildRequires:  perl(DynaLoader)
530b04
# ExtUtils::Mksymlists 6.30 not used at test time
530b04
BuildRequires:  perl(File::Basename)
530b04
BuildRequires:  perl(File::Path)
530b04
BuildRequires:  perl(File::Spec) >= 3.13
530b04
# File::Spec::Functions not used at test time
530b04
BuildRequires:  perl(File::Temp)
530b04
# IO::File not used at test time
530b04
BuildRequires:  perl(IPC::Cmd)
530b04
BuildRequires:  perl(Perl::OSType) >= 1
530b04
BuildRequires:  perl(Text::ParseWords)
530b04
BuildRequires:  perl-devel
530b04
# Tests:
530b04
BuildRequires:  perl(Test::More) >= 0.47
530b04
# vmsish not used
530b04
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
530b04
Requires:       perl(DynaLoader)
530b04
Requires:       perl(ExtUtils::Mksymlists) >= 6.30
530b04
Requires:       perl(File::Spec) >= 3.13
530b04
Requires:       perl(Perl::OSType) >= 1
530b04
Requires:       perl-devel
530b04
530b04
%{?perl_default_filter}
530b04
# Remove under-specified dependencies
530b04
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((File::Spec|Perl::OSType)\\)$
530b04
530b04
%description
530b04
This module can build the C portions of Perl modules by invoking the
530b04
appropriate compilers and linkers in a cross-platform manner. It was motivated
530b04
by the Module::Build project, but may be useful for other purposes as well.
530b04
530b04
%prep
530b04
%setup -q -n ExtUtils-CBuilder-%{version}
530b04
%patch0 -p1
530b04
530b04
%build
530b04
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
530b04
make %{?_smp_mflags}
530b04
530b04
%install
530b04
make pure_install DESTDIR=$RPM_BUILD_ROOT
530b04
%{_fixperms} $RPM_BUILD_ROOT/*
530b04
530b04
%check
530b04
make test
530b04
530b04
%files
530b04
%license LICENSE
530b04
%doc Changes CONTRIBUTING README README.mkdn
530b04
%{perl_vendorlib}/*
530b04
%{_mandir}/man3/*
530b04
530b04
%changelog
530b04
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280230-2
530b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
530b04
530b04
* Thu Nov 23 2017 Petr Pisar <ppisar@redhat.com> - 1:0.280230-1
530b04
- 0.280230 bump
530b04
530b04
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280226-2
530b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
530b04
530b04
* Mon Jul 17 2017 Petr Pisar <ppisar@redhat.com> - 1:0.280226-1
530b04
- 0.280226 bump
530b04
530b04
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-393
530b04
- Perl 5.26 rebuild
530b04
530b04
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280225-366
530b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
530b04
530b04
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-365
530b04
- Increase release to favour standalone package
530b04
530b04
* Wed May 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280225-1
530b04
- 0.280225 bump in order to dual-live with perl 5.24
530b04
530b04
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.280224-2
530b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
530b04
530b04
* Mon Oct 12 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280224-1
530b04
- 0.280224 bump
530b04
530b04
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.280223-3
530b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
530b04
530b04
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280223-2
530b04
- Perl 5.22 rebuild
530b04
530b04
* Thu Jun 04 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280223-1
530b04
- 0.280223 bump
530b04
530b04
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.280221-2
530b04
- Perl 5.22 rebuild
530b04
530b04
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 1:0.280221-1
530b04
- 0.280221 bump in order to dual-live with perl 5.22
530b04
530b04
* Mon Nov 03 2014 Petr Pisar <ppisar@redhat.com> - 1:0.280220-1
530b04
- 0.280220 bump
530b04
530b04
* Thu Sep 18 2014 Petr Pisar <ppisar@redhat.com> - 1:0.280219-1
530b04
- Specfile autogenerated by cpanspec 1.78.