%global pypi_name django-htmx %global pypi_dist django_htmx Name: python-%{pypi_name} Version: 1.29.0 Release: 1%{?dist} Summary: Extensions for using Django with htmx License: MIT URL: https://github.com/adamchainz/django-htmx Source0: %{pypi_source %{pypi_dist} %{version}} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: django-htmx provides tools for using Django with htmx: a middleware that adds an HttpRequest.htmx attribute exposing all the HX-* request headers, template tags, and response classes. It is a runtime dependency of TOM Toolkit.} %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} Requires: python3-asgiref >= 3.6 Requires: python3-django >= 5.2 %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{pypi_dist}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_dist} %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Mon Aug 24 2026 Morgan Hough - 1.29.0-1 - Initial package. Runtime dependency of TOM Toolkit.