Fix build and deduplicate

OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=26
This commit is contained in:
Dominik Heidler 2025-01-10 21:33:02 +00:00 committed by Git OBS Bridge
parent 1ec155ca0d
commit b377e96dc2

View File

@ -33,6 +33,7 @@ Patch1: use_bundled_meshoptimizer.patch
BuildRequires: SDL2-devel BuildRequires: SDL2-devel
BuildRequires: bsdtar BuildRequires: bsdtar
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: glm-devel BuildRequires: glm-devel
@ -91,14 +92,16 @@ export CXX=g++-10
%install %install
%cmake_install %cmake_install
%fdupes %{buildroot}/%{_datadir}
%files %files
%doc README.md %doc README.md
%{_bindir}/EmptyEpsilon %{_bindir}/EmptyEpsilon
%{_docdir}/emptyepsilon/ %{_docdir}/emptyepsilon/script_reference.html
%{_datadir}/emptyepsilon/ %{_datadir}/emptyepsilon/
%{_datadir}/applications/io.github.daid.EmptyEpsilon.desktop %{_datadir}/applications/io.github.daid.EmptyEpsilon.desktop
%{_datadir}/icons/hicolor/512x512/apps/io.github.daid.EmptyEpsilon.png %{_datadir}/icons/hicolor/512x512/apps/io.github.daid.EmptyEpsilon.png
%{_datadir}/metainfo/io.github.daid.EmptyEpsilon.metainfo.xml
%dir %{_datadir}/icons/hicolor/512x512/apps %dir %{_datadir}/icons/hicolor/512x512/apps
%dir %{_datadir}/icons/hicolor/512x512 %dir %{_datadir}/icons/hicolor/512x512