# # spec file for package octave-forge-tisean # # Copyright (c) 2023 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 octpkg tisean Name: octave-forge-%{octpkg} Version: 0.2.3 Release: 0 Summary: Nonlinear Time Series Analysis License: GPL-3.0-or-later Group: Productivity/Scientific/Math URL: http://octave.sourceforge.net Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz # PATCH-FIX-UPSTREAM tisean-drop-error_state-use.patch badshah400@gmail.com -- Drop the use of error_state to support octave >= 8 (https://savannah.gnu.org/bugs/index.php?61583) Patch0: tisean-drop-error_state-use.patch BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: octave-devel Requires: octave-cli >= 4.0.0 Requires: octave-forge-signal >= 1.3.0 %description TISEAN stands for TIme SEries ANalysis. This is part of Octave-Forge project. %prep %setup -q -c %{name}-%{version} pushd %{octpkg}-%{version} %autopatch -p1 popd %octave_pkg_src %build %octave_pkg_build %install %octave_pkg_install %check %octave_pkg_test %post %octave --eval "pkg rebuild" %postun %octave --eval "pkg rebuild" %files %defattr(-,root,root) %{octpackages_dir}/%{octpkg}-%{version} %{octlib_dir}/%{octpkg}-%{version} %changelog