## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-blurhash Version: 1.1.4 Release: %autorelease Summary: Pure-Python implementation of the blurhash algorithm License: MIT URL: https://github.com/halcy/blurhash-python Source: %{pypi_source blurhash} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-numpy BuildRequires: python3-pillow %global _description %{expand: Implementation of the blurhash ( https://github.com/woltapp/blurhash ) algorithm in pure python} %description %_description %package -n python3-blurhash Summary: %{summary} %description -n python3-blurhash %_description %prep %autosetup -p1 -n blurhash-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files blurhash %check %pyproject_check_import %files -n python3-blurhash -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Fri Apr 11 2025 John Doe - 1.1.4-1 - Uncommitted changes ## END: Generated by rpmautospec