Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37887382
en ru br
ALT Linux repositórios
S:B.02.19.2-alt2.1
5.0: 2.13-alt2
4.1: 2.12-alt1
4.0: 2.10-alt1
3.0: 2.05-alt1

Group :: Sistema/Kernel e hardware
RPM: lshw

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: lshw
Version: 2.05
Release: alt1
%define real_version B.0%version

Summary: Hardware Lister
License: GPL
Group: System/Kernel and hardware

URL: http://ezix.sourceforge.net/software/lshw.html
Source: http://dl.sourceforge.net/ezix/lshw-%real_version.tar.gz

# up-to-date revisions of files included in lshw archive

Source1: oui.txt
Source2: usb.ids

# Automatically added by buildreq on Sat Jun 25 2005

BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel libatk-devel libgtk+2-devel libpango-devel libstdc++-devel pkgconfig

%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.

It currently supports DMI (x86 only), OpenFirmware device tree
(PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only
tested on x86) and SCSI.

%package gui
Summary: Graphical hardware lister
Group: System/Kernel and hardware
Requires: lshw = %version-%release

%description gui
GTK+ front-end to lshw.

%prep
%setup -q -n lshw-%real_version

%build
cp -f %_sourcedir/{oui.txt,usb.ids} src/
%__subst 's/-g -Wall -Os/%optflags/' src/core/Makefile src/gui/Makefile src/Makefile
# weird makefile - parallel build turned off
%__make all gui

%install
%__make install install-gui DESTDIR=%buildroot
%__ln_s -f gtk-lshw %buildroot%_sbindir/lshw-gui

%files
%_sbindir/lshw
%_datadir/lshw
%_man1dir/*

%files gui
%_sbindir/gtk-lshw
%_sbindir/lshw-gui

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009