Name: python-libgravatar Version: 1.0.3 Release: 1%{?dist} Summary: Python interface for the Gravatar APIs License: GPL-3.0-or-later URL: https://github.com/pabluk/libgravatar BuildArch: noarch # PyPI source is incomplete Source0: %{pypi_source libgravatar} BuildRequires: python3-devel %description Python interface for the Gravatar API. %package -n python3-libgravatar Summary: Python 3 interface for the Gravatar API %description -n python3-libgravatar Python 3 interface for the Gravatar API. %prep %autosetup -p1 -n libgravatar-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l libgravatar %check %py3_check_import libgravatar %files -n python3-libgravatar -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Tue May 07 2024 Sandro Mani - 1.0.3-1 - Initial package