From 1ebfb650583fe7a94d972f1542729bb71869487f Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:29:32 +0100 Subject: [PATCH] automatic update by autodist [release B.02.17-1mamba;Tue Aug 06 2013] --- README.md | 5 ++ lshw-B.02.13-gcc43.patch | 11 +++++ lshw-desktop | 14 ++++++ lshw-icon | Bin 0 -> 3196 bytes lshw.spec | 98 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 128 insertions(+) create mode 100644 lshw-B.02.13-gcc43.patch create mode 100644 lshw-desktop create mode 100644 lshw-icon create mode 100644 lshw.spec diff --git a/README.md b/README.md index 35c57dc..525aabe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # lshw +lshw (Hardware Lister) is a small tool to provide detailed information 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 or EFI (IA-64) systems and on some PowerPC machines (PowerMac G4 is known to work). + +Information can be output in plain text, XML or HTML. + diff --git a/lshw-B.02.13-gcc43.patch b/lshw-B.02.13-gcc43.patch new file mode 100644 index 0000000..ec597d7 --- /dev/null +++ b/lshw-B.02.13-gcc43.patch @@ -0,0 +1,11 @@ +diff -Nru lshw-B.02.13.orig/src/core/abi.cc lshw-B.02.13/src/core/abi.cc +--- lshw-B.02.13.orig/src/core/abi.cc 2008-05-09 22:32:50.000000000 +0200 ++++ lshw-B.02.13/src/core/abi.cc 2008-12-08 19:05:27.000000000 +0100 +@@ -9,6 +9,7 @@ + #include "osutils.h" + #include + #include ++#include + + __ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $"); + diff --git a/lshw-desktop b/lshw-desktop new file mode 100644 index 0000000..ebb9aaf --- /dev/null +++ b/lshw-desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=Hardware Lister +GenericName=Browse hardware on host computer +GenericName[it]=Elenca l'hardware del computer +Encoding=UTF-8 +MultipleArgs=false +Terminal=false +Icon=lshw +Exec=gtk-lshw +Type=Application +StartupNotify=false +Categories=System; +X-KDE-SubstituteUID=true +X-KDE-Username=root diff --git a/lshw-icon b/lshw-icon new file mode 100644 index 0000000000000000000000000000000000000000..7344f42c5252479cb0ab24d7a56b88ffb69af4e7 GIT binary patch literal 3196 zcmV-?41@EDP)9+s?3<*g@ zK~#9!?VEd8RAnB=KWCU>Z~(a~kl-SS;tdfWObuI1MZ0Jhv)o71G_~3;tER5qtZcW~ z$1=9fw9@sGn^tP&rlh3SR!F4?EE0G@0u+?tHUk3#%*_7ro|y&&1!RVL-0$<8XJ*cO z&il^yci#8+{%%LY@dyUS0MS4s5DEkUK7d-j#t2jb7l8sG7svpP0>%8sAjyQ+%0w*J zc;w1`jgkBA@;}>E@CFtDi+~9G26r_?^@E{(AuJGre8JZP++0O_eFId~KuHDUmqK2K)g$d%)ZYurL9lLc4aVW);AD2Vv_W(AU{cYk^h3 zJAm1l0*C;%0Am4qYGCm+ark&RR>4%(K+;}u=nS^gslbEs5^=ZyW&`U14@rVK;~{Y_ z1o}8v)0S4k%B`^N2w240r~w`YwmV7yF2EXKF(3u|!9V{5lcKwK%Sp+A`G1Gva*%h8 zBw#sU>Pi8qfqwzh0j9*j_NTzl^VhNOmg`~m>+nUo?bL2ymTX^K^{KXp{2t&=fF;vl z%VKbMb38GVMM-s2Z<;Kws1@~XUZ+vRA8rP{0n+jS7!1V7f-qgn3~&KH1g1+8yz&67 zyw~x>Ehso%oj`{E7K~;M0A9*6V!ie=(EZ0N-kZ1!o_XJ<7j^^pUr7j8n*px_^8sF+ z;~erJaj1L_nfmecb<1U>*Fl2aPE*+w$bsB2QocLQsPJ0Us@Ct08w_d{9LluK1W({V zX9O@C_!}TCnFcSL-4tTIl8N`-fxqi{0@MWz@;J(WemG6Kb_5|FMT7^m zJ+tEmgRa)L97Y3Yfvk=!fe0WS@R$+7y6>{(rtf5(j`Grav>3|kLh-WKR1ILUZi=6aa`763gxdo;V) zsqj`_l9gdt$MuH}wtP{+n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8aok0{K zb{4nCifruBJfRQlabKJ;d`c^AaXE)$ZX6|a36)&DdW`Q8DuM8t=Oz-RLMi8z!gDljKTJKu|I&zfJhN!S-wiyToW zd_`-cJ=NkSS(1Z*!D)H$!ztm*cP2#cC~bdlqHWDvpZxuFQMtUm5Ilj=XG)Mh_*zt3 zga>vn`IHQ}^+ia}x6RljdD^$j&iwx?Go2j&x_)WO-io|#Uz@YXb^GFEOZ+BZopl7R i+n1-?!ms-E`Tqg#wQ +URL: http://ezix.org/project/wiki/HardwareLiSter +Source: http://ezix.org/software/files/lshw-%{version}.tar.gz +Source1: %{name}-icon +Source2: %{name}-desktop +Patch0: %{name}-B.02.13-gcc43.patch +License: GPL +BuildRequires: desktop-file-utils +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +lshw (Hardware Lister) is a small tool to provide detailed information 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 or EFI (IA-64) systems and on some PowerPC machines (PowerMac G4 is known to work). + +Information can be output in plain text, XML or HTML. + +%package gui +Summary: Hardware Lister GUI +Group: Graphical Desktop/Applications/Administration +BuildRequires: libgtk-devel +Requires: %{name} >= %{?epoch:%epoch:}%{version}-%{release} +Requires: libgtk + +%description gui +lshw (Hardware Lister) is a small tool to provide detailed information 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 or EFI (IA-64) systems and on some PowerPC machines (PowerMac G4 is known to work). + +This package provides a graphical user interface to display hardware information. + +%prep +%setup -q +%patch0 -p1 + +%build +%make gui +%make -C src nologo + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall install-gui + +# install icon +install -D -m 0644 %{S:1} \ + %{buildroot}%{_datadir}/icons/crystalsvg/64x64/apps/%{name}.png + +# install desktop file +install -D -m 0644 %{S:2} \ + %{buildroot}%{_datadir}/applications/%{name}.desktop + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sbindir}/%{name} +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/*.txt +%{_datadir}/%{name}/*.ids +%{_mandir}/man1/* +%doc COPYING +# README docs/TODO docs/Changelog docs/lshw.xsd + +%files gui +%defattr(-,root,root) +%{_sbindir}/gtk-%{name} +%{_datadir}/%{name}/artwork +%dir %{_datadir}/%{name}/ui/ +%{_datadir}/%{name}/ui/gtk-lshw.ui +%{_datadir}/icons/crystalsvg/*/apps/%{name}.png +%{_datadir}/applications/%{name}.desktop + +%changelog +* Tue Aug 06 2013 Automatic Build System B.02.17-1mamba +- automatic update by autodist + +* Wed Jan 25 2012 Automatic Build System B.02.16-1mamba +- automatic version update by autodist + +* Mon Oct 25 2010 Automatic Build System B.02.15-1mamba +- automatic update by autodist + +* Wed Feb 25 2009 Silvan Calarco B.02.14-1mamba +- automatic update by autodist + +* Mon Dec 08 2008 Silvan Calarco B.02.13-1mamba +- automatic update by autodist + +* Sun Nov 18 2007 Stefano Cotta Ramusino B.02.12.01-1mamba +- package created by autospec