Name:         perl-Math-BigInt-FastCalc
Version:      0.5009 
Release:      2 
Summary:      Math::BigInt::Calc with some XS for more speed
License:      GPL+ or Artistic
URL:          https://metacpan.org/release/Math-BigInt-FastCalc
Source0:      https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{version}.tar.gz

BuildRequires:perl-generators perl-interpreter perl-devel
BuildRequires:perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More) >= 0.88

Requires:     perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
Conflicts:    perl < 4:5.22.0-348

%description
Math::BigInt::FastCalc inherits from Math::BigInt::Calc.
Provides support for big integer calculations. Not intended to be used by other modules. 
Other modules which sport the same functions can also be used to support Math::BigInt, 
like Math::BigInt::GMP or Math::BigInt::Pari.

%package help
Summary:   Documents for %{name}
Buildarch: noarch
Requires:  man info

%description help
Man page and other related documents for %{name}.

%prep
%autosetup -n  Math-BigInt-FastCalc-%{version} -p1 

%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 OPTIMIZE="%{optflags}"
%make_build

%install
%make_install
%{_fixperms} -c %{buildroot}

%check
unset AUTHOR_TESTING RELEASE_TESTING
make test

%pre

%preun

%post

%postun

%files
%defattr(-,root,root)
%license LICENSE
%doc CREDITS README
%{perl_vendorarch}/*

%files help
%defattr(-,root,root)
%doc CHANGES TODO 
%{_mandir}/*/*

%changelog
* Tue Sep 01 2020 SimpleUpdate Robot <tc@openeuler.org> - 0.5009-2
- Upgrade to version 0.5009

* Thu Aug 20 2020 SimpleUpdate Robot <tc@openeuler.org> - 0.5009-1
- Upgrade to version 0.5009

* Wed May 13 2020 licunlong <licunlong1@huawei.com> - 0.500.700-5
- add perl-devel buildrequire

* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.500.700-4 
- Package init
