[7115] | 1 | Name: usbredir |
---|
| 2 | Version: 0.5.2 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: USB network redirection protocol libraries |
---|
| 5 | Group: System Environment/Libraries |
---|
| 6 | License: LGPLv2+ |
---|
| 7 | URL: http://spice-space.org/page/UsbRedir |
---|
| 8 | Source0: http://spice-space.org/download/%{name}/%{name}-%{version}.tar.bz2 |
---|
| 9 | BuildRequires: libusb1-devel >= 1.0.9 |
---|
| 10 | |
---|
| 11 | %description |
---|
| 12 | The usbredir libraries allow USB devices to be used on remote and/or virtual |
---|
| 13 | hosts over TCP. The following libraries are provided: |
---|
| 14 | |
---|
| 15 | usbredirparser: |
---|
| 16 | A library containing the parser for the usbredir protocol |
---|
| 17 | |
---|
| 18 | usbredirhost: |
---|
| 19 | A library implementing the USB host side of a usbredir connection. |
---|
| 20 | All that an application wishing to implement a USB host needs to do is: |
---|
| 21 | * Provide a libusb device handle for the device |
---|
| 22 | * Provide write and read callbacks for the actual transport of usbredir data |
---|
| 23 | * Monitor for usbredir and libusb read/write events and call their handlers |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %package devel |
---|
| 27 | Summary: Development files for %{name} |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | The %{name}-devel package contains libraries and header files for |
---|
| 33 | developing applications that use %{name}. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %package server |
---|
| 37 | Summary: Simple USB host TCP server |
---|
| 38 | Group: System Environment/Daemons |
---|
| 39 | License: GPLv2+ |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | |
---|
| 42 | %description server |
---|
| 43 | A simple USB host TCP server, using libusbredirhost. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | %configure --disable-static |
---|
| 52 | make %{?_smp_mflags} V=1 |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 57 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %clean |
---|
| 63 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %post -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %postun -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %doc ChangeLog COPYING.LIB README TODO |
---|
| 73 | %{_libdir}/libusbredir*.so.* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %doc usb-redirection-protocol.txt README.multi-thread |
---|
| 77 | %{_includedir}/usbredir*.h |
---|
| 78 | %{_libdir}/libusbredir*.so |
---|
| 79 | %{_libdir}/pkgconfig/libusbredir*.pc |
---|
| 80 | |
---|
| 81 | %files server |
---|
| 82 | %doc COPYING |
---|
| 83 | %{_sbindir}/usbredirserver |
---|
| 84 | %{_mandir}/man1/usbredirserver.1* |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %changelog |
---|
| 88 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.2-1 |
---|
| 89 | - initial build for Vine Linux |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | * Mon Jul 30 2012 Hans de Goede <hdegoede@redhat.com> - 0.4.3-3 |
---|
| 94 | - Add 2 fixes from upstream fixing issues with some bulk devices (rhbz#842358) |
---|
| 95 | |
---|
| 96 | * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-2 |
---|
| 97 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 98 | |
---|
| 99 | * Mon Apr 2 2012 Hans de Goede <hdegoede@redhat.com> - 0.4.3-1 |
---|
| 100 | - Update to upstream 0.4.3 release |
---|
| 101 | |
---|
| 102 | * Tue Mar 6 2012 Hans de Goede <hdegoede@redhat.com> - 0.4.2-1 |
---|
| 103 | - Update to upstream 0.4.2 release |
---|
| 104 | |
---|
| 105 | * Sat Feb 25 2012 Hans de Goede <hdegoede@redhat.com> - 0.4.1-1 |
---|
| 106 | - Update to upstream 0.4.1 release |
---|
| 107 | |
---|
| 108 | * Thu Feb 23 2012 Hans de Goede <hdegoede@redhat.com> - 0.4-1 |
---|
| 109 | - Update to upstream 0.4 release |
---|
| 110 | |
---|
| 111 | * Thu Jan 12 2012 Hans de Goede <hdegoede@redhat.com> - 0.3.3-1 |
---|
| 112 | - Update to upstream 0.3.3 release |
---|
| 113 | |
---|
| 114 | * Tue Jan 3 2012 Hans de Goede <hdegoede@redhat.com> 0.3.2-1 |
---|
| 115 | - Update to upstream 0.3.2 release |
---|
| 116 | |
---|
| 117 | * Wed Aug 24 2011 Hans de Goede <hdegoede@redhat.com> 0.3.1-1 |
---|
| 118 | - Update to upstream 0.3.1 release |
---|
| 119 | |
---|
| 120 | * Thu Jul 14 2011 Hans de Goede <hdegoede@redhat.com> 0.3-1 |
---|
| 121 | - Initial Fedora package |
---|