From 32f07a222415457a0ff170df069098dd02b5664d Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@fossgalaxy.com> Date: Mon, 25 Jul 2022 13:59:43 +0000 Subject: [PATCH] Update fggl.spec - replace with validated version. This still won't work, as there are packaging issues with imgui and glad that must be resolved in cmake/c++. --- build-aux/fggl.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/build-aux/fggl.spec b/build-aux/fggl.spec index f2dc47b..01567e7 100644 --- a/build-aux/fggl.spec +++ b/build-aux/fggl.spec @@ -10,12 +10,28 @@ source0: https://git.fossgalaxy.com/gamedev/fggl/-/archive/develop/fggl-develop. BuildRequires: g++ BuildRequires: cmake +BuildRequires: glfw-devel +BuildRequires: openal-devel +BuildRequires: glm-devel +BuildRequires: glfw-devel +BuildRequires: openal-soft-devel +BuildRequires: spdlog-devel +BuildRequires: freetype-devel +BuildRequires: yaml-cpp-devel +BuildRequires: assimp-devel +BuildRequires: bullet-devel +BuildRequires: gtest-devel +BuildRequires: gmock-devel + +# demo desktop stuff +BuildRequires: libappstream-glib +BuildRequires: desktop-file-utils %description %{summary}. %prep -%setup +%setup -q -n %{name}-develop %build %cmake @@ -26,6 +42,34 @@ BuildRequires: cmake %check %ctest +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml +desktop-file-validate %{buildroot}/%{_datadir}/applications/com.fossgalaxy.fggl.Demo.desktop + +%package demos +Summary: Demos for fggl +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description demos +FGGL example binaries + +%package devel +Summary: FGGL development libraries and header files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +fggl dynamic libraries and header files. %files +%{_libdir}/libfggl.so + +%files devel +%{_includedir}/fggl/* +%{_libdir}/cmake/%{name} +%files demos +%{_bindir}/demo +%{_datadir}/fggl-demo/* +%{_datadir}/applications/com.fossgalaxy.fggl.Demo.desktop +%{_metainfodir}/com.fossgalaxy.fggl.Demo.metainfo.xml -- GitLab