2012-05-30 08:21:49 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Math-BigInt-Pari
|
|
|
|
#
|
2025-05-24 16:12:42 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2012-05-30 08:21:49 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-09-10 13:50:33 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-05-30 08:21:49 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-07-26 05:39:58 +00:00
|
|
|
%define cpan_name Math-BigInt-Pari
|
2012-05-30 08:21:49 +00:00
|
|
|
Name: perl-Math-BigInt-Pari
|
2025-05-24 16:12:42 +00:00
|
|
|
Version: 1.301.600
|
2012-05-30 08:21:49 +00:00
|
|
|
Release: 0
|
2025-05-24 16:12:42 +00:00
|
|
|
# 1.3016 -> normalize -> 1.301.600
|
|
|
|
%define cpan_version 1.3016
|
Accepting request 638234 from home:pmonrealgonzalez:branches:devel:languages:perl
- updated to 1.3004 2018-04-17
1.3004 2018-04-17
* The tests now require Test::More version 0.88 or newer.
* Sync test files with Math-BigInt.
* Add test files t/release-test-version.t, t/release-portability.t,
and t/release-cpan-changes.t.
* Use a MANIFEST.SKIP file based on the default file in the
ExtUtils-Manifest distribution.
* Format CHANGES according to CPAN::Changes::Spec.
* Convert test file t/02pod.t to t/release-pod.t and t/03podcov.t
to t/release-pod-coverage.t.
1.3003 2017-01-11
* Fix syntax for required version of Math::BigInt::Lib.
* Better checking of POD coverage.
* Sync test files with Math-BigInt-1.999808.
* _from_hex() now accepts input without a "0x" prefix.
* _from_bin() is more now efficient as it utilises the fact that
Math::Pari::_hex_cvt() assumes the input is binary if the
strings is prefixed by "0b".
* Implement _to_hex(), _to_oct(), and _to_bin() for conversion to
hexadecimal, octal, and binary without prefix.
* Fix _nok() to work around a bug in Math::Pari::binomial().
It doesn't correctly handle cases where both n and k are very large.
* Correct a few cases where non-OO syntax was used, e.g., "$x = _one();"
should be "$x = $class -> _one();".
* _inc() and _dec() now uses post-increment and post-decrement, respectively,
rather than adding or subtracting one.
* In test file t/01load.t, display the PARI library version number.
1.3002 2016-12-03
* Use ExtUtils::MakeMaker rather than Module::Install in Makefile.PL
OBS-URL: https://build.opensuse.org/request/show/638234
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt-Pari?expand=0&rev=18
2018-09-26 07:34:01 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-06-02 09:30:12 +00:00
|
|
|
Summary: Math backend library based on Math::Pari
|
2021-07-26 05:39:58 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-03-12 17:17:07 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-12-12 07:20:33 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:15:18 +02:00
|
|
|
Source100: README.md
|
2019-09-10 13:50:33 +00:00
|
|
|
BuildArch: noarch
|
2012-05-30 08:21:49 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2021-07-26 05:39:58 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.58
|
2025-05-24 16:12:42 +00:00
|
|
|
BuildRequires: perl(Math::BigInt) >= 2.005001
|
|
|
|
BuildRequires: perl(Math::Pari) >= 2.10.709
|
2019-09-10 13:50:33 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.82
|
2025-05-24 16:12:42 +00:00
|
|
|
Requires: perl(Math::BigInt) >= 2.005001
|
|
|
|
Requires: perl(Math::Pari) >= 2.10.709
|
2024-03-12 17:17:07 +00:00
|
|
|
Provides: perl(Math::BigInt::Pari) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2010-12-03 14:42:05 +00:00
|
|
|
%{perl_requires}
|
2016-01-02 21:33:56 +00:00
|
|
|
# MANUAL BEGIN
|
2016-01-02 21:24:44 +00:00
|
|
|
# Version check does not work for perl packages before 5.22
|
|
|
|
%if 0%{?suse_version} <= 1320
|
|
|
|
BuildRequires: perl-Math-BigInt >= 1.999713
|
|
|
|
Requires: perl-Math-BigInt >= 1.999713
|
|
|
|
%endif
|
2016-01-02 21:33:56 +00:00
|
|
|
# MANUAL END
|
2008-01-02 15:22:11 +00:00
|
|
|
|
|
|
|
%description
|
2019-09-10 13:50:33 +00:00
|
|
|
Math::BigInt::Pari inherits from Math::BigInt::Lib.
|
|
|
|
|
|
|
|
Provides support for big integer in Math::BigInt et al. calculations via
|
|
|
|
means of Math::Pari, an XS layer on top of the very fast PARI library.
|
2008-01-02 15:22:11 +00:00
|
|
|
|
|
|
|
%prep
|
2025-05-24 16:12:42 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
2008-01-02 15:22:11 +00:00
|
|
|
|
|
|
|
%build
|
2021-07-26 05:39:58 +00:00
|
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2012-05-30 08:21:49 +00:00
|
|
|
|
|
|
|
%check
|
2019-09-10 13:50:33 +00:00
|
|
|
make test
|
2008-01-02 15:22:11 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2012-05-30 08:21:49 +00:00
|
|
|
%perl_gen_filelist
|
2008-01-02 15:22:11 +00:00
|
|
|
|
2012-05-30 08:21:49 +00:00
|
|
|
%files -f %{name}.files
|
2021-07-26 05:39:58 +00:00
|
|
|
%doc CHANGES README README.md
|
2019-09-10 13:50:33 +00:00
|
|
|
%license LICENSE
|
2008-01-02 15:22:11 +00:00
|
|
|
|
|
|
|
%changelog
|