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