usbredir-vl.spec 3.2 KB

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