Blame SPECS/usbredir.spec

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