Name: python3-pythonocc-core Version: 0.18.1 Release: 1%{?dist} Summary: 3D modelling library using OpenCascade License: LGPL URL: https://github.com/tpaviot/pythonocc-core Source0: pythonocc-core-%{version}.tar.gz BuildRequires: python3-devel cmake OCE-devel swig gcc gcc-c++ Requires: python3-svgwrite python3-six %description pythonOCC is a python library whose purpose is to provide 3D modeling features. It's intended to developers who aim at developing a complete CAD/PLM application, and to engineers who want to have a total control over the data during complex design activities. %prep %autosetup -n pythonocc-core-%{version} %build %cmake -DOCE_INCLUDE_PATH=%{_includedir}/oce -DOCE_LIB_PATH=%{_libdir} %cmake_build %install rm -rf $RPM_BUILD_ROOT %cmake_install %files %{python3_sitelib}/* %changelog * Sun Jul 26 2020 Bruno Postle - initial package