Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37489371
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.14
Release: alt1
%define real_version B.0%version

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Hardware Lister
License: GPLv2 only
Group: System/Kernel and hardware

URL: http://lshw.org
# .... redirects to http://ezix.org/project/wiki/HardwareLiSter
Source: http://ezix.org/software/files/lshw-%real_version.tar.gz
Source100: lshw.png
Source101: lshw.desktop

Patch1: lshw-2.11-guiname.patch
Patch2: lshw-2.13-gcc43.patch

Requires: pciids usbids

# Automatically added by buildreq on Tue Nov 07 2006

BuildRequires: gcc-c++ libgtk+2-devel

%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, on some PowerPC
machines (PowerMac G4 is known to work) and AMD64.

Information can be output in plain text, XML or HTML.

%package gui
Summary: Graphical hardware lister
Group: System/Kernel and hardware
Requires: pciids usbids
# Probably we should now drop this requirements...
Requires: lshw = %version-%release

%description gui
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, on some PowerPC
machines (PowerMac G4 is known to work) and AMD64.

This package provides graphical (GTK+) front-end to lshw.

%prep
%setup -n lshw-%real_version
%patch1 -p1
%patch2 -p1

%build
%__subst 's/-g -Wall -Os/%optflags/' src/core/Makefile src/gui/Makefile src/Makefile
# parallel build seems OK now. let's try...
%make_build all gui

%install
%make_install install install-gui DESTDIR=%buildroot SBINDIR=%_bindir
ln -s -f lshw-gtk %buildroot%_bindir/lshw-gui

install -Dp -m644 %_sourcedir/lshw.png %buildroot%_pixmapsdir/lshw.png
install -Dp -m644 %_sourcedir/lshw.desktop %buildroot%_desktopdir/lshw.desktop

%files
%_bindir/lshw
%exclude %_datadir/lshw/*.txt
%exclude %_datadir/lshw/*.ids
%_man1dir/*

%files gui
%_bindir/lshw-gtk
%_bindir/lshw-gui
%dir %_datadir/lshw
%_datadir/lshw/artwork/
%_pixmapsdir/*
%_desktopdir/*

%changelog

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

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