Search
j0ke.net Open Build Service
>
Projects
>
oldschool
>
lshw
> lshw-B.02.08.01.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lshw-B.02.08.01.spec of Package lshw (Revision 3)
Currently displaying revision
3
,
show latest
Summary: Hardware lister Name: lshw Version: B.02.08.01 Release: 1 URL: http://ezix.sourceforge.net/software/lshw.html Source: %{name}-%{version}.tar.gz License: GPL Vendor: InterNetX GmbH Packager: InterNetX Package Maintainer <cs@internetx.de> Group: Development/Tools BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gcc gpp %define _pkgdocdir %{_docdir}/%{name} %description lshw (Hardware Lister) is a small tool to provide detailed informaton on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 systems and on some PowerPC machines (PowerMac G4 is known to work). Information can be output in plain text, XML or HTML. %prep %setup -q %build make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR="$RPM_BUILD_ROOT" cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} cat $RPM_BUILD_DIR/file.list.lshw | sed s/"\/man1\/lshw.1"/"\/man1\/lshw.1.gz"/g > $RPM_BUILD_DIR/file.list.%{name}.new %files -f ../file.list.%{name}.new %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf %{_builddir}/%{name}-%{version}