2015-08-24 13:44:11 +00:00
#
# spec file for package octave-forge-tisean
#
2023-04-30 02:52:10 +00:00
# Copyright (c) 2023 SUSE LLC
2015-08-24 13:44:11 +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.
2023-04-30 02:52:10 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2015-08-24 13:44:11 +00:00
#
%define octpkg tisean
Name : octave-forge-%{octpkg}
Version : 0.2.3
Release : 0
Summary : Nonlinear Time Series Analysis
2023-04-30 02:52:10 +00:00
License : GPL-3.0-or-later
2015-08-24 13:44:11 +00:00
Group : Productivity/Scientific/Math
2023-04-30 02:52:10 +00:00
URL : http://octave.sourceforge.net
2015-08-24 13:44:11 +00:00
Source0 : http://downloads.sourceforge.net/octave/%{octpkg} -%{version} .tar.gz
2023-04-30 02:52:10 +00:00
# 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
2015-08-24 13:44:11 +00:00
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}
2023-04-30 02:52:10 +00:00
pushd %{octpkg} -%{version}
%autopatch -p1
popd
2015-08-24 13:44:11 +00:00
%octave_pkg_src
%build
%octave_pkg_build
%install
%octave_pkg_install
%check
%octave_pkg_test
%post
%octave --eval " p k g r e b u i l d "
%postun
%octave --eval " p k g r e b u i l d "
%files
%defattr (-,root,root)
%{octpackages_dir} /%{octpkg} -%{version}
%{octlib_dir} /%{octpkg} -%{version}
%changelog