%define _disable_source_fetch %{nil} %global __strip /bin/true %global debug_package %{nil} # The binary breaks if the debug data is removed Name: openseeface-gd Version: 0.6.0 Release: 1%{?dist} Summary: Renderer for OpenSeeFace data made with Godot 3.3 License: MIT URL: https://github.com/you-win/openseeface-gd/ Source0: https://github.com/you-win/openseeface-gd/archive/refs/tags/%{version}.zip Source1: https://github.com/you-win/godot/releases/download/3.3.2-gltf/godot-3.2.4-release-template-linux.zip Source2: export_presets.cfg Source3: osf-gd.desktop BuildRequires: godot godot-headless scons desktop-file-utils pkgconfig libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel mesa-libGL-devel mesa-libGLU-devel alsa-lib-devel pulseaudio-libs-devel libudev-devel yasm gcc-c++ libstdc++-static Recommends: openseeface %description %{summary} %prep %autosetup unzip %{SOURCE1} cp %{SOURCE2} . %build godot-headless --export "Linux/X11" || /bin/true ##%make_build %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_bindir}/ install osf-gd %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_datadir}/applications desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE3} %files %license LICENSE %doc README.md %{_bindir}/osf-gd %{_datadir}/applications/osf-gd.desktop %changelog * Mon Sep 13 2021 Cappy Ishihara <38139192+korewaChino@users.noreply.github.com> - Initial Build