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