Summary: Tool to analyse BIOS DMI data Name: dmidecode Version: 3.2 Release: 5%{?dist}.1 Epoch: 1 Group: System Environment/Base License: GPLv2+ Source0: %{name}-%{version}.tar.xz URL: http://www.nongnu.org/dmidecode/ Patch0: 0001-dmidecode-Fix-Redfish-Hostname-print-length.patch Patch1: 0002-dmidecode-Don-t-use-memcpy-on-dev-mem-on-arm64.patch Patch2: 0003-dmidecode-Use-the-most-appropriate-unit-for-cache-si.patch Patch3: 0004-dmidecode-Use-dmi_cache_size_2-in-dmi_cache_size.patch Patch4: 0005-dmidecode-Add-Logical-non-volatile-device-to-the-mem.patch Patch5: 0001-dmidecode-Fix-System-Slot-Information-for-PCIe-SSD.patch Patch6: 0001-dmidecode-Reformat-the-FILES-section-of-the-manual-p.patch Patch7: 0002-dmidecode-Document-how-the-UUID-fields-are-interpret.patch Patch8: 0003-Use-comments-to-separate-sections-in-manual-pages.patch Patch9: 0004-dmidecode-Add-missing-standard-include.patch Patch10: 0005-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch Patch11: 0006-Fix-formatting-of-TPM-table-output.patch Patch12: 0007-dmidecode-Adding-bios-revision-to-s-option.patch Patch13: 0008-dmidecode-Adding-firmware-revision-support-to-s-opti.patch Patch14: 0009-Typo.patch Patch15: 0010-dmidecode-Add-enumerated-values-from-SMBIOS-3.3.0.patch Patch16: 0011-dmidecode-Decode-system-slot-base-bus-width-and-peer.patch Patch17: 0001-dmidecode-Add-new-system-slot-types-from-SMBIOS-spec.patch Patch18: 0002-dmidecode-Skip-details-of-uninstalled-memory-modules.patch Patch19: 0003-Missing-comma-in-the-dmi_slot_type.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: automake autoconf ExclusiveArch: %{ix86} x86_64 ia64 aarch64 %description dmidecode reports information about x86 & ia64 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB). %prep %setup -q %patch0 -p1 -b .fix_Redfish_print %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIE" LDFLAGS="-pie -Wl,-z,now" %install rm -rf ${buildroot} make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man %clean rm -rf ${buildroot} %files %doc AUTHORS NEWS README %{!?_licensedir:%global license %%doc} %license LICENSE %{_sbindir}/dmidecode %ifnarch ia64 aarch64 %{_sbindir}/vpddecode %{_sbindir}/ownership %{_sbindir}/biosdecode %endif %{_mandir}/man8/* %changelog * Tue Jan 12 2021 Lianbo Jiang - 1:3.2-5.1 - Fix the "OUT OF SPEC" error for empty NVMe and DIMM slots - Resolves: rhbz#1858345 * Mon Mar 30 2020 Lianbo Jiang - 1:3.2-5 - Revert this patch("Use larger units for memory device and BIOS size") - Resolves: rhbz#1767323 * Wed Mar 18 2020 Lianbo Jiang - 1:3.2-4 - Fix System Slot Information for PCIe SSD - Resolves: rhbz#1793900 - Sync with upstream(commit:62bce59fed1) - Resolves: rhbz#1767323 * Fri Apr 26 2019 Lianbo Jiang - 1:3.2-3 - Add "Logical non-volatile device" to the memory device types - Resolves: rhbz#1664921 * Tue Nov 6 2018 Lianbo Jiang - 1:3.2-1 - Sync with upstream 3.2 - Resolves: rhbz#1628992 * Thu Apr 26 2018 Lianbo Jiang - 1:3.1-1 - Sync with upstream - Resolves: rhbz#1568227 * Wed May 3 2017 Petr Oros - 1:3.0-5 - Update compiler flags for hardened builds - Resolves: #1420763 * Tue Feb 28 2017 Petr Oros - 1:3.0-4 - Sync with upstream - Resolves: #1385884 * Tue Nov 8 2016 Petr Oros - 1:3.0-3 - Hide irrelevant fixup message - Resolves: #1384195 * Wed Jun 29 2016 Petr Oros - 1:3.0-2 - Unmask LRDIMM in memmory type detail - Resolves: #1321342 * Wed May 4 2016 Petr Oros - 1:3.0-1 - Update to upstream 3.0 release. - Resolves: #1273487 * Mon Sep 21 2015 Petr Oros - 1:2.12-9 - dmioem: Decode Acer-specific DMI type 170 - dmioem: Decode HP-specific DMI types 212 and 219 - dmioem: Decode HP-specific DMI type 233, and refactored 209 and 221 to use a common function - Resolves: #1232501 * Thu Jul 23 2015 Petr Oros - 1:2.12-8 - Support upstream sysfs filename for smbios entry point (Mark Salter) - Resolves: #1232153 * Thu Jul 16 2015 Petr Oros - 1:2.12-7 - only use SMBIOS3 on aarch64 systems (Jeffrey Bastian) - Resolves: #1242409 * Wed May 13 2015 Petr Oros - 1:2.12-6 - Add preliminary support for SMBIOS 64-bit entry point (Mark Salter) - Add support for DDR4 memmory * Fri Feb 21 2014 Anton Arapov - 2.12-5 - Spec file fixes for the Aarch64. (John Feeney ) * Fri Dec 27 2013 Daniel Mach - 1:2.12-4 - Mass rebuild 2013-12-27 * Thu May 09 2013 Anton Arapov - 1:2.12-3 - Accomodate few more necesary, to enable SMBIOS v2.8, changes from upstream. * Fri Apr 26 2013 Anton Arapov - 1:2.12-2 - Fixup, so that it actually read SMBIOS 2.8.0 table. * Wed Apr 17 2013 Anton Arapov - 1:2.12-1 - Update to upstream 2.12 release. * Wed Feb 13 2013 Fedora Release Engineering - 1:2.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1:2.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Mar 26 2012 Anton Arapov - 1:2.11-8 - Update dmidecode.8 manpage * Mon Mar 12 2012 Anton Arapov - 1:2.11-7 - Add "PXE" to HP OEM Type 209 record output - Properly print the hexadecimal value of invalid string characters * Fri Jan 13 2012 Fedora Release Engineering - 1:2.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Nov 14 2011 Anton Arapov - 1:2.11-5 - Fix the wrong call of the dmi_chassis_type function call. Thus fix an issue on the systems with the chassis lock available, application doesn't fall out with the out of spec error anymore. * Tue May 03 2011 Anton Arapov - 1:2.11-4 - Update to SMBIOS 2.7.1 - Fix the boundaries check in type16 * Tue Feb 08 2011 Fedora Release Engineering - 1:2.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 19 2011 Anton Arapov - 1:2.11-2 - Update to upstream 2.11 release. (#623047) * Wed Jan 19 2011 Anton Arapov - 1:2.11-1 - Fix the changelog's NVR. * Mon Nov 08 2010 Prarit Bhargava - 1:2.10-3 - updated kernel.spec for review [BZ 225698] * Fri Oct 15 2010 Anton Arapov - 1:2.10-2 - Does not build with gnu make v3.82+ (#631407) * Fri Dec 18 2009 Prarit Bhargava - 1:2.10-1.40 - Fix rpmlint errors in specfile * Fri Aug 28 2009 Jarod Wilson - 1:2.10-1.39 - Fix cache associativity mapping (was missing some commas) * Mon Aug 24 2009 Jarod Wilson - 1:2.10-1.38 - Add support for newer sockets, processors and pcie slot types * Fri Jul 24 2009 Fedora Release Engineering - 1:2.10-1.36.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Feb 27 2009 Matthias Clasen - Build for i586 * Tue Feb 24 2009 Fedora Release Engineering - 1:2.10-1.34.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 09 2009 Prarit Bhargava 1:2.10 - rebuild with version 2.10 * Wed Jan 28 2009 Prarit Bhargava 1:2.9-1.32 - fix Summary field (BZ 225698) * Wed Jul 16 2008 Tom "spot" Callaway 1:2.9-1.30 - fix license tag * Fri Mar 14 2008 Doug Chapman 1:2.9-1.29.1 - Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only * Tue Feb 19 2008 Fedora Release Engineering - 1:2.9-1.27.1 - Autorebuild for GCC 4.3 * Mon Oct 22 2007 Prarit Bhargava - 1:2.9 - rebuild with version 2.9 * Wed Jul 12 2006 Jesse Keating - 1:2.7-1.25.1 - rebuild * Thu Feb 09 2006 Dave Jones - rebuild. * Fri Dec 09 2005 Jesse Keating - rebuilt * Mon Nov 28 2005 Dave Jones - Integrate several specfile cleanups from Robert Scheck. (#172543) * Sat Sep 24 2005 Dave Jones - Revert yesterdays patch, its unneeded in 2.7 * Fri Sep 23 2005 Dave Jones - Don't try to modify areas mmap'd read-only. - Don't build on ia64 any more. (It breaks on some boxes very badly, and works on very few). * Mon Sep 12 2005 Dave Jones - Update to upstream 2.7 * Fri Apr 15 2005 Florian La Roche - remove empty scripts * Wed Mar 2 2005 Dave Jones - Update to upstream 2.6 * Tue Mar 1 2005 Dave Jones - Rebuild for gcc4 * Tue Feb 8 2005 Dave Jones - Rebuild with -D_FORTIFY_SOURCE=2 * Tue Jan 11 2005 Dave Jones - Add missing Obsoletes: kernel-utils * Mon Jan 10 2005 Dave Jones - Update to upstream 2.5 release. * Sat Dec 18 2004 Dave Jones - Initial packaging, based upon kernel-utils package.