%global debug_package %{nil} Name: python3-kfactory Version: 0.18.4 Release: 2%{?dist} Summary: gdsfactory with a klayout backend License: MIT URL: https://github.com/gdsfactory/kfactory Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: make BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros %description Kfactory is a gdsfactory-like tool. It is built with KLayout as a backend instead of gdstk, but aims to offer the similar features. %prep %autosetup -n kfactory-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %files %doc README.md %{_bindir}/kf %{python3_sitelib}/kfactory/ %{python3_sitelib}/kfactory-*.dist-info/ %changelog %autochangelog