1 Summary: USB device sharing system over IP network
6 Group: Networking/Utilities
7 Source0: http://dl.sourceforge.net/usbip/%{name}-%{version}.tar.gz
8 # Source0-md5: d1094b6d4449787864f8be001639232c
9 URL: http://usbip.sourceforge.net/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: glib2-devel >= 2.6.0
13 BuildRequires: libtool
14 BuildRequires: libwrap-devel
15 BuildRequires: pkgconfig >= 0.9.0
16 BuildRequires: sysfsutils-devel >= 2.0.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The USB/IP Project aims to develop a general USB device sharing system
21 over IP network. To share USB devices between computers with their
22 full functionality, USB/IP encapsulates "USB requests" into IP packets
23 and transmits them between computers. Original USB device drivers and
24 applications can be also used for remote USB devices without any
25 modification of them. A computer can use remote USB devices as if they
26 were directly attached; for example, we can:
27 - USB storage devices: fdisk, mkfs, mount/umount, file operations,
28 play a DVD movie and record a DVD-R media.
29 - USB keyboards and USB mice: use with linux console and X Window
31 - USB webcams and USB speakers: view webcam, capture image data and
33 - USB printers, USB scanners, USB serial converters and USB Ethernet
34 interfaces: ok, use fine.
37 Summary: Development files for usbip
38 Group: Development/Libraries
39 Requires: %{name}-libs = %{version}-%{release}
42 This package contains the libraries and header files needed to develop
43 programs which make use of usbip.
46 Summary: USB/IP library
53 Summary: Static usbip library
54 Summary(pl.UTF-8): Statyczna biblioteka usbip
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
61 %description static -l pl.UTF-8
62 Statyczna biblioteka usbip.
78 rm -rf $RPM_BUILD_ROOT
80 %{__make} install -C src \
81 DESTDIR=$RPM_BUILD_ROOT
83 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib%{name}.la
86 rm -rf $RPM_BUILD_ROOT
88 %post libs -p /sbin/ldconfig
89 %postun libs -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc src/AUTHORS src/README
94 %attr(755,root,root) %{_bindir}/bind_driver
95 %attr(755,root,root) %{_bindir}/%{name}*
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib%{name}.so
101 %{_includedir}/%{name}
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.0
110 %defattr(644,root,root,755)
111 %{_libdir}/lib%{name}.a