File usbip.spec of Package usbip
#
# spec file for package usbip (Version 0.1.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
BuildRequires: glib2-devel pkg-config sysfsutils
Name: usbip
License: GPL v2 or later
Group: Hardware/Other
Summary: The USB/IP shared USB system over IP network
Version: 0.1.6
Release: 2
Url: http://usbip.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%{version}.tar.bz2
%description
The USB/IP Project aims to develop a general USB device sharing system
over IP network. To share USB devices between computers with their full
functionality, USB/IP encapsulates "USB I/O messages" into IP packets
and transmits them between computers. Original USB device drivers and
applications can be also used for remote USB devices without any
modification of them. A computer can use remote USB devices as if they
were directly attached; for example, we can ...
%package devel
License: GPL v2 or later
Summary: Headers and static libraries
Group: Hardware/Other
%description devel
This package contains headers and static libraries for USB/IP
development
%prep
%setup -q
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%build
cd src
./autogen.sh
%configure
make
%install
cd src
%makeinstall
%files devel
%defattr(-,root,root,-)
%dir /usr/include/usbip
/usr/include/usbip/stub_driver.h
/usr/include/usbip/usbip.h
/usr/include/usbip/usbip_common.h
/usr/include/usbip/vhci_driver.h
%{_libdir}/libusbip.a
%{_libdir}/libusbip.la
%files
%defattr(-,root,root,-)
%dir /usr/share/usbip
%{_bindir}/bind_driver
%{_bindir}/usbaid
%{_bindir}/usbip
%{_bindir}/usbipd
%{_libdir}/libusbip.so
%{_libdir}/libusbip.so.0
%{_libdir}/libusbip.so.0.0.1
/usr/share/usbip/usb.ids
%changelog
* Wed Nov 19 2008 mauro@suse.de
- Adding to SUSE.