2011-06-08 13:05:07 +00:00
|
|
|
#
|
2015-04-15 07:18:43 +00:00
|
|
|
# spec file for package perl-Math-BigRat
|
2011-06-08 13:05:07 +00:00
|
|
|
#
|
2024-03-12 17:17:14 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-06-08 13:05:07 +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.
|
|
|
|
|
2021-07-26 05:43:53 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-06-08 13:05:07 +00:00
|
|
|
#
|
|
|
|
|
2015-04-15 07:18:43 +00:00
|
|
|
|
2021-07-26 05:43:53 +00:00
|
|
|
%define cpan_name Math-BigRat
|
2011-06-08 13:05:07 +00:00
|
|
|
Name: perl-Math-BigRat
|
2024-03-12 17:17:14 +00:00
|
|
|
Version: 0.262.400
|
2015-04-15 07:18:43 +00:00
|
|
|
Release: 0
|
2024-03-12 17:17:14 +00:00
|
|
|
%define cpan_version 0.2624
|
2018-04-20 13:45:53 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-04-25 09:15:13 +00:00
|
|
|
Summary: Arbitrary size rational number math package
|
2021-07-26 05:43:53 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-03-12 17:17:14 +00:00
|
|
|
Source0: Math-BigRat-0.2624.tar.gz
|
2015-08-29 18:28:03 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:15:18 +02:00
|
|
|
Source100: README.md
|
2011-06-08 13:05:07 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2021-07-26 05:43:53 +00:00
|
|
|
BuildRequires: perl(Carp) >= 1.22
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.58
|
2022-05-20 08:33:59 +00:00
|
|
|
BuildRequires: perl(Math::BigInt) >= 1.999824
|
2021-10-12 09:49:03 +00:00
|
|
|
BuildRequires: perl(Math::Complex) >= 1.36
|
2021-07-26 05:43:53 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
Requires: perl(Carp) >= 1.22
|
2022-05-20 08:33:59 +00:00
|
|
|
Requires: perl(Math::BigInt) >= 1.999824
|
2021-10-12 09:49:03 +00:00
|
|
|
Requires: perl(Math::Complex) >= 1.36
|
2024-03-12 17:17:14 +00:00
|
|
|
Provides: perl(Math::BigRat) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2010-12-03 14:42:07 +00:00
|
|
|
%{perl_requires}
|
2008-01-02 15:25:40 +00:00
|
|
|
|
|
|
|
%description
|
2011-06-08 13:05:07 +00:00
|
|
|
Math::BigRat complements Math::BigInt and Math::BigFloat by providing
|
|
|
|
support for arbitrary big rational numbers.
|
2008-01-02 15:25:40 +00:00
|
|
|
|
|
|
|
%prep
|
2024-03-12 17:17:14 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2008-01-02 15:25:40 +00:00
|
|
|
|
|
|
|
%build
|
2021-07-26 05:43:53 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2011-06-08 13:05:07 +00:00
|
|
|
|
|
|
|
%check
|
2021-07-26 05:43:53 +00:00
|
|
|
make test
|
2008-01-02 15:25:40 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2011-06-08 13:05:07 +00:00
|
|
|
%perl_gen_filelist
|
2008-01-02 15:25:40 +00:00
|
|
|
|
2011-06-08 13:05:07 +00:00
|
|
|
%files -f %{name}.files
|
2021-10-12 09:49:03 +00:00
|
|
|
%doc BUGS CHANGES README README.md TODO
|
2017-03-06 07:05:33 +00:00
|
|
|
%license LICENSE
|
2008-01-02 15:25:40 +00:00
|
|
|
|
|
|
|
%changelog
|