7
Source: http://usb.cs.tum.edu/download/%{name}-%{version}.tar.gz
9
Buildroot: /tmp/%{name}-%{version}-root
11
Summary: Linux USB utilities.
12
Group: Applications/System
13
BuildPrereq: libusb-devel
16
This package contains an utility for inspecting
17
devices connected to an USB bus.
19
It requires kernel version 2.3.99-pre7 or newer (supporting
20
the /proc/bus/usb interface).
26
CFLAGS="$RPM_OPT_FLAGS -Wall" ./configure --prefix=/usr --datadir=/usr/share --sbindir=/sbin
30
rm -rf $RPM_BUILD_ROOT
31
make DESTDIR=$RPM_BUILD_ROOT install
32
#install -d $RPM_BUILD_ROOT/{sbin,/usr/man/man8,/usr/share}
34
#install -s lsusb $RPM_BUILD_ROOT/sbin
35
#install lsusb.8 $RPM_BUILD_ROOT/usr/man/man8
36
#install usb.ids $RPM_BUILD_ROOT/usr/share
39
%defattr(0644, root, root, 0755)
40
%attr(0644, root, man) /usr/man/man8/lsusb.8.*
41
%attr(0711, root, root) /sbin/lsusb
42
%config /usr/share/usb.ids
43
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
46
rm -rf $RPM_BUILD_ROOT
49
* Mon Jun 17 2002 Thomas Sailer <t.sailer@alumni.ethz.ch>
51
- Patch from Ambrose Li <a.c.li@ieee.org>
53
* Fri Nov 23 2001 Thomas Sailer <t.sailer@alumni.ethz.ch>
55
- no longer package usbmodules, as it conflicts with hotplug from RedHat 7.2
57
* Tue Jun 12 2001 Thomas Sailer <t.sailer@alumni.ethz.ch>
60
* Tue Sep 14 1999 Thomas Sailer <sailer@ife.ee.ethz.ch>