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

394 lines
20 KiB
RPMSpec

#
# spec file for package perl-Math-GSL
#
# 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-GSL
Name: perl-Math-GSL
Version: 0.440.0
Release: 0
%define cpan_version 0.44
License: GPL-1.0-or-later
Summary: Interface to the GNU Scientific Library using SWIG
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAKONH/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Alien::GSL) >= 1.01
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(PkgConfig) >= 0.07720
BuildRequires: perl(Test::Class) >= 0.12
BuildRequires: perl(Test::Exception) >= 0.21
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
Provides: perl(Math::GSL) = %{version}
Provides: perl(Math::GSL::BLAS)
Provides: perl(Math::GSL::BLASc)
Provides: perl(Math::GSL::BSpline)
Provides: perl(Math::GSL::BSpline::gsl_bspline_workspace)
Provides: perl(Math::GSL::BSpline::gsl_function_fdf_struct)
Provides: perl(Math::GSL::BSpline::gsl_function_struct)
Provides: perl(Math::GSL::BSpline::gsl_function_vec_struct)
Provides: perl(Math::GSL::BSplinec)
Provides: perl(Math::GSL::CBLAS)
Provides: perl(Math::GSL::CBLASc)
Provides: perl(Math::GSL::CDF)
Provides: perl(Math::GSL::CDFc)
Provides: perl(Math::GSL::Chebyshev)
Provides: perl(Math::GSL::Chebyshev::gsl_cheb_series_struct)
Provides: perl(Math::GSL::Chebyshev::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Chebyshev::gsl_function_struct)
Provides: perl(Math::GSL::Chebyshev::gsl_function_vec_struct)
Provides: perl(Math::GSL::Chebyshevc)
Provides: perl(Math::GSL::Combination)
Provides: perl(Math::GSL::Combination::gsl_combination_struct)
Provides: perl(Math::GSL::Combinationc)
Provides: perl(Math::GSL::Complex)
Provides: perl(Math::GSL::Complex::gsl_complex)
Provides: perl(Math::GSL::Complex::gsl_complex_float)
Provides: perl(Math::GSL::Complex::gsl_complex_long_double)
Provides: perl(Math::GSL::Complexc)
Provides: perl(Math::GSL::Const)
Provides: perl(Math::GSL::Const::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Const::gsl_function_struct)
Provides: perl(Math::GSL::Const::gsl_function_vec_struct)
Provides: perl(Math::GSL::Constc)
Provides: perl(Math::GSL::DHT)
Provides: perl(Math::GSL::DHT::gsl_dht_struct)
Provides: perl(Math::GSL::DHTc)
Provides: perl(Math::GSL::Deriv)
Provides: perl(Math::GSL::Deriv::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Deriv::gsl_function_struct)
Provides: perl(Math::GSL::Deriv::gsl_function_vec_struct)
Provides: perl(Math::GSL::Derivc)
Provides: perl(Math::GSL::Diff)
Provides: perl(Math::GSL::Diffc)
Provides: perl(Math::GSL::Eigen)
Provides: perl(Math::GSL::Eigen::gsl_complex)
Provides: perl(Math::GSL::Eigen::gsl_complex_float)
Provides: perl(Math::GSL::Eigen::gsl_complex_long_double)
Provides: perl(Math::GSL::Eigen::gsl_eigen_francis_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_gen_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_genherm_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_genhermv_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_gensymm_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_gensymmv_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_genv_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_herm_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_hermv_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_nonsymm_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_nonsymmv_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_symm_workspace)
Provides: perl(Math::GSL::Eigen::gsl_eigen_symmv_workspace)
Provides: perl(Math::GSL::Eigenc)
Provides: perl(Math::GSL::Errno)
Provides: perl(Math::GSL::Errnoc)
Provides: perl(Math::GSL::FFT)
Provides: perl(Math::GSL::FFT::gsl_complex)
Provides: perl(Math::GSL::FFT::gsl_complex_float)
Provides: perl(Math::GSL::FFT::gsl_complex_long_double)
Provides: perl(Math::GSL::FFT::gsl_fft_complex_wavetable)
Provides: perl(Math::GSL::FFT::gsl_fft_complex_workspace)
Provides: perl(Math::GSL::FFT::gsl_fft_halfcomplex_wavetable)
Provides: perl(Math::GSL::FFT::gsl_fft_real_wavetable)
Provides: perl(Math::GSL::FFT::gsl_fft_real_workspace)
Provides: perl(Math::GSL::FFT::gsl_function_fdf_struct)
Provides: perl(Math::GSL::FFT::gsl_function_struct)
Provides: perl(Math::GSL::FFT::gsl_function_vec_struct)
Provides: perl(Math::GSL::FFTc)
Provides: perl(Math::GSL::Fit)
Provides: perl(Math::GSL::Fitc)
Provides: perl(Math::GSL::Heapsort)
Provides: perl(Math::GSL::Heapsort::gsl_permutation_struct)
Provides: perl(Math::GSL::Heapsortc)
Provides: perl(Math::GSL::Histogram)
Provides: perl(Math::GSL::Histogram2D)
Provides: perl(Math::GSL::Histogram2D::gsl_histogram2d)
Provides: perl(Math::GSL::Histogram2D::gsl_histogram2d_pdf)
Provides: perl(Math::GSL::Histogram2Dc)
Provides: perl(Math::GSL::Histogram::gsl_histogram)
Provides: perl(Math::GSL::Histogram::gsl_histogram_pdf)
Provides: perl(Math::GSL::Histogramc)
Provides: perl(Math::GSL::IEEEUtils)
Provides: perl(Math::GSL::IEEEUtils::gsl_ieee_double_rep)
Provides: perl(Math::GSL::IEEEUtils::gsl_ieee_float_rep)
Provides: perl(Math::GSL::IEEEUtilsc)
Provides: perl(Math::GSL::Integration)
Provides: perl(Math::GSL::Integration::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Integration::gsl_function_struct)
Provides: perl(Math::GSL::Integration::gsl_function_vec_struct)
Provides: perl(Math::GSL::Integration::gsl_integration_cquad_ival)
Provides: perl(Math::GSL::Integration::gsl_integration_cquad_workspace)
Provides: perl(Math::GSL::Integration::gsl_integration_fixed_params)
Provides: perl(Math::GSL::Integration::gsl_integration_fixed_type)
Provides: perl(Math::GSL::Integration::gsl_integration_fixed_workspace)
Provides: perl(Math::GSL::Integration::gsl_integration_glfixed_table)
Provides: perl(Math::GSL::Integration::gsl_integration_qawo_table)
Provides: perl(Math::GSL::Integration::gsl_integration_qaws_table)
Provides: perl(Math::GSL::Integration::gsl_integration_romberg_workspace)
Provides: perl(Math::GSL::Integration::gsl_integration_workspace)
Provides: perl(Math::GSL::Integrationc)
Provides: perl(Math::GSL::Interp)
Provides: perl(Math::GSL::Interp::gsl_interp)
Provides: perl(Math::GSL::Interp::gsl_interp_accel)
Provides: perl(Math::GSL::Interpc)
Provides: perl(Math::GSL::Linalg)
Provides: perl(Math::GSL::Linalg::gsl_complex)
Provides: perl(Math::GSL::Linalg::gsl_complex_float)
Provides: perl(Math::GSL::Linalg::gsl_complex_long_double)
Provides: perl(Math::GSL::Linalg::gsl_permutation_struct)
Provides: perl(Math::GSL::Linalgc)
Provides: perl(Math::GSL::Machine)
Provides: perl(Math::GSL::Machinec)
Provides: perl(Math::GSL::Matrix)
Provides: perl(Math::GSL::Matrix::gsl_complex)
Provides: perl(Math::GSL::Matrix::gsl_complex_float)
Provides: perl(Math::GSL::Matrix::gsl_complex_long_double)
Provides: perl(Math::GSL::Matrix::gsl_matrix)
Provides: perl(Math::GSL::Matrix::gsl_matrix_char)
Provides: perl(Math::GSL::Matrix::gsl_matrix_complex)
Provides: perl(Math::GSL::Matrix::gsl_matrix_int)
Provides: perl(Math::GSL::Matrix::gsl_vector)
Provides: perl(Math::GSL::MatrixComplex)
Provides: perl(Math::GSL::MatrixComplex::gsl_complex)
Provides: perl(Math::GSL::MatrixComplex::gsl_complex_float)
Provides: perl(Math::GSL::MatrixComplex::gsl_complex_long_double)
Provides: perl(Math::GSL::MatrixComplex::gsl_matrix_complex)
Provides: perl(Math::GSL::MatrixComplex::gsl_vector)
Provides: perl(Math::GSL::MatrixComplexc)
Provides: perl(Math::GSL::Matrixc)
Provides: perl(Math::GSL::Min)
Provides: perl(Math::GSL::Min::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Min::gsl_function_struct)
Provides: perl(Math::GSL::Min::gsl_function_vec_struct)
Provides: perl(Math::GSL::Min::gsl_min_fminimizer)
Provides: perl(Math::GSL::Min::gsl_min_fminimizer_type)
Provides: perl(Math::GSL::Minc)
Provides: perl(Math::GSL::Monte)
Provides: perl(Math::GSL::Monte::gsl_monte_function_struct)
Provides: perl(Math::GSL::Monte::gsl_monte_miser_params)
Provides: perl(Math::GSL::Monte::gsl_monte_miser_state)
Provides: perl(Math::GSL::Monte::gsl_monte_plain_state)
Provides: perl(Math::GSL::Monte::gsl_monte_vegas_params)
Provides: perl(Math::GSL::Monte::gsl_monte_vegas_state)
Provides: perl(Math::GSL::Montec)
Provides: perl(Math::GSL::Multifit)
Provides: perl(Math::GSL::Multifit::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Multifit::gsl_function_struct)
Provides: perl(Math::GSL::Multifit::gsl_function_vec_struct)
Provides: perl(Math::GSL::Multifit::gsl_multifit_fdfridge)
Provides: perl(Math::GSL::Multifit::gsl_multifit_fdfsolver)
Provides: perl(Math::GSL::Multifit::gsl_multifit_fdfsolver_type)
Provides: perl(Math::GSL::Multifit::gsl_multifit_fsolver)
Provides: perl(Math::GSL::Multifit::gsl_multifit_fsolver_type)
Provides: perl(Math::GSL::Multifit::gsl_multifit_function_fdf_struct)
Provides: perl(Math::GSL::Multifit::gsl_multifit_function_struct)
Provides: perl(Math::GSL::Multifit::gsl_multifit_linear_workspace)
Provides: perl(Math::GSL::Multifit::gsl_multifit_robust_stats)
Provides: perl(Math::GSL::Multifit::gsl_multifit_robust_type)
Provides: perl(Math::GSL::Multifit::gsl_multifit_robust_workspace)
Provides: perl(Math::GSL::Multifit::gsl_permutation_struct)
Provides: perl(Math::GSL::Multifitc)
Provides: perl(Math::GSL::Multilarge)
Provides: perl(Math::GSL::Multilarge::gsl_function_fdf_struct)
Provides: perl(Math::GSL::Multilarge::gsl_function_struct)
Provides: perl(Math::GSL::Multilarge::gsl_function_vec_struct)
Provides: perl(Math::GSL::Multilarge::gsl_multifit_linear_workspace)
Provides: perl(Math::GSL::Multilarge::gsl_multifit_robust_stats)
Provides: perl(Math::GSL::Multilarge::gsl_multifit_robust_type)
Provides: perl(Math::GSL::Multilarge::gsl_multifit_robust_workspace)
Provides: perl(Math::GSL::Multilarge::gsl_multilarge_linear_type)
Provides: perl(Math::GSL::Multilarge::gsl_multilarge_linear_workspace)
Provides: perl(Math::GSL::Multilarge::gsl_permutation_struct)
Provides: perl(Math::GSL::Multilargec)
Provides: perl(Math::GSL::Multimin)
Provides: perl(Math::GSL::Multimin::gsl_multimin_fdfminimizer)
Provides: perl(Math::GSL::Multimin::gsl_multimin_fdfminimizer_type)
Provides: perl(Math::GSL::Multimin::gsl_multimin_fminimizer)
Provides: perl(Math::GSL::Multimin::gsl_multimin_fminimizer_type)
Provides: perl(Math::GSL::Multimin::gsl_multimin_function_fdf_struct)
Provides: perl(Math::GSL::Multimin::gsl_multimin_function_struct)
Provides: perl(Math::GSL::Multiminc)
Provides: perl(Math::GSL::Multiroots)
Provides: perl(Math::GSL::Multiroots::gsl_multiroot_fdfsolver)
Provides: perl(Math::GSL::Multiroots::gsl_multiroot_fdfsolver_type)
Provides: perl(Math::GSL::Multiroots::gsl_multiroot_fsolver)
Provides: perl(Math::GSL::Multiroots::gsl_multiroot_fsolver_type)
Provides: perl(Math::GSL::Multiroots::gsl_multiroot_function_fdf_struct)
Provides: perl(Math::GSL::Multiroots::gsl_multiroot_function_struct)
Provides: perl(Math::GSL::Multirootsc)
Provides: perl(Math::GSL::Multiset)
Provides: perl(Math::GSL::Multiset::gsl_multiset_struct)
Provides: perl(Math::GSL::Multisetc)
Provides: perl(Math::GSL::NTuple)
Provides: perl(Math::GSL::NTuple::gsl_histogram)
Provides: perl(Math::GSL::NTuple::gsl_histogram_pdf)
Provides: perl(Math::GSL::NTuple::gsl_ntuple)
Provides: perl(Math::GSL::NTuple::gsl_ntuple_select_fn)
Provides: perl(Math::GSL::NTuple::gsl_ntuple_value_fn)
Provides: perl(Math::GSL::NTuplec)
Provides: perl(Math::GSL::ODEIV)
Provides: perl(Math::GSL::ODEIV::gsl_odeiv_control)
Provides: perl(Math::GSL::ODEIV::gsl_odeiv_control_type)
Provides: perl(Math::GSL::ODEIV::gsl_odeiv_evolve)
Provides: perl(Math::GSL::ODEIV::gsl_odeiv_step)
Provides: perl(Math::GSL::ODEIV::gsl_odeiv_step_type)
Provides: perl(Math::GSL::ODEIV::gsl_odeiv_system)
Provides: perl(Math::GSL::ODEIVc)
Provides: perl(Math::GSL::Permutation)
Provides: perl(Math::GSL::Permutation::gsl_permutation_struct)
Provides: perl(Math::GSL::Permutationc)
Provides: perl(Math::GSL::Poly)
Provides: perl(Math::GSL::Poly::gsl_complex)
Provides: perl(Math::GSL::Poly::gsl_complex_float)
Provides: perl(Math::GSL::Poly::gsl_complex_long_double)
Provides: perl(Math::GSL::Poly::gsl_poly_complex_workspace)
Provides: perl(Math::GSL::Polyc)
Provides: perl(Math::GSL::PowInt)
Provides: perl(Math::GSL::PowIntc)
Provides: perl(Math::GSL::QRNG)
Provides: perl(Math::GSL::QRNG::Halton)
Provides: perl(Math::GSL::QRNG::Niederreiter2)
Provides: perl(Math::GSL::QRNG::ReverseHalton)
Provides: perl(Math::GSL::QRNG::Sobol)
Provides: perl(Math::GSL::QRNG::gsl_qrng)
Provides: perl(Math::GSL::QRNG::gsl_qrng_type)
Provides: perl(Math::GSL::QRNGc)
Provides: perl(Math::GSL::RNG)
Provides: perl(Math::GSL::RNG::gsl_rng)
Provides: perl(Math::GSL::RNG::gsl_rng_type)
Provides: perl(Math::GSL::RNGc)
Provides: perl(Math::GSL::Randist)
Provides: perl(Math::GSL::Randist::gsl_ran_discrete_t)
Provides: perl(Math::GSL::Randistc)
Provides: perl(Math::GSL::Roots)
Provides: perl(Math::GSL::Roots::gsl_root_fdfsolver)
Provides: perl(Math::GSL::Roots::gsl_root_fdfsolver_type)
Provides: perl(Math::GSL::Roots::gsl_root_fsolver)
Provides: perl(Math::GSL::Roots::gsl_root_fsolver_type)
Provides: perl(Math::GSL::Rootsc)
Provides: perl(Math::GSL::Rstat)
Provides: perl(Math::GSL::Rstat::gsl_rstat_quantile_workspace)
Provides: perl(Math::GSL::Rstat::gsl_rstat_workspace)
Provides: perl(Math::GSL::Rstatc)
Provides: perl(Math::GSL::SF)
Provides: perl(Math::GSL::SF::gsl_sf_mathieu_workspace)
Provides: perl(Math::GSL::SF::gsl_sf_result_e10_struct)
Provides: perl(Math::GSL::SF::gsl_sf_result_struct)
Provides: perl(Math::GSL::SFc)
Provides: perl(Math::GSL::Siman)
Provides: perl(Math::GSL::Siman::gsl_siman_params_t)
Provides: perl(Math::GSL::Simanc)
Provides: perl(Math::GSL::Sort)
Provides: perl(Math::GSL::Sort::gsl_permutation_struct)
Provides: perl(Math::GSL::Sortc)
Provides: perl(Math::GSL::SparseMatrix)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_char)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_char_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_complex)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_complex_float)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_complex_float_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_complex_long_double)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_complex_long_double_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_complex_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_float)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_float_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_int)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_int_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_long_double)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_long_double_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_pool_node)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_short)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_short_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_uchar)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_uchar_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_uint)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_uint_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_ushort)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_ushort_work)
Provides: perl(Math::GSL::SparseMatrix::gsl_spmatrix_work)
Provides: perl(Math::GSL::SparseMatrixc)
Provides: perl(Math::GSL::Spline)
Provides: perl(Math::GSL::Spline::gsl_spline)
Provides: perl(Math::GSL::Splinec)
Provides: perl(Math::GSL::Statistics)
Provides: perl(Math::GSL::Statisticsc)
Provides: perl(Math::GSL::Sum)
Provides: perl(Math::GSL::Sum::gsl_sum_levin_u_workspace)
Provides: perl(Math::GSL::Sum::gsl_sum_levin_utrunc_workspace)
Provides: perl(Math::GSL::Sumc)
Provides: perl(Math::GSL::Sys)
Provides: perl(Math::GSL::Sysc)
Provides: perl(Math::GSL::Test)
Provides: perl(Math::GSL::Vector)
Provides: perl(Math::GSL::Vector::gsl_vector)
Provides: perl(Math::GSL::Vector::gsl_vector_char)
Provides: perl(Math::GSL::Vector::gsl_vector_complex)
Provides: perl(Math::GSL::Vector::gsl_vector_int)
Provides: perl(Math::GSL::VectorComplex)
Provides: perl(Math::GSL::VectorComplex::gsl_complex)
Provides: perl(Math::GSL::VectorComplex::gsl_complex_float)
Provides: perl(Math::GSL::VectorComplex::gsl_complex_long_double)
Provides: perl(Math::GSL::VectorComplex::gsl_vector)
Provides: perl(Math::GSL::VectorComplex::gsl_vector_complex)
Provides: perl(Math::GSL::VectorComplexc)
Provides: perl(Math::GSL::Vectorc)
Provides: perl(Math::GSL::Version)
Provides: perl(Math::GSL::Versionc)
Provides: perl(Math::GSL::Wavelet)
Provides: perl(Math::GSL::Wavelet2D)
Provides: perl(Math::GSL::Wavelet2Dc)
Provides: perl(Math::GSL::Wavelet::gsl_wavelet)
Provides: perl(Math::GSL::Wavelet::gsl_wavelet_type)
Provides: perl(Math::GSL::Wavelet::gsl_wavelet_workspace)
Provides: perl(Math::GSL::Waveletc)
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
BuildRequires: gsl-devel
# MANUAL END
%description
Interface to the GNU Scientific Library using SWIG
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Build.PL --installdirs=vendor optimize="%{optflags}"
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CONTRIBUTING.md CREDITS examples KNOWN_BUGS README.md TODO
%changelog