source: projects/specs/trunk/u/usbredir/usbredir-vl.spec @ 7115

Revision 7115, 3.2 KB checked in by Takemikaduchi, 8 years ago (diff)

QEMU-1.2.0

Line 
1Name:           usbredir
2Version:        0.5.2
3Release:        1%{?_dist_release}
4Summary:        USB network redirection protocol libraries
5Group:          System Environment/Libraries
6License:        LGPLv2+
7URL:            http://spice-space.org/page/UsbRedir
8Source0:        http://spice-space.org/download/%{name}/%{name}-%{version}.tar.bz2
9BuildRequires:  libusb1-devel >= 1.0.9
10
11%description
12The usbredir libraries allow USB devices to be used on remote and/or virtual
13hosts over TCP.  The following libraries are provided:
14
15usbredirparser:
16A library containing the parser for the usbredir protocol
17
18usbredirhost:
19A library implementing the USB host side of a usbredir connection.
20All 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
27Summary:        Development files for %{name}
28Group:          Development/Libraries
29Requires:       %{name} = %{version}-%{release}
30
31%description    devel
32The %{name}-devel package contains libraries and header files for
33developing applications that use %{name}.
34
35
36%package        server
37Summary:        Simple USB host TCP server
38Group:          System Environment/Daemons
39License:        GPLv2+
40Requires:       %{name} = %{version}-%{release}
41
42%description    server
43A simple USB host TCP server, using libusbredirhost.
44
45
46%prep
47%setup -q
48
49
50%build
51%configure --disable-static
52make %{?_smp_mflags} V=1
53
54
55%install
56rm -rf ${RPM_BUILD_ROOT}
57make install DESTDIR=$RPM_BUILD_ROOT
58
59find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
60
61
62%clean
63rm -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
Note: See TracBrowser for help on using the repository browser.