Name: usbredir Version: 0.12.0 Release: 4%{?dist} Summary: USB network redirection protocol libraries Group: System Environment/Libraries License: LGPLv2+ URL: https://www.spice-space.org/usbredir.html Source0: http://spice-space.org/download/%{name}/%{name}-%{version}.tar.xz Patch0001: 0001-usbredirparser-Fix-unserialize-on-pristine-check.patch Patch0002: 0002-usbredirparser-reset-parser-s-fields-on-unserialize.patch Patch0003: 0003-Use-typedef-on-redirect-structure-to-simplify-some-s.patch Patch0004: 0004-Factor-out-a-function-to-create-watches.patch Patch0005: 0005-Recreate-watch-if-needed.patch Patch0006: 0006-Add-documentation-examples-for-using-bus-device-iden.patch Patch0007: 0007-usbredirect-allow-multiple-devices-by-vendor-product.patch Patch0008: 0008-usbredirect-use-the-correct-bus-device.patch BuildRequires: glib2-devel BuildRequires: libusb1-devel >= 1.0.9 BuildRequires: git-core BuildRequires: meson %description The usbredir libraries allow USB devices to be used on remote and/or virtual hosts over TCP. The following libraries are provided: usbredirparser: A library containing the parser for the usbredir protocol usbredirhost: A library implementing the USB host side of a usbredir connection. All that an application wishing to implement a USB host needs to do is: * Provide a libusb device handle for the device * Provide write and read callbacks for the actual transport of usbredir data * Monitor for usbredir and libusb read/write events and call their handlers %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package server Summary: Simple USB host TCP server Group: System Environment/Daemons License: GPLv2+ Requires: %{name}%{?_isa} = %{version}-%{release} %description server A simple USB host TCP server, using libusbredirhost. %prep %autosetup -S git_am %build %meson \ -Dgit_werror=disabled \ -Dtools=enabled \ -Dfuzzing=disabled %meson_build %install %meson_install %ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc} %license COPYING.LIB %{_libdir}/libusbredir*.so.* %files devel %doc docs/usb-redirection-protocol.md docs/multi-thread.md ChangeLog.md TODO %{_includedir}/usbredir*.h %{_libdir}/libusbredir*.so %{_libdir}/pkgconfig/libusbredir*.pc %files server %{!?_licensedir:%global license %%doc} %license COPYING %{_bindir}/usbredirect %{_sbindir}/usbredirserver %{_mandir}/man1/usbredirect.1* %{_mandir}/man1/usbredirserver.1* %changelog * Wed Jan 25 2023 Victor Toso - 0.12.0-4 - Rebuild to fix lack of elf sections Related: rhbz#2157521 * Thu Jan 05 2023 Victor Toso - 0.12.0-3 - Fixes 100% CPU usage when usbredirect used as TCP server. Related: rhbz#2157521 - Fixes USB redirection of identical devices. Resolves: rhbz#2157521 * Wed Jul 27 2022 Victor Toso - 0.12.0-2 - Fixes unserialization on migration Resolves: rhbz#2111351 * Fri Nov 12 2021 Victor Toso - 0.12.0-1 - Update to 0.12.0 release - Resolves: rhbz#2022751 * Thu Aug 23 2018 Victor Toso - 0.8.0-1 - Update to 0.8.0 release - Resolves: rhbz#1620098 * Fri Feb 09 2018 Fedora Release Engineering - 0.7.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Feb 05 2018 Igor Gnatenko - 0.7.1-6 - Switch to %%ldconfig_scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 0.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Nov 02 2015 Fabiano FidĂȘncio 0.7.1-1 - Update to upstream 0.7.1 release * Tue Jun 16 2015 Peter Robinson 0.7-4 - Use %%license * Mon Aug 18 2014 Fedora Release Engineering - 0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 21 2014 Hans de Goede - 0.7-1 - Update to upstream 0.7 release * Tue Sep 10 2013 Hans de Goede - 0.6-5 - Use the new libusb autodetach kernel driver functionality - Fix a usbredirparser bug which causes tcp/ip redir to not work (rhbz#1005015) * Sun Aug 04 2013 Fedora Release Engineering - 0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon May 13 2013 Hans de Goede - 0.6-3 - Fix usbredirserver not listening for ipv6 connections (rhbz#957470) - Fix a few (harmless) coverity warnings * Fri Feb 15 2013 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Dec 13 2012 Hans de Goede - 0.6-1 - Update to upstream 0.6 release * Tue Sep 25 2012 Hans de Goede - 0.5.2-1 - Update to upstream 0.5.2 release * Wed Sep 19 2012 Hans de Goede - 0.5.1-1 - Update to upstream 0.5.1 release * Fri Sep 7 2012 Hans de Goede - 0.5-1 - Update to upstream 0.5 release * Mon Jul 30 2012 Hans de Goede - 0.4.3-3 - Add 2 fixes from upstream fixing issues with some bulk devices (rhbz#842358) * Sun Jul 22 2012 Fedora Release Engineering - 0.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Apr 2 2012 Hans de Goede - 0.4.3-1 - Update to upstream 0.4.3 release * Tue Mar 6 2012 Hans de Goede - 0.4.2-1 - Update to upstream 0.4.2 release * Sat Feb 25 2012 Hans de Goede - 0.4.1-1 - Update to upstream 0.4.1 release * Thu Feb 23 2012 Hans de Goede - 0.4-1 - Update to upstream 0.4 release * Thu Jan 12 2012 Hans de Goede - 0.3.3-1 - Update to upstream 0.3.3 release * Tue Jan 3 2012 Hans de Goede 0.3.2-1 - Update to upstream 0.3.2 release * Wed Aug 24 2011 Hans de Goede 0.3.1-1 - Update to upstream 0.3.1 release * Thu Jul 14 2011 Hans de Goede 0.3-1 - Initial Fedora package