Package octave-bsltl: Specfile

# BEGIN SourceDeps(oneline):
BuildRequires: makeinfo texinfo
# END SourceDeps(oneline)
%define octave_pkg_version 1.3.1
%define octave_pkg_name bsltl
%define octave_descr_name bsltl
Name: octave-%octave_pkg_name
Version: 1.3.1
Release: alt1
Summary: Biospeckle Laser Tool Library.

Group: Sciences/Mathematics
License: GPL-3.0+


BuildRequires: octave-devel
%if_with _octave_arch
BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel
BuildArch: noarch
Provides: octave(bsltl) = %version
# Depends: octave (>= 3.8.0)
Requires: octave >= 3.8.0

Octave-Forge - Extra packages for GNU Octave.
This package contains the %octave_descr_name GNU Octave extension.

Extension Description:
The BSLTL package is a free collection of OCTAVE/MATLAB routines for working with the biospeckle laser technique.

%setup -q -n %{octave_pkg_name}-%{octave_pkg_version}

octave -q -H --no-window-system --no-site-file --eval "pkg build -verbose -nodeps . %SOURCE0"

mkdir -p %buildroot%_datadir/octave/packages
mkdir -p %buildroot%_libdir/octave/packages
%if_with _octave_arch
octave -H --no-window-system --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -nodeps -verbose -local %octave_pkg_name-%octave_pkg_version-$(octave -H --no-window-system --no-site-file --eval "printf([__octave_config_info__(\"canonical_host_type\"), \"-\",  __octave_config_info__(\"api_version\")])").tar.gz"
octave -q -H --no-window-system --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -nodeps -verbose -local %octave_pkg_name-%octave_pkg_version-any-none.tar.gz"

%if_with _octave_arch

* Tue Feb 18 2020 Andrey Cherepanov <> 1.3.1-alt1
- New version.
- Fix license according to SPDX.

* Thu May 24 2018 Igor Vlasenko <> 1.1.1-alt1
- initial import by package builder