File project.diff of Package alembic

--- alembic.spec.orig
+++ alembic.spec
@@ -17,6 +17,10 @@
 #
 
 
+%define py3ver 3.11
+%define py3pkg python311
+%define py3so_suffix _Python3_11
+
 %define libname libAlembic1_8
 Name:           alembic
 Version:        1.8.8
@@ -30,7 +34,10 @@ Source:         https://github.com/%{nam
 Patch0:         fuzztest.patch
 BuildRequires:  cmake >= 3.13
 BuildRequires:  gcc-c++
+BuildRequires:  libboost_python3-devel-impl >= 1.84.0
 BuildRequires:  pkgconfig
+BuildRequires:  python3
+BuildRequires:  python3-devel
 BuildRequires:  pkgconfig(OpenEXR)
 BuildRequires:  pkgconfig(zlib)
 # Ogawa does only support little endianess
@@ -70,9 +77,11 @@ sed -i "s/\(ConfigPackageLocation\) lib/
 %build
 %cmake \
     -DALEMBIC_LIB_INSTALL_DIR=%{_libdir} \
+    -DALEMBIC_PYTHON_INSTALL_DIR=%{_libdir}/python%{py3ver}/site-packages \
     -DUSE_ARNOLD=OFF \
     -DUSE_BINARIES=OFF \
-    -DUSE_TESTS=ON
+    -DUSE_TESTS=OFF \
+    -DUSE_PYALEMBIC=ON
 
 %make_build
 
@@ -93,6 +102,7 @@ export LD_LIBRARY_PATH="%{buildroot}%{_l
 %files devel
 %{_includedir}/Alembic
 %{_libdir}/*.so
+%{_libdir}/python%{py3ver}/site-packages/alembic.so
 %{_libdir}/cmake/Alembic
 %doc ACKNOWLEDGEMENTS.txt FEEDBACK.txt NEWS.txt README.txt
 
openSUSE Build Service is sponsored by