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