1 Summary: Hardware Lister
2 Summary(pl): Narzêdzie wypisuj±ce sprzêt
7 Group: Applications/System
8 Source0: http://dl.sourceforge.net/ezix/%{name}-%{version}.tar.gz
9 # Source0-md5: aae1be6bc0b76408b7174e2277382d23
10 URL: http://ezix.sourceforge.net/software/lshw.html
11 BuildRequires: libstdc++-devel
12 BuildRequires: gtk+2-devel
13 BuildRequires: pkgconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 lshw (Hardware Lister) is a small tool to provide detailed informaton
19 on the hardware configuration of the machine. It can report exact
20 memory configuration, firmware version, mainboard configuration, CPU
21 version and speed, cache configuration, bus speed, etc. on DMI-capable
22 x86 systems and on some PowerPC machines (PowerMac G4 is known to
25 Information can be output in plain text, XML or HTML.
27 It currently supports DMI (x86 only), OpenFirmware device tree
28 (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only
29 tested on x86) and SCSI.
32 lshw (Hardware Lister) to ma³e narzêdzie maj±ce udostêpniæ szczegó³owe
33 informacje dotycz±ce sprzêtowej konfiguracji maszyny. Mo¿e okre¶liæ
34 dok³adn± konfiguracjê pamiêci, wersjê firmware, konfiguracjê p³yty
35 g³ównej, wersjê i szybko¶æ CPU, konfiguracjê cache, szybko¶æ szyny
36 itp. na systemach x86 obs³uguj±cych DMI oraz niektórych maszynach
37 PowerPC (wiadomo, ¿e dzia³a na PowerMacu G4).
39 Informacje mog± byæ podawane jako czysty tekst, XML lub HTML.
41 Aktualnie program obs³uguje DMI (tylko x86), drzewo urz±dzeñ
42 OpenFirmware (tylko PowerPC), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI,
43 PCMCIA (testowane tylko na x86) oraz SCSI.
46 Summary: GTK+ version of lshw
47 Summary(pl): lshw w wersji GTK+
48 Group: Applications/System
54 %description gtk -l pl
63 CXXFLAGS="%{rpmcflags} -I./core"
67 CXXFLAGS="%{rpmcflags} -I../core `pkg-config --cflags gtk+-2.0`"
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
74 DESTDIR=$RPM_BUILD_ROOT
76 %{__make} install-gui \
77 DESTDIR=$RPM_BUILD_ROOT
80 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc docs/TODO docs/Changelog docs/lshw.xsd
85 %attr(755,root,root) %{_sbindir}/%{name}
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_sbindir}/gtk-%{name}