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

59 lines
1.7 KiB
RPMSpec

#
# spec file for package perl-Math-Complex
#
# Copyright (c) 2024 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/
#
%define cpan_name Math-Complex
Name: perl-Math-Complex
Version: 1.59
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Complex numbers and associated mathematical functions
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
This package lets you create and manipulate complex numbers. By default,
_Perl_ limits itself to real numbers, but an extra 'use' statement brings
full complex support, along with a full set of mathematical functions
typically associated with and/or extended to complex numbers.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc ChangeLog TODO
%changelog