e0d5ce
Summary:        Tool to analyse BIOS DMI data
e0d5ce
Name:           dmidecode
e467e0
Version:        3.3
1543e4
Release:        4%{?dist}
e0d5ce
Epoch:          1
e0d5ce
License:        GPLv2+
e0d5ce
Source0:        http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
e0d5ce
URL:            http://www.nongnu.org/dmidecode/
e0d5ce
e467e0
Patch0:        0001-dmidecode-Add-new-system-slot-types-from-SMBIOS-spec.patch
e467e0
Patch1:        0002-dmidecode-Add-new-processor-characteristics-bits-from-SMBIOS-s.patch
e467e0
Patch2:        0003-dmidecode-Missing-comma-in-the-dmi_slot_type.patch
e467e0
Patch3:        0004-dmidecode-Skip-details-of-uninstalled-memory-modules.patch
1543e4
Patch4:        0005-dmidecode-Add-new-processor-upgrades-from-SMBIOS-spec-3.4.0.patch
1543e4
Patch5:        0006-dmidecode-Add-new-memory-device-types-from-SMBIOS-spec-3.4.0.patch
1543e4
Patch6:        0007-dmidecode-Fix-crash-with-u-option.patch
1543e4
e0d5ce
e0d5ce
BuildRequires:  gcc make
e0d5ce
ExclusiveArch:  %{ix86} x86_64 ia64 aarch64
e0d5ce
e0d5ce
%description
e0d5ce
dmidecode reports information about x86 & ia64 hardware as described in the
e0d5ce
system BIOS according to the SMBIOS/DMI standard. This information
e0d5ce
typically includes system manufacturer, model name, serial number,
e0d5ce
BIOS version, asset tag as well as a lot of other details of varying
e0d5ce
level of interest and reliability depending on the manufacturer.
e0d5ce
e0d5ce
This will often include usage status for the CPU sockets, expansion
e0d5ce
slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of
e0d5ce
I/O ports (e.g. serial, parallel, USB).
e0d5ce
e0d5ce
%prep
1543e4
%autosetup
e0d5ce
e0d5ce
%build
e0d5ce
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
e0d5ce
e0d5ce
%install
e0d5ce
make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
e0d5ce
e0d5ce
%files
e0d5ce
%doc AUTHORS NEWS README
e0d5ce
%{!?_licensedir:%global license %%doc}
e0d5ce
%license LICENSE
e0d5ce
%{_sbindir}/dmidecode
e0d5ce
%ifnarch ia64 aarch64
e0d5ce
%{_sbindir}/vpddecode
e0d5ce
%{_sbindir}/ownership
e0d5ce
%{_sbindir}/biosdecode
e0d5ce
%endif
e0d5ce
%{_mandir}/man8/*
e0d5ce
e0d5ce
%changelog
1543e4
* Wed Jan 26 2022 Coiby Xu <coxu@redhat.com> - 1:3.3-4
1543e4
- Resolves: rhbz#2042224
1543e4
1543e4
* Wed Jan 05 2022 Coiby Xu <coxu@redhat.com> - 1:3.3-3
1543e4
- Resolves: rhbz#2027665
1543e4
1543e4
* Tue Nov 10 2021 Coiby Xu <coxu@redhat.com> - 1:3.3-2
1543e4
- Resolves: rhbz#1996651
1543e4
e467e0
* Tue Nov  9 2021 Coiby Xu <coxu@redhat.com> - 1:3.3-1
e467e0
- Rebase to upsteam 3.3
e467e0
- Resolves: rhbz#1998772
e467e0
18e7c5
* Fri Apr  9 2021 Coiby Xu <coxu@redhat.com> - 1:3.2-10
18e7c5
- Fix crash with -u option
18e7c5
- Resolves: rhbz#1885823
18e7c5
3aa19c
* Thu Dec 10 2020 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-8
3aa19c
- CI found an error in the commit <c54348130a2a>, need to fix it.
3aa19c
- Resolves: rhbz#1858350
3aa19c
3aa19c
* Tue Dec 08 2020 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-7
3aa19c
- Fix the "OUT OF SPEC" error for empty NVMe and DIMM slots
3aa19c
- Resolves: rhbz#1858350
3aa19c
f877e3
* Wed May 20 2020 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-6
f877e3
- Updated to the latest upstream(5b3c8e995026 ("Allow overriding
f877e3
  build settings from the environment"))
f877e3
- Resolves: rhbz#1796581
f877e3
65c10b
* Sun Oct 27 2019 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-5
65c10b
- Fix the "OUT OF SPEC" for type 9
65c10b
- Resolves: rhbz#1763678
65c10b
65c10b
* Mon Oct 21 2019 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-4
65c10b
- Updated to the latest upstream(a808e6ef4ebc ("Typo"))
65c10b
- Resolves: rhbz#1725435
65c10b
e0d5ce
* Mon Apr 22 2019 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-3
e0d5ce
- Add "Logical non-volatile device" to the memory device types
e0d5ce
- Resolves: rhbz#1664573
e0d5ce
e0d5ce
* Mon Apr 15 2019 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-2
e0d5ce
- add CI gating test.
e0d5ce
- Resolves: rhbz#1680617
e0d5ce
e0d5ce
* Wed Sep 19 2018 Lianbo Jiang <lijiang@redhat.com> - 1:3.2-1
e0d5ce
- update to upstream dmidecode-3.2
e0d5ce
- Resolves: rhbz#1628211
e0d5ce
e0d5ce
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1-5
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e0d5ce
e0d5ce
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1-4
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e0d5ce
e0d5ce
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1-3
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e0d5ce
e0d5ce
* Thu Jun 08 2017 Anton Arapov <aarapov@redhat.com> - 1:3.1-2
e0d5ce
- patched up to upstream commit aad65d8a53
e0d5ce
e0d5ce
* Wed May 24 2017 Anton Arapov <aarapov@redhat.com> - 1:3.1-1
e0d5ce
- updated to upstream v3.1
e0d5ce
- Supported SMBIOS spec up to v3.1.1
e0d5ce
e0d5ce
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.0-8
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e0d5ce
e0d5ce
* Thu Feb 02 2017 Anton Arapov <aarapov@redhat.com> - 1:3.0-7
e0d5ce
- patched up to commit adbd050d70b
e0d5ce
e0d5ce
* Tue Oct 18 2016 Anton Arapov <aarapov@redhat.com> - 1:3.0-6
e0d5ce
- patched up to commit df9ebd5ffbe
e0d5ce
e0d5ce
* Thu Jul 07 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-5
e0d5ce
- patched up to commit a50565a65c9
e0d5ce
e0d5ce
* Wed Jun 29 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-4
e0d5ce
- Applied out-a-tree patch from Petr Oros: dmidecode: Unmask LRDIMM in memory type detail
e0d5ce
e0d5ce
* Mon May 30 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-3
e0d5ce
- Hide irrelevant fixup message
e0d5ce
- patched up to commit cff11afa886
e0d5ce
e0d5ce
* Tue Feb 02 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-2
e0d5ce
- Use DWORD for Structure table maximum size in SMBIOS3
e0d5ce
- patched up to commit ab02b117511
e0d5ce
e0d5ce
* Thu Jan 21 2016 Anton Arapov <arapov@gmail.com> - 1:3.0-1
e0d5ce
- dmidecode v3 patched up to commit e5c73239404
e0d5ce
e0d5ce
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.12-9
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e0d5ce
e0d5ce
* Sat Oct 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1:2.12-8
e0d5ce
- dmidecode supported on aarch64
e0d5ce
e0d5ce
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.12-7
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e0d5ce
e0d5ce
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> 1:2.12-6
e0d5ce
- fix license handling
e0d5ce
e0d5ce
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.12-5
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0d5ce
e0d5ce
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.12-4
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e0d5ce
e0d5ce
* Thu May 09 2013 Anton Arapov <anton@redhat.com> - 1:2.12-3
e0d5ce
- Accomodate few more necesary, to enable SMBIOS v2.8, changes from upstream.
e0d5ce
e0d5ce
* Fri Apr 26 2013 Anton Arapov <anton@redhat.com> - 1:2.12-2
e0d5ce
- Fixup, so that it actually read SMBIOS 2.8.0 table.
e0d5ce
e0d5ce
* Wed Apr 17 2013 Anton Arapov <anton@redhat.com> - 1:2.12-1
e0d5ce
- Update to upstream 2.12 release.
e0d5ce
e0d5ce
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-10
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e0d5ce
e0d5ce
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-9
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e0d5ce
e0d5ce
* Mon Mar 26 2012 Anton Arapov <anton@redhat.com> - 1:2.11-8
e0d5ce
- Update dmidecode.8 manpage
e0d5ce
e0d5ce
* Mon Mar 12 2012 Anton Arapov <anton@redhat.com> - 1:2.11-7
e0d5ce
- Add "PXE" to HP OEM Type 209 record output
e0d5ce
- Properly print the hexadecimal value of invalid string characters
e0d5ce
e0d5ce
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-6
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e0d5ce
e0d5ce
* Mon Nov 14 2011 Anton Arapov <anton@redhat.com> - 1:2.11-5
e0d5ce
- Fix the wrong call of the dmi_chassis_type function call. Thus fix
e0d5ce
  an issue on the systems with the chassis lock available, application
e0d5ce
  doesn't fall out with the out of spec error anymore.
e0d5ce
e0d5ce
* Tue May 03 2011 Anton Arapov <anton@redhat.com> - 1:2.11-4
e0d5ce
- Update to SMBIOS 2.7.1
e0d5ce
- Fix the boundaries check in type16
e0d5ce
e0d5ce
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-3
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e0d5ce
e0d5ce
* Wed Jan 19 2011 Anton Arapov <anton@redhat.com> - 1:2.11-2
e0d5ce
- Update to upstream 2.11 release. (#623047)
e0d5ce
e0d5ce
* Wed Jan 19 2011 Anton Arapov <anton@redhat.com> - 1:2.11-1
e0d5ce
- Fix the changelog's NVR.
e0d5ce
e0d5ce
* Mon Nov 08 2010 Prarit Bhargava <prarit@redhat.com> - 1:2.10-3
e0d5ce
- updated kernel.spec for review [BZ 225698]
e0d5ce
e0d5ce
* Fri Oct 15 2010 Anton Arapov <aarapov@redhat.com> - 1:2.10-2
e0d5ce
- Does not build with gnu make v3.82+ (#631407)
e0d5ce
e0d5ce
* Fri Dec 18 2009 Prarit Bhargava <prarit@redhat.com> - 1:2.10-1.40
e0d5ce
- Fix rpmlint errors in specfile
e0d5ce
e0d5ce
* Fri Aug 28 2009 Jarod Wilson <jarod@redhat.com> - 1:2.10-1.39
e0d5ce
- Fix cache associativity mapping (was missing some commas)
e0d5ce
e0d5ce
* Mon Aug 24 2009 Jarod Wilson <jarod@redhat.com> - 1:2.10-1.38
e0d5ce
- Add support for newer sockets, processors and pcie slot types
e0d5ce
e0d5ce
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.10-1.36.2
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e0d5ce
e0d5ce
* Fri Feb 27 2009 Matthias Clasen <mclasen@redhat.com>
e0d5ce
- Build for i586
e0d5ce
e0d5ce
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.10-1.34.1
e0d5ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e0d5ce
e0d5ce
* Mon Feb 09 2009 Prarit Bhargava <prarit@redhat.com> 1:2.10
e0d5ce
- rebuild with version 2.10
e0d5ce
e0d5ce
* Wed Jan 28 2009 Prarit Bhargava <prarit@redhat.com> 1:2.9-1.32
e0d5ce
- fix Summary field (BZ 225698)
e0d5ce
e0d5ce
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:2.9-1.30
e0d5ce
- fix license tag
e0d5ce
e0d5ce
* Fri Mar 14 2008 Doug Chapman <doug.chapman@hp.com> 1:2.9-1.29.1
e0d5ce
- Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only
e0d5ce
e0d5ce
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.9-1.27.1
e0d5ce
- Autorebuild for GCC 4.3
e0d5ce
e0d5ce
* Mon Oct 22 2007 Prarit Bhargava <prarit@redhat.com> - 1:2.9
e0d5ce
- rebuild with version 2.9
e0d5ce
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.7-1.25.1
e0d5ce
- rebuild
e0d5ce
e0d5ce
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
e0d5ce
- rebuild.
e0d5ce
e0d5ce
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e0d5ce
- rebuilt
e0d5ce
e0d5ce
* Mon Nov 28 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Integrate several specfile cleanups from Robert Scheck. (#172543)
e0d5ce
e0d5ce
* Sat Sep 24 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Revert yesterdays patch, its unneeded in 2.7
e0d5ce
e0d5ce
* Fri Sep 23 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Don't try to modify areas mmap'd read-only.
e0d5ce
- Don't build on ia64 any more.
e0d5ce
  (It breaks on some boxes very badly, and works on very few).
e0d5ce
e0d5ce
* Mon Sep 12 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Update to upstream 2.7
e0d5ce
e0d5ce
* Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
e0d5ce
- remove empty scripts
e0d5ce
e0d5ce
* Wed Mar  2 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Update to upstream 2.6
e0d5ce
e0d5ce
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Rebuild for gcc4
e0d5ce
e0d5ce
* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Rebuild with -D_FORTIFY_SOURCE=2
e0d5ce
e0d5ce
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Add missing Obsoletes: kernel-utils
e0d5ce
e0d5ce
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
e0d5ce
- Update to upstream 2.5 release.
e0d5ce
e0d5ce
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
e0d5ce
- Initial packaging, based upon kernel-utils package.
e0d5ce