%global fsldir %{_prefix}/lib/fsl %global pypi_name fsl_pipe Name: fsl-pipe Version: 1.3.0 Release: 1%{?dist} Summary: Declarative pipeline builder for FSL, driven by a file tree # MIT, not FSL's own terms. It lives beside the rest of the FSL stack because it # requires fsl-sub and is useless without it, not because of its licence. License: MIT URL: https://git.fmrib.ox.ac.uk/fsl/fsl-pipe Source0: %{pypi_source %{pypi_name} %{version}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros Requires: fsl-sub %description fsl-pipe builds a pipeline from a file-tree description and the functions that produce each file: you declare what a step needs and what it makes, and the dependency graph, the job submission and the "what is already done" logic follow from that. It submits through fsl_sub, so the same pipeline runs locally or on a cluster without changing the code. %prep %autosetup -p1 -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l fsl_pipe %check %pyproject_check_import -e 'fsl_pipe.tests*' %files -f %{pyproject_files} %changelog * Sun Sep 27 2026 Morgan Hough - 1.3.0-1 - Initial package: fsl-pipe at the version the FSL 6.0.7.23 manifest pins, from the PyPI sdist, which is where this project publishes releases. - Every dependency is already packaged: dask, file-tree, fslpy, graphviz, loguru, wcmatch and xarray are in Fedora, and fsl-sub is now in this repo. Nothing is bundled and nothing is vendored. - Needed in its own right and as a dependency: fsl-whim, the fixel-based diffusion analysis tool, cannot be packaged without it.