Set CMAKE_INSTALL_DOCDIR pre tw

OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=15
This commit is contained in:
Dominik Heidler 2024-02-22 14:29:29 +00:00 committed by Git OBS Bridge
parent 6dd868478b
commit 4bbd91621f

View File

@ -83,6 +83,9 @@ export CXX=g++-10
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
-DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \
%if 0%{?sle_version:1}
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
%endif
-DOpenGL_GL_PREFERENCE=GLVND
%cmake_build -j 8
@ -92,7 +95,7 @@ export CXX=g++-10
%files
%doc README.md
%{_bindir}/EmptyEpsilon
%{_docdir}/*mpty*psilon/
%{_docdir}/EmptyEpsilon/
%{_datadir}/emptyepsilon/
%{_datadir}/applications/EmptyEpsilon.desktop
%{_datadir}/icons/hicolor/1024x1024/apps/EmptyEpsilon.png