%global projname gramps-web-api %global srcname gramps-webapi Name: python-%{srcname} Version: 2.7.0 Release: 1%{?dist} Summary: RESTful API for the gramps application License: AGPL-3.0 URL: https://github.com/gramps-project/gramps-web-api Source0: https://github.com/gramps-project/gramps-web-api/archive/refs/tags/%{projname}-%{version}.tar.gz BuildArch: noarch %global _description %{expand: RESTful API for the gramps application While this can be used solely as a local RESTful API, the intent of this package is to provide the needed backend services for the gramps-web interface.} %description %_description %py_provides python3-%{srcname} %package -n python3-%{srcname} Summary: %{summary} Patch0: gramps-desktop.patch %description -n python3-%{srcname} %_description %prep %autosetup -n %{projname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files 'gramps_webapi*' %files -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Mon Jan 13 2025 Al Stone - 2.0.7-1 - Initial attempt at packaging - Starting with release v2.0.7