2016-01-14 06:49:26 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package perl-Math-GSL
|
|
|
|
|
#
|
2020-10-21 10:05:41 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-01-14 06:49:26 +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.
|
|
|
|
|
|
2020-10-21 10:05:41 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-01-14 06:49:26 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Math-GSL
|
2020-10-21 10:05:41 +00:00
|
|
|
Version: 0.42
|
2016-01-14 06:49:26 +00:00
|
|
|
Release: 0
|
2020-10-21 10:05:41 +00:00
|
|
|
%define cpan_name Math-GSL
|
2016-01-14 06:49:26 +00:00
|
|
|
Summary: Perl interface to the GNU Scientific Library (GSL)
|
2018-09-26 07:33:22 +00:00
|
|
|
License: GPL-1.0-or-later
|
2016-01-14 06:49:26 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2020-10-21 10:05:41 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAKONH/%{cpan_name}-%{version}.tar.gz
|
|
|
|
|
Source1: cpanspec.yml
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2016-01-14 06:49:26 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
2020-10-21 10:05:41 +00:00
|
|
|
BuildRequires: perl(Alien::GSL) >= 1.01
|
2016-01-14 06:49:26 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.380000
|
|
|
|
|
BuildRequires: perl(PkgConfig) >= 0.07720
|
|
|
|
|
BuildRequires: perl(Test::Class) >= 0.12
|
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.210000
|
|
|
|
|
BuildRequires: perl(Test::Most) >= 0.31
|
|
|
|
|
BuildRequires: perl(Test::Taint) >= 1.06
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
BuildRequires: perl(version) >= 0.77
|
|
|
|
|
Requires: perl(parent)
|
|
|
|
|
Requires: perl(version) >= 0.77
|
|
|
|
|
%{perl_requires}
|
2020-10-21 10:05:41 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
|
BuildRequires: gsl-devel
|
|
|
|
|
# MANUAL END
|
2016-01-14 06:49:26 +00:00
|
|
|
|
|
|
|
|
%description
|
2020-10-21 10:05:41 +00:00
|
|
|
Perl interface to the GNU Scientific Library (GSL)
|
2016-01-14 06:49:26 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2020-10-21 10:05:41 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2016-01-14 06:49:26 +00:00
|
|
|
|
|
|
|
|
%build
|
2018-09-26 07:33:22 +00:00
|
|
|
perl Build.PL installdirs=vendor optimize="%{optflags}"
|
2016-01-14 06:49:26 +00:00
|
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
2020-10-21 10:05:41 +00:00
|
|
|
%doc Changes CONTRIBUTING.md CREDITS examples KNOWN_BUGS README.md TODO
|
2016-01-14 06:49:26 +00:00
|
|
|
|
|
|
|
|
%changelog
|