Files
perl-Math-Pari/perl-Math-Pari.spec
2025-08-12 18:15:21 +02:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package perl-Math-Pari
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: perl-Math-Pari
Version: 2.030518
Release: 0
%define cpan_name Math-Pari
Summary: Perl interface to PARI
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
BuildRequires: perl
BuildRequires: perl-macros
URL: https://metacpan.org/release/%{cpan_name}
Source: https://cpan.metacpan.org/authors/id/I/IL/ILYAZ/modules/%{cpan_name}-%{version}.zip
Source1: https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.11.4.tar.gz
Source2: cpanspec.yml
Source100: README.md
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: unzip
%{perl_requires}
%description
This package is a Perl interface to famous library PARI for
numerical/scientific/number-theoretic calculations. It allows use of most PARI
functions as Perl functions, and (almost) seamless merging of PARI and Perl
data.
%prep
%setup -q -n %{cpan_name}-%{version} -a 1
find . -type f -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
#%check
#make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc README Changes TODO
%changelog