]> git.pld-linux.org Git - packages/usbip.git/blame - usbip.spec
- see kernel-tools for up to date versions
[packages/usbip.git] / usbip.spec
CommitLineData
465d9b96 1# NOTE: sources at sourceforge are outdated; now this project is maintained (and built) as part of kernel-tools
4112f397 2Summary: USB device sharing system over IP network
dbda6434 3Summary(pl.UTF-8): System współdzielenia urządzeń USB po sieci IP
4112f397 4Name: usbip
5Version: 0.1.7
465d9b96 6Release: 1.1
4112f397 7License: GPL v2
2a83beb0 8Group: Networking/Utilities
dbda6434 9Source0: http://downloads.sourceforge.net/usbip/%{name}-%{version}.tar.gz
4112f397 10# Source0-md5: d1094b6d4449787864f8be001639232c
11URL: http://usbip.sourceforge.net/
dbda6434
JB
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake >= 1:1.9
14BuildRequires: gcc >= 6:4.0
15BuildRequires: glib2-devel >= 1:2.6.0
2a83beb0
TP
16BuildRequires: libtool
17BuildRequires: libwrap-devel
dbda6434 18BuildRequires: pkgconfig >= 1:0.9.0
2a83beb0 19BuildRequires: sysfsutils-devel >= 2.0.0
dbda6434
JB
20Requires: %{name}-libs = %{version}-%{release}
21# /lib/hwdata/usb.ids (note: only uncompressed file supported)
22Requires: hwdata >= 0.243-2
2a83beb0 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4112f397 24
25%description
26The USB/IP Project aims to develop a general USB device sharing system
27over IP network. To share USB devices between computers with their
28full functionality, USB/IP encapsulates "USB requests" into IP packets
29and transmits them between computers. Original USB device drivers and
30applications can be also used for remote USB devices without any
31modification of them. A computer can use remote USB devices as if they
32were directly attached; for example, we can:
33 - USB storage devices: fdisk, mkfs, mount/umount, file operations,
34 play a DVD movie and record a DVD-R media.
dbda6434 35 - USB keyboards and USB mice: use with Linux console and X Window
4112f397 36 System.
37 - USB webcams and USB speakers: view webcam, capture image data and
38 play some music.
39 - USB printers, USB scanners, USB serial converters and USB Ethernet
40 interfaces: ok, use fine.
41
dbda6434
JB
42%description -l pl.UTF-8
43Projekt USB/IP ma na celu stworzenie ogólnego systemu współdzielenia
44urządzeń USB po sieci IP. W celu współdzielenia urządzeń USB między
45komputerami z zachowaniem pełnej funkcjonalności, USB/IP obudowuje
46żądania SUB w pakiety IP i przesyła je między komputerami. Oryginalne
47sterowniki urządzeń USB oraz aplikacje mogą być używane bez żadnych
48modyfikacji. Komputer może wykorzystywać zdaln urządzenia USB tak,
49jakby były podłączone bezpośrednio. Przykładowe możliwości:
50 - urządzenia USB do przechowywania danych: można używać programów
51 fdisk, mkfs, mount/umount, operacji na plikach, odtwarzać filmy
52 DVD oraz nagrywać nośniki DVD-R
53 - klawiatury i myszy USB: można ich używać na linuksowej konsoli oraz
54 w systemie X Window
55 - kamery i głośniki USB: można oglądać obraz z kamery, robić zdjęcia
56 i odtwarzać muzykę
57 - drukarki, skanery, konwertery portów szeregowych oraz interfejsy
58 sieciowe USB: można ich normalnie używać
4112f397 59
2a83beb0
TP
60%package libs
61Summary: USB/IP library
dbda6434 62Summary(pl.UTF-8): Biblioteka USB/IP
2a83beb0
TP
63Group: Libraries
64
65%description libs
66USB over IP library.
67
dbda6434
JB
68%description libs -l pl.UTF-8
69Biblioteka USB po IP.
70
71%package devel
72Summary: Header files for usbip library
73Summary(pl.UTF-8): Pliki nagłówkowe biblioteki usbip
74Group: Development/Libraries
75Requires: %{name}-libs = %{version}-%{release}
76
77%description devel
78This package contains the header files needed to develop programs
79which make use of USB/IP.
80
81%description devel -l pl.UTF-8
82Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
83wykorzystujących USB/IP.
84
4112f397 85%package static
86Summary: Static usbip library
87Summary(pl.UTF-8): Statyczna biblioteka usbip
88Group: Development/Libraries
89Requires: %{name}-devel = %{version}-%{release}
90
91%description static
92Static usbip library.
93
94%description static -l pl.UTF-8
95Statyczna biblioteka usbip.
96
4112f397 97%prep
98%setup -q
99
100%build
101cd src
102%{__libtoolize}
103%{__aclocal}
104%{__autoconf}
105%{__autoheader}
106%{__automake}
dbda6434
JB
107%configure \
108 --disable-usbids-install \
109 --with-usbids-dir=/lib/hwdata
4112f397 110%{__make}
111
112%install
113rm -rf $RPM_BUILD_ROOT
2a83beb0 114
4112f397 115%{__make} install -C src \
116 DESTDIR=$RPM_BUILD_ROOT
117
dbda6434 118%{__rm} $RPM_BUILD_ROOT%{_libdir}/libusbip.la
2a83beb0 119
4112f397 120%clean
121rm -rf $RPM_BUILD_ROOT
122
2a83beb0
TP
123%post libs -p /sbin/ldconfig
124%postun libs -p /sbin/ldconfig
4112f397 125
126%files
127%defattr(644,root,root,755)
dbda6434 128%doc src/{AUTHORS,README}
4112f397 129%attr(755,root,root) %{_bindir}/bind_driver
dbda6434
JB
130%attr(755,root,root) %{_bindir}/usbip
131%attr(755,root,root) %{_bindir}/usbipd
4112f397 132
133%files devel
134%defattr(644,root,root,755)
dbda6434
JB
135%attr(755,root,root) %{_libdir}/libusbip.so
136%{_includedir}/usbip
4112f397 137
2a83beb0 138%files libs
2a83beb0 139%defattr(644,root,root,755)
dbda6434
JB
140%doc NEWS README
141%attr(755,root,root) %{_libdir}/libusbip.so.*.*.*
142%attr(755,root,root) %ghost %{_libdir}/libusbip.so.0
2a83beb0 143
4112f397 144%files static
145%defattr(644,root,root,755)
dbda6434 146%{_libdir}/libusbip.a
This page took 0.050797 seconds and 4 git commands to generate.