Group :: System/Libraries
RPM: usbredir
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
Name: usbredir
Version: 0.13.0
Release: alt1
Summary: USB network redirection protocol libraries
Group: System/Libraries
License: LGPLv2+
Url: http://gitlab.freedesktop.org/spice/usbredir
Source: %name-%version.tar
BuildRequires(pre): meson
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.9
BuildRequires: pkgconfig(glib-2.0) >= 2.44 pkgconfig(gio-unix-2.0) >= 2.44
%description
usbredir is a protocol for redirection USB traffic from a single USB device,
to a different (virtual) machine then the one to which the USB device is
attached. This package contains a number of libraries to help implementing
support for usbredir:
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 an 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 -n lib%name
Summary: USB network redirection protocol libraries
Group: System/Libraries
License: LGPLv2+
%description -n lib%name
usbredir is a protocol for redirection USB traffic from a single USB device,
to a different (virtual) machine then the one to which the USB device is
attached. This package contains a number of libraries to help implementing
support for usbredir:
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 an 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 -n lib%name-devel
Summary: Development files for %name
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
The lib%name-devel package contains libraries and header files for
developing applications that use %name.
%package tools
Summary: usbredir utility tools
Group: Networking/Other
License: GPLv2+
Requires: lib%name = %version-%release
%description tools
Includes usbredirect that uses libusbredirhost to export an USB device for use
in another (virtual) machine
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%files -n lib%name
%doc README.md ChangeLog.md
%_libdir/*.so.*
%files -n lib%name-devel
%doc docs/usb-redirection-protocol.md docs/multi-thread.md
%_includedir/*.h
%_libdir/*.so
%_pkgconfigdir/*.pc
%files tools
%_bindir/usbredirect
%_man1dir/usbredirect.1*
%changelog
…
Full changelog you can see here
Name: usbredir
Version: 0.13.0
Release: alt1
Summary: USB network redirection protocol libraries
Group: System/Libraries
License: LGPLv2+
Url: http://gitlab.freedesktop.org/spice/usbredir
Source: %name-%version.tar
BuildRequires(pre): meson
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.9
BuildRequires: pkgconfig(glib-2.0) >= 2.44 pkgconfig(gio-unix-2.0) >= 2.44
%description
usbredir is a protocol for redirection USB traffic from a single USB device,
to a different (virtual) machine then the one to which the USB device is
attached. This package contains a number of libraries to help implementing
support for usbredir:
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 an 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 -n lib%name
Summary: USB network redirection protocol libraries
Group: System/Libraries
License: LGPLv2+
%description -n lib%name
usbredir is a protocol for redirection USB traffic from a single USB device,
to a different (virtual) machine then the one to which the USB device is
attached. This package contains a number of libraries to help implementing
support for usbredir:
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 an 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 -n lib%name-devel
Summary: Development files for %name
Group: Development/C
Requires: lib%name = %version-%release
%description -n lib%name-devel
The lib%name-devel package contains libraries and header files for
developing applications that use %name.
%package tools
Summary: usbredir utility tools
Group: Networking/Other
License: GPLv2+
Requires: lib%name = %version-%release
%description tools
Includes usbredirect that uses libusbredirhost to export an USB device for use
in another (virtual) machine
%prep
%setup
%build
%meson
%meson_build
%install
%meson_install
%files -n lib%name
%doc README.md ChangeLog.md
%_libdir/*.so.*
%files -n lib%name-devel
%doc docs/usb-redirection-protocol.md docs/multi-thread.md
%_includedir/*.h
%_libdir/*.so
%_pkgconfigdir/*.pc
%files tools
%_bindir/usbredirect
%_man1dir/usbredirect.1*
%changelog
…
Full changelog you can see here