]> git.pld-linux.org Git - SPECS.git/blob - lshwd.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / lshwd.spec
1 Summary:        Lists hardware devices and their approp modules
2 Name:           lshwd
3 Version:        1.1.3
4 Release:        0.1
5 License:        GPL v2
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)
14
15 %description
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.
21
22 %prep
23 %setup -q
24
25 %build
26 %{__make} \
27         CC="%{__cc}" \
28         CFLAGS="%{rpmcflags} -I. -I%{_kernelsrcdir}"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_sbindir}
33 install lshwd $RPM_BUILD_ROOT%{_sbindir}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
This page took 0.420711 seconds and 3 git commands to generate.