%global debug_package %{nil} Name: python-babelviscofdtd Version: 1.2.6 Release: 2%{?dist} Summary: GPU/CPU 3D FDTD solution of viscoelastic equation License: BSD-3-Clause URL: https://github.com/ProteusMRIgHIFU/BabelViscoFDTD Source0: https://github.com/ProteusMRIgHIFU/BabelViscoFDTD/archive/main.tar.gz BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools BuildRequires: python3-wheel BuildRequires: python3-scikit-build-core BuildRequires: python3-numpy BuildRequires: python3-scipy BuildRequires: python3-h5py BuildRequires: python3-hdf5plugin BuildRequires: python3-pydicom BuildRequires: python3-pyopencl BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: opencl-headers BuildRequires: ocl-icd-devel %description GPU/CPU 3D FDTD solution of viscoelastic equation. %package -n python3-babelviscofdtd Summary: %{summary} Requires: python3-numpy Requires: python3-scipy Requires: python3-h5py Requires: python3-hdf5plugin Requires: python3-pydicom Requires: python3-pyopencl %description -n python3-babelviscofdtd GPU/CPU 3D FDTD solution of viscoelastic equation. %prep %autosetup -n BabelViscoFDTD-main %build # setup.py calls cmake. # We ensure cmake and build dependencies are present. %pyproject_wheel %install %pyproject_install %pyproject_save_files BabelViscoFDTD %files -n python3-babelviscofdtd -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Tue May 05 2026 Morgan Hough - 1.2.6-2 - Disable debug subpackage (no useful debug source for this build) * Tue May 05 2026 Morgan Hough - 1.2.6-1 - Bump version to 1.2.6 (matches what github main produces) - Use %%pyproject_save_files to auto-discover installed paths (upstream installs into BabelViscoFDTD/, not babelviscofdtd/) * Mon May 04 2026 Morgan Hough - 1.2.3-2 - Add python3-scikit-build-core BR (upstream switched build backend to scikit-build-core) * Sun Feb 01 2026 Morgan Hough - 1.0.6-1 - Initial package