2019-09-30 11:12:47 -04:00
|
|
|
Name: perl-Math-BigInt-FastCalc
|
2021-12-03 16:29:59 +08:00
|
|
|
Version: 0.501.200
|
|
|
|
|
Release: 1
|
2019-09-30 11:12:47 -04:00
|
|
|
Summary: Math::BigInt::Calc with some XS for more speed
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Math-BigInt-FastCalc
|
2021-12-03 16:29:59 +08:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-0.5012.tar.gz
|
2019-09-30 11:12:47 -04:00
|
|
|
|
2021-06-23 16:20:22 +08:00
|
|
|
BuildRequires:perl-generators perl-interpreter perl-devel gcc
|
2020-05-13 17:21:52 +08:00
|
|
|
BuildRequires:perl(ExtUtils::MakeMaker) >= 6.76 perl(Test::More) >= 0.88
|
2020-08-04 17:24:03 +08:00
|
|
|
BuildRequires:perl(Math::BigInt) >= 1.999817 perl(Math::BigFloat)
|
2019-09-30 11:12:47 -04:00
|
|
|
|
|
|
|
|
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
|
2021-12-03 16:29:59 +08:00
|
|
|
%autosetup -n Math-BigInt-FastCalc-0.5012 -p1
|
2019-09-30 11:12:47 -04:00
|
|
|
|
|
|
|
|
%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
|
2021-12-03 16:29:59 +08:00
|
|
|
* Fri Dec 3 2021 guozhaorui <guozhaorui1@huawei.com> - 0.501.200-1
|
|
|
|
|
- update version to 0.5012
|
|
|
|
|
|
2021-06-23 16:20:22 +08:00
|
|
|
* Wed Jun 23 2021 wuchaochao <wuchaochao4@huawei.com> - 0.500.900-3
|
|
|
|
|
- add buildrequires: gcc
|
|
|
|
|
|
2020-08-04 17:24:03 +08:00
|
|
|
* Wed Aug 5 2020 shixuantong <shixuantong@huawei.com> - 0.500.900-2
|
|
|
|
|
- add perl(Math::BigInt) >= 1.999817
|
|
|
|
|
|
2020-07-29 16:06:19 +08:00
|
|
|
* Wed Jul 29 2020 shixuantong <shixuantong@huawei.com> - 0.500.900-1
|
|
|
|
|
- update to 0.500.900-1
|
|
|
|
|
|
2020-05-13 17:21:52 +08:00
|
|
|
* Wed May 13 2020 licunlong <licunlong1@huawei.com> - 0.500.700-5
|
|
|
|
|
- add perl-devel buildrequire
|
|
|
|
|
|
2019-09-30 11:12:47 -04:00
|
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.500.700-4
|
|
|
|
|
- Package init
|