forked from pool/emptyepsilon
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:
parent
6dd868478b
commit
4bbd91621f
@ -83,6 +83,9 @@ export CXX=g++-10
|
|||||||
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
|
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
|
||||||
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
|
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
|
||||||
-DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \
|
-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
|
-DOpenGL_GL_PREFERENCE=GLVND
|
||||||
%cmake_build -j 8
|
%cmake_build -j 8
|
||||||
|
|
||||||
@ -92,7 +95,7 @@ export CXX=g++-10
|
|||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/EmptyEpsilon
|
%{_bindir}/EmptyEpsilon
|
||||||
%{_docdir}/*mpty*psilon/
|
%{_docdir}/EmptyEpsilon/
|
||||||
%{_datadir}/emptyepsilon/
|
%{_datadir}/emptyepsilon/
|
||||||
%{_datadir}/applications/EmptyEpsilon.desktop
|
%{_datadir}/applications/EmptyEpsilon.desktop
|
||||||
%{_datadir}/icons/hicolor/1024x1024/apps/EmptyEpsilon.png
|
%{_datadir}/icons/hicolor/1024x1024/apps/EmptyEpsilon.png
|
||||||
|
Loading…
x
Reference in New Issue
Block a user