## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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-opentypesvg Version: 1.1.5 Release: %autorelease Summary: Tools for making OpenType-SVG fonts License: MIT URL: https://github.com/adobe-type-tools/opentype-svg Source: %{pypi_source opentypesvg} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: Tools for making OpenType-SVG fonts - addsvg adds an SVG table to a font, using SVG files provided. The font's format can be either OpenType or TrueType. - dumpsvg saves the contents of a font's SVG table as individual SVG files. The font's format can be either OpenType, TrueType, WOFF, or WOFF2. - fonts2svg generates a set of SVG glyph files from one or more fonts and hex colors for each of them. The fonts' format can be either OpenType, TrueType, WOFF, or WOFF2.} %description %_description %package -n python3-opentypesvg Summary: %{summary} %description -n python3-opentypesvg %_description %prep %autosetup -p1 -n opentypesvg-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l opentypesvg %check %pyproject_check_import %pytest %files -n python3-opentypesvg -f %{pyproject_files} %doc README.md %{_bindir}/addsvg %{_bindir}/dumpsvg %{_bindir}/fonts2svg %changelog ## START: Generated by rpmautospec * Tue Feb 10 2026 Benson Muite - 1.1.5-1 - Initial import rhbz#2391432 ## END: Generated by rpmautospec