Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042922
en ru br
Репозитории ALT
S:B.02.19.2-alt2.1
5.1: 2.14-alt1
4.1: 2.12-alt1
4.0: 2.10-alt1
3.0: 2.05-alt1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: lshw

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin