Name: python-hatch-openzim Version: 0.4.0 Release: 1%{?dist} Summary: Hatch plugin for openZIM projects: metadata and build-time files License: GPL-3.0-or-later URL: https://github.com/openzim/hatch-openzim Source0: %{pypi_source hatch_openzim} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: hatch-openzim is a Hatch plugin used by openZIM and Kiwix Python projects. Its metadata hook fills in authors, URLs, classifiers and keywords; its build hook fetches or extracts files listed in openzim.toml at build time, skipping any that are already present (as they are in released sdists).} %description %{_description} %package -n python3-hatch-openzim Summary: %{summary} %description -n python3-hatch-openzim %{_description} %prep %autosetup -n hatch_openzim-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l hatch_openzim %check # These download test archives from dev.kiwix.org. %pytest -k 'not test_full and not test_execute_after_failure and not test_assets_already_there' %files -n python3-hatch-openzim -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog * Sun Nov 01 2026 Morgan Hough - 0.4.0-1 - Initial package