%global fsldir %{_prefix}/lib/fsl %global srcname fsl_sub_plugin_sge Name: fsl-sub-plugin-sge Version: 1.5.5 Release: 2%{?dist} Summary: Son of Grid Engine / Univa Grid Engine back end for FSL's job submission wrapper License: Apache-2.0 URL: https://git.fmrib.ox.ac.uk/fsl/fsl_sub_plugin_sge # Upstream's own sdist; git.fmrib.ox.ac.uk has not answered HTTPS since # mid-October 2026 (see fsl-sub.spec). Source0: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros Requires: fsl-sub %description The Son of Grid Engine / Univa Grid Engine back end for fsl_sub. With this installed and configured, FSL pipelines that call fsl_sub submit their work to Son of Grid Engine / Univa Grid Engine instead of running it on the local machine. Installing it is not enough on its own: fsl_sub still needs a configuration naming the queues, which `fsl_sub_config sge` generates. %prep %autosetup -p1 -n %{srcname}-%{version} # No .git in a release tarball, so setuptools-scm cannot infer the version. %global _scm_env SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %generate_buildrequires export %{_scm_env} %pyproject_buildrequires %build export %{_scm_env} %pyproject_wheel %install export %{_scm_env} %pyproject_install %pyproject_save_files -l fsl_sub_plugin_sge %check # The bundled tests import pytest, which a packaging build does not need. %pyproject_check_import -e 'fsl_sub_plugin_sge.tests*' # fsl_sub discovers back ends by import name, so prove this one is discoverable # under the name fsl_sub looks for rather than only that its files landed. PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -c 'import fsl_sub_plugin_sge' %files -f %{pyproject_files} %doc README.md %changelog * Thu Oct 22 2026 Morgan Hough - 1.5.5-2 - Source0 from PyPI (fsl_sub_plugin_sge-1.5.5.tar.gz) instead of the git.fmrib.ox.ac.uk archive, unreachable since about 2026-10-15. * Sun Sep 27 2026 Morgan Hough - 1.5.5-1 - Initial package: the Son of Grid Engine / Univa Grid Engine back end for fsl_sub, at the version the FSL 6.0.7.23 manifest pins, Apache-2.0. Packaged so that a scheduler back end can be installed by the package manager rather than by fsl_sub_plugin pulling it from PyPI into /usr/lib/fsl.