1 Summary: Lists hardware devices and their approp modules
6 Group: Applications/System
7 Source0: http://user-contributions.org/projects/lshwd/source/%{name}-%{version}.tar.gz
8 # Source0-md5: 493ae06aada341f0bde063aab3c4167f
9 URL: http://user-contributions.org/projects/lshwd/
10 BuildRequires: kernel-headers
11 BuildRequires: libusb-devel
12 BuildRequires: pciutils-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 lshwd - lists hardware devices and their approp modules. currently
17 supports pci, usb, pcmcia, and firewire devices. lshwd uses pcitable &
18 usbtable files (can be located at same directory or /usr/share/hwdata)
19 for displaying extended description and module names. module names are
20 then parsed for generic names and changes accordingly.
28 CFLAGS="%{rpmcflags} -I. -I%{_kernelsrcdir}"
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_sbindir}
33 install lshwd $RPM_BUILD_ROOT%{_sbindir}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)