%global commit fecb67cdf83ab61e3d2865e04020ad2cb146a6dc %global shortcommit fecb67 %global gitdate 20250713 Name: python-pystitch Version: 1.0.0 Release: %autorelease Summary: Embroidery IO library License: MIT URL: https://github.com/inkstitch/pystitch VCS: git:%{url}.git Source: %{url}/archive/%{commit}/pystitch-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: pystitch was coded from the ground up with all projects in mind. It includes a lot of high and middle level pattern composition abilities, and should account for any known error. If you know an error it does not account for, raise an issue. It should be highly robust with a simple api so as to be reasonable for any python embroidery project. It should be complex enough to go very easily from points to stitches, fine grained enough to let you control everything, and good enough that you shouldn't want to.} %description %_description %package -n python3-pystitch Summary: %{summary} %description -n python3-pystitch %_description %prep %autosetup -p1 -n pystitch-%{commit} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pystitch %check %pyproject_check_import %{py3_test_envvars} %{python3} -m unittest discover test %files -n python3-pystitch -f %{pyproject_files} %changelog %autochangelog