%global srcname flask_marshmallow %global srcnamenu flask-marshmallow Name: python-%{srcnamenu} Version: 1.4.0 Release: 1%{?dist} Summary: Flask + marshmallow for beautiful APIs License: MIT URL: https://flask-marshmallow.readthedocs.io/en/latest/ Source: %{pypi_source} BuildArch: noarch BuildRequires: python3-werkzeug gcc make BuildRequires: %{py3_dist pytest} %global _description %{expand: Flask-Marshmallow is a thin integration layer for Flask (a Python web framework) and marshmallow (an object serialization/deserialization library) that adds additional features to marshmallow, including URL and Hyperlinks fields for HATEOAS-ready APIs. It also (optionally) integrates with Flask-SQLAlchemy.} %description %_description %package -n python3-%{srcnamenu} Summary: %{summary} %description -n python3-%{srcnamenu} %_description %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname} %files -n python3-%{srcnamenu} -f %{pyproject_files} %doc README.rst %license LICENSE %changelog * Tue Apr 21 2026 Andrii Verbytskyi - 1.4.0-1 - First version for Fedora