Files
perl-Math-BigInt-FastCalc/perl-Math-BigInt-FastCalc.spec
Dirk Stoecker 70b19d8bf7 Accepting request 638236 from home:pmonrealgonzalez:branches:devel:languages:perl
- updated to 0.5007 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.
 
 0.5006 2017-01-11 pjacklam
  * Fix syntax for required version of Math::BigInt::Lib.
  * Better checking of POD coverage.
  * Sync test files with Math-BigInt-1.999808.
 
 0.5005 2016-12-13 pjacklam
  * Add more logic to Makefile.PL regarding INSTALLDIRS (CPAN RT
    #119199 and #119225).
 0.5004 2016-12-11 pjacklam
  * Fix Makefile.PL so that this module installs over the core
    version.
  * Sync test files with Math-BigInt-1.999805.
 0.5003 2016-12-03 pjacklam
  * Use ExtUtils::MakeMaker rather than Module::Install in
    Makefile.PL
  * Add LICENSE file, since the other Math::BigInt-related
    distributions have one.
  * Remove INSTALL file. The information is in the README file.
  * Inform that the TODO file is not up to date.

OBS-URL: https://build.opensuse.org/request/show/638236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt-FastCalc?expand=0&rev=25
2018-09-26 07:34:18 +00:00

79 lines
2.4 KiB
RPMSpec

#
# spec file for package perl-Math-BigInt-FastCalc
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define cpan_name Math-BigInt-FastCalc
Name: perl-Math-BigInt-FastCalc
Version: 0.5007
Release: 0
Summary: Math::BigInt::Calc with some XS for more speed
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/pod/Math::BigInt::FastCalc
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Math::BigInt) >= 1.999812
BuildRequires: perl(Math::BigInt::Calc) >= 1.999812
Requires: perl(Math::BigInt) >= 1.999812
Requires: perl(Math::BigInt::Calc) >= 1.999812
%{perl_requires}
# MANUAL BEGIN
BuildRequires: perl(parent)
%if 0%{?suse_version} <= 1320
BuildRequires: perl-Math-BigInt >= 1.999713
Requires: perl-Math-BigInt >= 1.999713
%endif
# MANUAL END
%description
In order to allow for multiple big integer libraries, Math::BigInt was
rewritten to use library modules for core math routines. Any module which
follows the same API as this can be used instead by using the following:
use Math::BigInt lib => 'libname';
'libname' is either the long name ('Math::BigInt::Pari'), or only the short
version like 'Pari'. To use this library:
use Math::BigInt lib => 'FastCalc';
Note that from Math::BigInt v1.76 onwards, FastCalc will be loaded
automatically, if possible.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make %{?_smp_mflags} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc CHANGES CREDITS README TODO
%changelog