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