%global debug_package %{nil} # Global variables for github repository %global commit0 188f25c6bf6e4525652222be7408f628d7fec1fc %global gittag0 B6 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global commit1 1b170ad8d732c8649d75f2ab71c11731661b0b96 %global shortcommit1 %(c=%{commit1}; echo ${c:0:7}) %global commit2 247c57ee36110bc1d99e42355338a25ff2e483b0 %global shortcommit2 %(c=%{commit2}; echo ${c:0:7}) %global commit3 261250f88f374e751b2de1501ba5c0c11e420b5a %global shortcommit3 %(c=%{commit3}; echo ${c:0:7}) %global commit4 c71a50deb5ddf1ea386b91e60fa2e4a26d080074 %global shortcommit4 %(c=%{commit4}; echo ${c:0:7}) %global commit5 64d59e4d53308104181c6a7ad71fbf423f71910f %global shortcommit5 %(c=%{commit5}; echo ${c:0:7}) %global commit6 d324986823519c15b2162fc3e0a720f349e43b0c %global shortcommit6 %(c=%{commit6}; echo ${c:0:7}) Name: looking-glass-client Version: B6 Release: 2%{?dist} Summary: VGA PCI Pass-through receiver leveraging IVSHMEM License: GPL-2.0 URL: https://looking-glass.io/ Source0: https://github.com/gnif/LookingGlass/archive/%{commit0}.tar.gz#/LookingGlass-%{commit0}.tar.gz Source1: https://github.com/gnif/LGMP/archive/%{commit1}.tar.gz Source2: https://github.com/gnif/PureSpice/archive/%{commit2}.tar.gz Source3: https://github.com/cimgui/cimgui/archive/%{commit3}.tar.gz Source4: https://github.com/ocornut/imgui/archive/%{commit4}.tar.gz Source5: https://github.com/memononen/nanosvg/archive/%{commit5}.tar.gz Source6: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/archive/%{commit6}/wayland-protocols-%{commit6}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libglvnd-devel BuildRequires: fontconfig-devel BuildRequires: spice-protocol BuildRequires: make BuildRequires: nettle-devel BuildRequires: pkgconf-pkg-config BuildRequires: binutils-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXcursor-devel BuildRequires: libXpresent-devel BuildRequires: libxkbcommon-x11-devel BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: libXScrnSaver-devel BuildRequires: libXrandr-devel BuildRequires: dejavu-sans-mono-fonts BuildRequires: pipewire-devel BuildRequires: libsamplerate-devel %description VGA PCI Pass-through receiver leveraging IVSHMEM %prep %setup -n LookingGlass-%{commit0} -a1 -a2 -a3 -a4 -a5 -a6 rm -rf repos/{LGMP,PureSpice,cimgui,nanosvg,wayland-protocols} mv LGMP-%{commit1} repos/LGMP mv PureSpice-%{commit2} repos/PureSpice mv cimgui-%{commit3} repos/cimgui rm -rf repos/cimgui/imgui mv imgui-%{commit4} repos/cimgui/imgui mv nanosvg-%{commit5} repos/nanosvg mv wayland-protocols-%{commit6} repos/wayland-protocols %build mkdir -p client/build cd client/build cmake -DENABLE_X11=no -DENABLE_PULSEAUDIO=no ../ make %install mkdir -p %{buildroot}%{_bindir} install -p -m 0755 client/build/%{name} %{buildroot}/%{_bindir}/ %files %{_bindir}/%{name} %license %changelog * Mon Nov 14 2022 dd - B6 - Update to latest version * Sun Dec 26 2021 dd - B5 - Update to latest version * Sat Aug 06 2021 dd - B4 - Update to latest version * Sat Apr 17 2021 Drew DeVore - B3 - Update to latest version * Sat Nov 14 2020 Drew DeVore - B2 - Initial build