From f32f0658f474422eb7b87e4f01c32990641f2d03012d85e460babfb77e5d842a Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 27 Nov 2024 08:16:15 +0000 Subject: [PATCH] - Update to version B.02.20 (jsc#9912): OBS-URL: https://build.opensuse.org/package/show/hardware/lshw?expand=0&rev=73 --- .gitattributes | 23 +++ .gitignore | 1 + _service | 15 ++ _servicedata | 4 + lshw-B.02.20.obscpio | 3 + lshw.changes | 355 +++++++++++++++++++++++++++++++++++++++++++ lshw.desktop.in | 12 ++ lshw.obsinfo | 4 + lshw.png | 3 + lshw.spec | 128 ++++++++++++++++ 10 files changed, 548 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 lshw-B.02.20.obscpio create mode 100644 lshw.changes create mode 100644 lshw.desktop.in create mode 100644 lshw.obsinfo create mode 100644 lshw.png create mode 100644 lshw.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..dab77de --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/lyonel/lshw.git + git + enable + refs/tags/B.02.20 + B.02.20 + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b25fb38 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/lyonel/lshw.git + 4c6497c8b0a67cd9fa9693e9101a7cafd3297e81 \ No newline at end of file diff --git a/lshw-B.02.20.obscpio b/lshw-B.02.20.obscpio new file mode 100644 index 0000000..4db005e --- /dev/null +++ b/lshw-B.02.20.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3786bc006fadd1fdc507c0ea2ccd1ab346203be9239746ffbffa64f3a7cb3087 +size 9093133 diff --git a/lshw.changes b/lshw.changes new file mode 100644 index 0000000..1658f97 --- /dev/null +++ b/lshw.changes @@ -0,0 +1,355 @@ +------------------------------------------------------------------- +Tue Feb 13 12:37:05 UTC 2024 - Martin Pluskal + +- Update to version B.02.20 (jsc#9912): + * update changelog + * update data files + * get rid of GTK deprecation warning + * get rid of some snprintf warnings + * Add support for 100Gbit interfaces + +------------------------------------------------------------------- +Tue Nov 28 11:52:37 UTC 2023 - Martin Pluskal + +- Update to version B.02.19.2+git.20231115: + * merge github PR #98 + +------------------------------------------------------------------- +Thu Mar 23 08:23:33 UTC 2023 - Martin Pluskal + +- Update to version B.02.19.2+git.20230320 (bsc#1209531): + * fix NVMe multipath detection + * NVMe: fix logical name with native multipath + +------------------------------------------------------------------- +Thu Nov 24 12:10:56 UTC 2022 - Martin Pluskal + +- Update to version B.02.19.2+git.20220831: + * PA-RISC: handle pushd failure + +------------------------------------------------------------------- +Tue Jul 26 09:52:22 UTC 2022 - Martin Pluskal + +- Update to version B.02.19.2+git.20220628 (jsc#526): + * make version check optional + +------------------------------------------------------------------- +Mon Mar 28 07:25:10 UTC 2022 - Martin Pluskal + +- Update to version B.02.19.2+git.20220310: + * Github PR85 Set product name for all netdevs sharing the same PCI number + +------------------------------------------------------------------- +Fri Jan 21 12:34:33 UTC 2022 - Martin Pluskal + +- Update to version B.02.19.2+git.20211222: + * Add Spanish translation + * Fix mistakes in Catalan translation + +------------------------------------------------------------------- +Thu Nov 11 13:56:34 UTC 2021 - Martin Pluskal + +- Update to version B.02.19.2+git.20211102: + * merge Github PR#77 + * use max (9) Gzip compression + * Add Catalan translation + * Update POT file + * Add more network speeds + +------------------------------------------------------------------- +Thu Oct 14 10:44:03 UTC 2021 - Martin Pluskal + +- Update to version B.02.19.2+git.20211013: + * add some includes + * fix typo + * cosmetic fixes + * support for new ethtool capabilities + * code clean-up + * code clean-up + * allow pkg-config override + * allow pkg-config override + * Remove unnecessary space before closing parenthesis + * Translate all words of a phrase together + * Fix another typo + +------------------------------------------------------------------- +Wed Aug 4 08:21:46 UTC 2021 - Martin Pluskal + +- Update versioning to to allow easy transition on SLE +- Disable parallel build to avoid random failures + +------------------------------------------------------------------- +Thu Jun 24 08:15:40 UTC 2021 - Martin Pluskal + +- Update to version B.02.19+git.20210619: + * Fix typos in translatable messages +- jsc#SLE-19399 + +------------------------------------------------------------------- +Wed May 26 09:43:10 UTC 2021 - Martin Pluskal + +- Update to version B.02.19+git.20210429: + * Fix getting size of memory banks <32GiB + * devtree: Add UUID property + * code clean-up + * improve portability (esp. musl) + * fix potential crash + * add static target to Makefile + * Avoid crash on device-tree parsing + * Add JEDEC manufacturer + * Report correct memory size on SMBIOS < 2.7 + * fix man page after previous update +- Drop no longer needed patches: + * lshw-fix-segfault-in-apfs-volume-code.patch + * lshw-fix-mmc.patch + * lshw-fix-ppc.patch + * lshw-devtree-Add-UUID-property.patch + +------------------------------------------------------------------- +Tue Jan 26 15:38:36 UTC 2021 - Michal Suchanek + +- Display UUID on Power VM LPAR (bsc#1181411 ltc#191040) + * lshw-devtree-Add-UUID-property.patch + +------------------------------------------------------------------- +Mon Aug 31 08:34:41 UTC 2020 - Martin Pluskal + +- Fix detection of ppc products - boo#1172156 + * lshw-fix-ppc.patch + +------------------------------------------------------------------- +Fri Apr 24 13:15:19 UTC 2020 - Guillaume GARDET + +- Reenable LTO for powerpc and aarch64 +- Fix PowerPC and aarch64 LTO: boo#1168865 and boo#1169668 + * lshw-fix-segfault-in-apfs-volume-code.patch +- Fix aarch64 SIGABRT: (boo#1169668) + * lshw-fix-mmc.patch + +------------------------------------------------------------------- +Thu Apr 23 12:16:28 UTC 2020 - Michel Normand + +- Disable LTO for aarch64 & PowerPC, bypass boo#1168865 + +------------------------------------------------------------------- +Mon Mar 30 06:49:19 UTC 2020 - Martin Pluskal + +- Update to version B.02.19.2: + * New release tagged, no significant changes from previous + version (git snapsho) +- Drop no longer needed patches: + * lshw-display-latest-version.patch + * lshw-add-notime-option-to-manpage.patch + * lshw-nvme.patch + +------------------------------------------------------------------- +Mon Mar 16 12:14:54 UTC 2020 - Martin Pluskal + +- Update to version B.02.18+git.20191228: + * fix #755: handle invalid FAT + * code clean-up + * volumes: Add support for detecting Apple APFS fstype + * partitions: Add Apple APFS GUID + * specfile: Fix version issue + * Do not show modified time with -notime option + * Update help message and man page +- Drop upstreamed patches: + * lshw-help-man.patch + * lshw-modified-time.patch +- Add lshw-nvme.patch to support nvme devices bsc#1161323 + +------------------------------------------------------------------- +Thu Feb 20 08:15:44 UTC 2020 - Martin Pluskal + +- Disable LTO as it causes random build failures on some + architectures (bsc#1164297) + +------------------------------------------------------------------- +Fri Feb 7 10:50:13 UTC 2020 - Bjørn Lie + +- No longer recommend -lang: supplements are in use. + +------------------------------------------------------------------- +Wed Feb 5 08:37:14 UTC 2020 - Martin Pluskal + +- Fix bsc#1162690: + * lshw-add-notime-option-to-manpage.patch + +------------------------------------------------------------------- +Thu Oct 24 14:25:29 UTC 2019 - Martin Pluskal + +- Update to version B.02.18+git.20190613 (fate#326432 jsc#SLE-7715): + * devtree: Add DIMM running speed + * spd: Print dimm rank information + * Display proper logical name of network device +- Drop no longer needed lswh-logical-name-iface.patch + +------------------------------------------------------------------- +Thu May 2 09:56:21 UTC 2019 - Martin Pluskal + +- Fix displaying proper logical name of network device bsc#1133923 + * lswh-logical-name-iface.patch +- Fix displaying correct version bsc##1130818 + * lshw-display-latest-version.patch + * lshw-help-man.patch + * lshw-modified-time.patch + +------------------------------------------------------------------- +Thu Mar 28 09:34:43 UTC 2019 - Martin Pluskal + +- Update to version B.02.18+git.20190324: + * merge Github PR44 +- Set correct version (bsc#1130818) + +------------------------------------------------------------------- +Mon Jan 7 12:36:40 UTC 2019 - Martin Pluskal + +- Update to version B.02.18+git.20190104: + * Resolves bsc#1120819 bsc#1093650 fate#326432 + * various new HW enablement, including: + + improved support for latest PPC64LE + + DDR4 +- Drop no longer needed patches: + * lshw-cpuinfo.patch + * lshw-devtree_cpunodes.patch + * lshw-devtree_machine_describtion.patch + * lshw-dimminfo.patch + +------------------------------------------------------------------- +Wed Feb 7 15:58:41 UTC 2018 - mpluskal@suse.com + +- Drop not needed post macros +- Add ppc enablement patches (bsc#1079846): + * lshw-cpuinfo.patch + * lshw-devtree_cpunodes.patch + * lshw-devtree_machine_describtion.patch + * lshw-dimminfo.patch + +------------------------------------------------------------------- +Tue May 30 14:34:04 UTC 2017 - mpluskal@suse.com + +- Recommend hwdata + +------------------------------------------------------------------- +Tue May 2 17:10:11 UTC 2017 - mpluskal@suse.com + +- Simplify dependencies and build +- Split lang subpackage +- Prepare for SLE submission (fate#322439) + +------------------------------------------------------------------- +Mon Jun 20 11:25:53 UTC 2016 - mpluskal@suse.com + +- Small spec file cleanup +- Do not ship pci/usb/oter id's as they are provided by other + packages as well +- Disable parallel building as it seems to cause random linking + failures (boo#985111) + +------------------------------------------------------------------- +Tue Apr 26 19:39:38 UTC 2016 - mpluskal@suse.com + +- Update to B.02.18 + * no changelog available +- Use pkgconfig style dependencies +- Update dependencies +- Build gui and cli at same time +- Drop no longer needed patches + * lshw-gcc43.patch + * lshw-stack-corruption.patch + +------------------------------------------------------------------- +Fri Jul 24 10:48:58 UTC 2015 - mpluskal@suse.com + +- Cleanup spec file with spec-cleaner +- Unconditionally build gui +- Use proper scriplets for desktop files/icons +- Update license information + +------------------------------------------------------------------- +Wed Oct 16 20:13:46 UTC 2013 - xrigou@otenet.gr + +- Add a patch for a stack curruption introduced in B.02.17 and fixed + upstream (ticket #632) + +------------------------------------------------------------------- +Tue Aug 6 19:05:34 UTC 2013 - pascal.bleser@opensuse.org + +- update to B.02.17 (no detailed changelog available, minor bug fixes) + +------------------------------------------------------------------- +Wed Jan 11 00:02:17 UTC 2012 - pascal.bleser@opensuse.org + +- update to B.02.16: + * bug fixes + * code cleanup + * improved support for GPT-partitioned disks + * report physical sector size of hard disks + * rewrote GTK2 GUI for increased flexibility (use external UI file) + * updated data files + +------------------------------------------------------------------- +Wed Oct 6 08:08:03 UTC 2010 - pascal.bleser@opensuse.org + +- update to B.02.15: + * adds experimental support for dumping information into an SQLite database + * a French localization was added + * a number of bugs were fixed + +------------------------------------------------------------------- +Wed Jun 16 13:44:55 UTC 2010 - pascal.bleser@opensuse.org + +- rework patch for Factory (with 0 fuzz) + +- repackage upstream tarball as .tar.bz2 + +------------------------------------------------------------------- +Sat Feb 14 00:00:00 UTC 2009 - guru@unixtech.be + +- update to B.02.14: + * fixes several bugs that caused lshw to hang while scanning the system + * improves portability + * adds support for detection of EXT4 volumes + + +------------------------------------------------------------------- +Sun May 11 00:00:00 UTC 2008 - guru@unixtech.be + +- moved to openSUSE Build Service +- new upstream version + + +------------------------------------------------------------------- +Sun Oct 14 00:00:00 UTC 2007 - guru@unixtech.be + +- new upstream version + + +------------------------------------------------------------------- +Wed Oct 10 00:00:00 UTC 2007 - guru@unixtech.be + +- moved to Packman +- new upstream version + + +------------------------------------------------------------------- +Wed Nov 8 00:00:00 UTC 2006 - guru@unixtech.be + +- new upstream version + + +------------------------------------------------------------------- +Wed May 10 00:00:00 UTC 2006 - guru@unixtech.be + +- added binary stripping on SUSE < 9.3 +- replaced /usr/share with _datadir +- removed Packager and Distribution, injected by rpmmacros +- new upstream version + + +------------------------------------------------------------------- +Sun Mar 5 00:00:00 UTC 2006 - guru@unixtech.be + +- new package + + diff --git a/lshw.desktop.in b/lshw.desktop.in new file mode 100644 index 0000000..ad75053 --- /dev/null +++ b/lshw.desktop.in @@ -0,0 +1,12 @@ +[Desktop Entry] +Categories= +Encoding=UTF-8 +Terminal=false +Icon=lshw +Exec=@@EXEC@@ +Type=Application +StartupNotify=false +Name=Hardware Lister +GenericName=Hardware Diagnostics +X-KDE-SubstituteUID=true +X-KDE-Username=root diff --git a/lshw.obsinfo b/lshw.obsinfo new file mode 100644 index 0000000..4e9ad9d --- /dev/null +++ b/lshw.obsinfo @@ -0,0 +1,4 @@ +name: lshw +version: B.02.20 +mtime: 1704535187 +commit: 4c6497c8b0a67cd9fa9693e9101a7cafd3297e81 diff --git a/lshw.png b/lshw.png new file mode 100644 index 0000000..1e0921b --- /dev/null +++ b/lshw.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95ad0484d89fac35c97ab632a72310729d40686306cdcd398809f3a75feaafb9 +size 3196 diff --git a/lshw.spec b/lshw.spec new file mode 100644 index 0000000..ea4f1f0 --- /dev/null +++ b/lshw.spec @@ -0,0 +1,128 @@ +# +# spec file for package lshw +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2013 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: lshw +Version: B.02.20 +Release: 0 +Summary: HardWare LiSter +License: GPL-2.0-only +URL: https://www.ezix.org/project/wiki/HardwareLiSter +Source: lshw-%{version}.tar.gz +Source1: lshw.desktop.in +Source2: lshw.png +BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme +BuildRequires: libpng-devel +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gtk+-3.0) +Recommends: hwdata +%lang_package + +%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 config uration, 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. + +For detailed information on lshw features and usage, please see the +included documentation or go to the lshw Web page, +http://www.ezix.org/software/lshw.html + +%package gui +Summary: HardWare LiSter (GUI Frontend) +Group: Hardware/Other +Requires: %{name} = %{version}-%{release} +Requires: hicolor-icon-theme +Requires(post): hicolor-icon-theme +Requires(post): update-desktop-files +Requires(postun): hicolor-icon-theme +Requires(postun): update-desktop-files + +%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 config uration, bus speed, etc. on DMI-capable x86 systems and +on some PowerPC machines (PowerMac G4 is known to work). + +This package provides a graphical user interface to display hardware +information. + +For detailed information on lshw features and usage, please see the +included documentation or go to the lshw Web page, +http://www.ezix.org/software/lshw.html + +%prep +%autosetup + +%build + +%make_build \ + SBINDIR="%{_sbindir}" \ + RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" \ + STRIP=touch \ + VERSION="%{version}" \ + all gui \ + --jobs=1 + +%install +%make_install install-gui VERSION="%{version}" + +install -d "%{buildroot}%{_datadir}/applications" +sed 's,@@EXEC@@,%{_sbindir}/gtk-lshw,g' < "%{SOURCE1}" \ + > "%{buildroot}%{_datadir}/applications/%{name}.desktop" +chmod 0644 "%{buildroot}%{_datadir}/applications/%{name}.desktop" +install -D -p -m 0644 %{SOURCE2} \ + %{buildroot}%{_datadir}/pixmaps/%{name}.png + +%suse_update_desktop_file -r "%{name}" System HardwareSettings +# All of following are shipped by other packages as well +rm -f %{buildroot}%{_datadir}/%{name}/pci.ids +rm -f %{buildroot}%{_datadir}/%{name}/usb.ids +rm -f %{buildroot}%{_datadir}/%{name}/pnp.ids +rm -f %{buildroot}%{_datadir}/%{name}/oui.txt +rm -f %{buildroot}%{_datadir}/%{name}/manuf.txt +rm -f %{buildroot}%{_datadir}/%{name}/pnpid.txt + +%find_lang lshw + +%files +%defattr(-,root,root,0755) +%license COPYING +%doc README.md docs/TODO docs/Changelog docs/lshw.xsd +%attr(0755,root,root) %{_sbindir}/lshw +%dir %{_datadir}/lshw +%{_mandir}/man1/lshw.1%{?ext_man} + +%files lang -f %{name}.lang + +%files gui +%defattr(-,root,root,0755) +%license COPYING +%attr(0755,root,root) %{_sbindir}/gtk-lshw +%{_datadir}/lshw/artwork +%{_datadir}/lshw/ui +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png + +%changelog