# fsl-denmatsim: density-matrix simulation of MRS pulse sequences (FSL-MRS's sequence modelling; William Clarke, University of Oxford). FSL-MRS # imports it lazily for fsl_mrs_sim and for reading simulated bases. FMRIB's installer ships it as conda package fsl-denmatsim; not in Fedora. # BSD-3-Clause (LICENSE in the source), pure Python on NumPy/SciPy, so this is in the FREE project. %global pypi_name fsl-denmatsim %global pkg_name fsl_denmatsim Name: python-%{pypi_name} Version: 2.0.0 Release: 1%{?dist} Summary: Density matrix simulations for FSL-MRS sequence modelling License: BSD-3-Clause URL: https://git.fmrib.ox.ac.uk/wclarke/denmatsim Source0: %{url}/-/archive/%{version}/denmatsim-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: fsl-denmatsim simulates MR spectroscopy sequences with the density-matrix formalism for FSL-MRS: spin systems, pulse sequences (PRESS, sLASER, semi-LASER, MEGA-editing and others) and the resulting basis spectra.} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -n denmatsim-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pkg_name} %check %pyproject_check_import %pytest -v tests %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc readme.md changelog.md %changelog * Fri Oct 09 2026 Morgan Hough - 2.0.0-1 - Initial package: fsl-denmatsim 2.0.0, the version FMRIB's installer pins for fsl_mrs. Free project (BSD-3-Clause); %%check runs upstream's pytest suite.