%define _debugsource_template %{nil} %define debug_package %{nil} Name: looking-glass-client Version: B7 Release: 5%{?dist} Summary: Low-latency KVM frame relay client License: GPL-2.0-or-later URL: https://looking-glass.io Source0: https://looking-glass.io/artifact/stable/source#/%{name}-%{version}.tar.gz Patch0: nettle4-sha1-digest.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig BuildRequires: gmp-devel BuildRequires: nettle-devel BuildRequires: spice-protocol BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(hogweed) BuildRequires: pkgconfig(libdecor-0) BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(nettle) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(spice-protocol) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(xkbcommon) # Frame copies use SSE4.1/AVX2 intrinsics with no portable fallback. ExclusiveArch: x86_64 Requires: hicolor-icon-theme %description Looking Glass is a low-latency KVM frame relay client for guest systems with VGA PCI passthrough. It uses a shared memory device to display the guest from the host without a capture card. %prep %autosetup -p1 -n looking-glass-%{version} %build cmake -S client -B build \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ -DENABLE_BACKTRACE=OFF \ -DENABLE_X11=OFF \ -DOPTIMIZE_FOR_NATIVE=OFF cmake --build build --parallel %{?_smp_build_ncpus} %install DESTDIR=%{buildroot} cmake --install build %check desktop-file-validate %{buildroot}%{_datadir}/applications/looking-glass-client.desktop test -x %{buildroot}%{_bindir}/looking-glass-client test -f %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/looking-glass.svg %files %license LICENSE %doc AUTHORS CONTRIBUTORS README.md %{_bindir}/looking-glass-client %{_datadir}/applications/looking-glass-client.desktop %{_datadir}/icons/hicolor/scalable/apps/looking-glass.svg %changelog * Tue Oct 13 2026 sachesi - B7-5 - Build only for x86_64, the frame copy paths need SSE4.1 and AVX2 intrinsics. * Fri Sep 18 2026 sachesi - B7-4 - Patch bundled PureSpice to use the Nettle 4.0 sha1_digest() signature (2-arg, no length param) on Fedora 45/rawhide, keeping the old 3-arg call for Nettle < 4.0 (Fedora 44). * Sun Jun 07 2026 sachesi - B7-3 - Disable optional BFD backtrace support to avoid static libbfd linkage failures. * Sun Jun 07 2026 sachesi - B7-2 - Disable X11 support; build the Wayland client path only. * Sun Jun 07 2026 sachesi - B7-1 - Initial package for Copr.