%global octpkg bart Name: octave-%{octpkg} Version: 0.9.00 Release: 235.20240417gite1fd44b%{?dist} Epoch: 1 Summary: Octave bindings for BART License: BSD URL: https://mrirecon.github.io/bart VCS: git+https://github.com/mrirecon/bart.git#e1fd44bc95fdd60eb4fdf034661a6bd5ad3f76cd:pkg/rpm Source0: octave-bart BuildArch: noarch BuildRequires: octave-devel Requires: bart, octave Requires(post): octave Requires(postun): octave %description The Berkeley Advanced Reconstruction Toolbox (BART) is a free and open-source image-reconstruction framework for Computational Magnetic Resonance Imaging. This package provides Octave bindings for BART. %prep %setup -T -b 0 -q -n octave-bart # files that belong inside an octave pkg according to https://octave.org/doc/v4.4.0/Creating-Packages.html mkdir matlab/inst mv matlab/*.m matlab/inst cp LICENSE matlab/COPYING cat > matlab/DESCRIPTION <