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: bsdtar
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: glm-devel
@ -91,14 +92,16 @@ export CXX=g++-10
%install
%cmake_install
%fdupes %{buildroot}/%{_datadir}
%files
%doc README.md
%{_bindir}/EmptyEpsilon
%{_docdir}/emptyepsilon/
%{_docdir}/emptyepsilon/script_reference.html
%{_datadir}/emptyepsilon/
%{_datadir}/applications/io.github.daid.EmptyEpsilon.desktop
%{_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