Blame SPECS/usbredir.spec

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