%global pypi_name grip Name: python-%{pypi_name} Version: 4.6.2 Release: 1%{?dist} Summary: Render local readme files before sending off to GitHub License: MIT URL: https://github.com/joeyespo/grip Source0: %pypi_source %pypi_name BuildArch: noarch %description Grip is a command-line server application written in Python that uses the GitHub markdown API to render a local readme file. The styles and rendering come directly from GitHub, so you'll know exactly how it will appear. Changes you make to the Readme will be instantly reflected in the browser without requiring a page refresh. %package -n python3-%{pypi_name} Summary: Render local readme files before sending off to GitHub Requires: python3 %description -n python3-%{pypi_name} Grip is a command-line server application written in Python that uses the GitHub markdown API to render a local readme file. The styles and rendering come directly from GitHub, so you'll know exactly how it will appear. Changes you make to the Readme will be instantly reflected in the browser without requiring a page refresh. %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files grip %files -n python3-%{pypi_name} -f %pyproject_files %{_bindir}/grip %changelog * Tue Nov 25 2025 Ian Pilcher - 4.6.2-1 - Initial SPEC file