%global debug_package %{nil} Name: python3-klayout Version: 0.29.4 Release: 1%{?dist} Summary: KLayout standalone python module License: GPL-3.0-or-later URL: https://github.com/KLayout/klayout Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libcurl-devel BuildRequires: expat-devel BuildRequires: libpng-devel %description The klayout Python module is a side branch of the KLayout system. KLayout is a 2d viewer and editor for mask layouts used in chip manufacturing. It reads and writes GDS, OASIS, CIF, DXF and other formats including Gerber PCB files. It is capable of handling large files on the multi-GB scale with literally billions of polygons. %prep %autosetup -n klayout-%{version} %build %py3_build %install %py3_install %files %doc README.md %{_exec_prefix}/klayout/py.typed %{python3_sitearch}/klayout-*.egg-info/ %{python3_sitearch}/klayout/ %{python3_sitearch}/pya/ %changelog %autochangelog