4666cd
Name:           perl-Math-BigInt-FastCalc
4666cd
%global cpan_version 0.5006
4666cd
Version:        0.500.600
4666cd
Release:        6%{?dist}
4666cd
Summary:        Math::BigInt::Calc with some XS for more speed
4666cd
License:        GPL+ or Artistic
4666cd
Group:          Development/Libraries
4666cd
URL:            http://search.cpan.org/dist/Math-BigInt-FastCalc/
4666cd
Source0:        http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{cpan_version}.tar.gz
4666cd
BuildRequires:  findutils
4666cd
BuildRequires:  gcc
4666cd
BuildRequires:  make
4666cd
BuildRequires:  perl-interpreter
4666cd
BuildRequires:  perl-devel
4666cd
BuildRequires:  perl-generators
4666cd
BuildRequires:  perl(ExtUtils::MakeMaker)
4666cd
BuildRequires:  perl(strict)
4666cd
BuildRequires:  perl(warnings)
4666cd
# Run-time:
4666cd
BuildRequires:  perl(:VERSION) >= 5.6.0
4666cd
BuildRequires:  perl(Math::BigInt::Calc) >= 1.999801
4666cd
BuildRequires:  perl(XSLoader)
4666cd
# Tests:
4666cd
# Config::Tiny not used
4666cd
# Exporter not used
4666cd
# lib not used
4666cd
BuildRequires:  perl(Math::BigFloat)
4666cd
BuildRequires:  perl(Math::BigInt) >= 1.999808
4666cd
# Scalar::Util not used
4666cd
BuildRequires:  perl(Test::More) >= 0.82
4666cd
# Optional tests:
4666cd
# Module::Signature not used and not helpful
4666cd
# Socket not used
4666cd
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4666cd
Conflicts:      perl < 4:5.22.0-348
4666cd
4666cd
%description
4666cd
This Perl module provides support for fast big integer calculations.
4666cd
4666cd
%prep
4666cd
%setup -q -n Math-BigInt-FastCalc-%{cpan_version}
4666cd
4666cd
%build
4666cd
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
4666cd
make %{?_smp_mflags}
4666cd
4666cd
%install
4666cd
make pure_install DESTDIR=$RPM_BUILD_ROOT
4666cd
find $RPM_BUILD_ROOT -type f -name .packlist -delete
4666cd
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
4666cd
%{_fixperms} $RPM_BUILD_ROOT/*
4666cd
4666cd
%check
4666cd
make test
4666cd
4666cd
%files
4666cd
%license LICENSE
4666cd
%doc CHANGES CREDITS README TODO
4666cd
%{perl_vendorarch}/auto/*
4666cd
%{perl_vendorarch}/Math*
4666cd
%{_mandir}/man3/*
4666cd
4666cd
%changelog
4666cd
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-6
4666cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4666cd
4666cd
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-5
4666cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4666cd
4666cd
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-4
4666cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4666cd
4666cd
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.500.600-3
4666cd
- Perl 5.26 rebuild
4666cd
4666cd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-2
4666cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4666cd
4666cd
* Thu Jan 12 2017 Petr Pisar <ppisar@redhat.com> - 0.500.600-1
4666cd
- 0.5006 bump
4666cd
4666cd
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.500.500-1
4666cd
- Specfile autogenerated by cpanspec 1.78.