[mingw-usbredir/f17] Initial import

Marc-André Lureau elmarco at fedoraproject.org
Tue Jul 10 23:40:20 UTC 2012


commit 3ed1fa05f8a3e14c0a4a3c425f5702e0a5ee6fa7
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Mon May 21 20:02:54 2012 +0200

    Initial import

 mingw-usbredir.spec |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/mingw-usbredir.spec b/mingw-usbredir.spec
new file mode 100644
index 0000000..cbd0ff5
--- /dev/null
+++ b/mingw-usbredir.spec
@@ -0,0 +1,68 @@
+%{?mingw_package_header}
+
+Name:           mingw-usbredir
+Version:        0.4.3
+Release:        1%{?dist}
+Summary:        MinGW USB network redirection protocol libraries
+
+License:        LGPLv2+
+URL:            http://spice-space.org/page/UsbRedir
+Source0:        http://spice-space.org/download/usbredir/usbredir-%{version}.tar.bz2
+
+BuildArch:      noarch
+BuildRequires:  mingw32-filesystem >= 95
+BuildRequires:  mingw64-filesystem >= 95
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw64-gcc
+BuildRequires:  mingw32-libusb1 >= 1.0.9
+BuildRequires:  mingw64-libusb1 >= 1.0.9
+
+%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 -n mingw32-usbredir
+Summary:        MinGW USB network redirection protocol libraries
+Requires:       pkgconfig
+
+%description -n mingw32-usbredir
+This package contains the header files and libraries needed to develop
+applications that use usbredir with MinGW.
+
+%{?mingw_debug_package}
+
+
+%prep
+%setup -q -n usbredir-%{version}
+
+
+%build
+%mingw_configure
+%mingw_make %{?_smp_mflags} V=1
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%mingw_make_install "DESTDIR=$RPM_BUILD_ROOT"
+
+
+%files -n mingw32-usbredir
+%defattr(-,root,root)
+%doc ChangeLog COPYING.LIB README TODO 
+
+
+
+%changelog
+* Mon May 21 2012 Marc-André Lureau <marcandre.lureau at redhat.com> - 0.4.3-1
+- Initial Fedora MinGW package.
+


More information about the scm-commits mailing list