1 Summary: USB device sharing system over IP network
2 Summary(pl.UTF-8): System współdzielenia urządzeń USB po sieci IP
7 Group: Networking/Utilities
8 Source0: http://downloads.sourceforge.net/usbip/%{name}-%{version}.tar.gz
9 # Source0-md5: d1094b6d4449787864f8be001639232c
10 URL: http://usbip.sourceforge.net/
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake >= 1:1.9
13 BuildRequires: gcc >= 6:4.0
14 BuildRequires: glib2-devel >= 1:2.6.0
15 BuildRequires: libtool
16 BuildRequires: libwrap-devel
17 BuildRequires: pkgconfig >= 1:0.9.0
18 BuildRequires: sysfsutils-devel >= 2.0.0
19 Requires: %{name}-libs = %{version}-%{release}
20 # /lib/hwdata/usb.ids (note: only uncompressed file supported)
21 Requires: hwdata >= 0.243-2
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The USB/IP Project aims to develop a general USB device sharing system
26 over IP network. To share USB devices between computers with their
27 full functionality, USB/IP encapsulates "USB requests" into IP packets
28 and transmits them between computers. Original USB device drivers and
29 applications can be also used for remote USB devices without any
30 modification of them. A computer can use remote USB devices as if they
31 were directly attached; for example, we can:
32 - USB storage devices: fdisk, mkfs, mount/umount, file operations,
33 play a DVD movie and record a DVD-R media.
34 - USB keyboards and USB mice: use with Linux console and X Window
36 - USB webcams and USB speakers: view webcam, capture image data and
38 - USB printers, USB scanners, USB serial converters and USB Ethernet
39 interfaces: ok, use fine.
41 %description -l pl.UTF-8
42 Projekt USB/IP ma na celu stworzenie ogólnego systemu współdzielenia
43 urządzeń USB po sieci IP. W celu współdzielenia urządzeń USB między
44 komputerami z zachowaniem pełnej funkcjonalności, USB/IP obudowuje
45 żądania SUB w pakiety IP i przesyła je między komputerami. Oryginalne
46 sterowniki urządzeń USB oraz aplikacje mogą być używane bez żadnych
47 modyfikacji. Komputer może wykorzystywać zdaln urządzenia USB tak,
48 jakby były podłączone bezpośrednio. Przykładowe możliwości:
49 - urządzenia USB do przechowywania danych: można używać programów
50 fdisk, mkfs, mount/umount, operacji na plikach, odtwarzać filmy
51 DVD oraz nagrywać nośniki DVD-R
52 - klawiatury i myszy USB: można ich używać na linuksowej konsoli oraz
54 - kamery i głośniki USB: można oglądać obraz z kamery, robić zdjęcia
56 - drukarki, skanery, konwertery portów szeregowych oraz interfejsy
57 sieciowe USB: można ich normalnie używać
60 Summary: USB/IP library
61 Summary(pl.UTF-8): Biblioteka USB/IP
67 %description libs -l pl.UTF-8
71 Summary: Header files for usbip library
72 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki usbip
73 Group: Development/Libraries
74 Requires: %{name}-libs = %{version}-%{release}
77 This package contains the header files needed to develop programs
78 which make use of USB/IP.
80 %description devel -l pl.UTF-8
81 Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
82 wykorzystujących USB/IP.
85 Summary: Static usbip library
86 Summary(pl.UTF-8): Statyczna biblioteka usbip
87 Group: Development/Libraries
88 Requires: %{name}-devel = %{version}-%{release}
93 %description static -l pl.UTF-8
94 Statyczna biblioteka usbip.
107 --disable-usbids-install \
108 --with-usbids-dir=/lib/hwdata
112 rm -rf $RPM_BUILD_ROOT
114 %{__make} install -C src \
115 DESTDIR=$RPM_BUILD_ROOT
117 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libusbip.la
120 rm -rf $RPM_BUILD_ROOT
122 %post libs -p /sbin/ldconfig
123 %postun libs -p /sbin/ldconfig
126 %defattr(644,root,root,755)
127 %doc src/{AUTHORS,README}
128 %attr(755,root,root) %{_bindir}/bind_driver
129 %attr(755,root,root) %{_bindir}/usbip
130 %attr(755,root,root) %{_bindir}/usbipd
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/libusbip.so
138 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_libdir}/libusbip.so.*.*.*
141 %attr(755,root,root) %ghost %{_libdir}/libusbip.so.0
144 %defattr(644,root,root,755)
145 %{_libdir}/libusbip.a