%global debug_package %{nil} # Global variables for github repository %global commit0 b251b22a649b1296e0857d3fbc63fcd210cd56a6 %global gittag0 B7-rc1 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global commit1 0bcbafd836babef20ca30754ad157fa6e88055ef %global shortcommit1 %(c=%{commit1}; echo ${c:0:7}) %global commit2 2ad3e521989987abe80cf34fe3806adcfe30394e %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 cb0ae54e6b147ccdf85401ef3ef20f2c761252c0 %global shortcommit5 %(c=%{commit5}; echo ${c:0:7}) %global commit6 d324986823519c15b2162fc3e0a720f349e43b0c %global shortcommit6 %(c=%{commit6}; echo ${c:0:7}) Name: looking-glass-client Version: B7 Release: 1%{?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_WAYLAND=yes -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 * Sat Mar 09 2024 dd - B7 - Update to latest version * 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