e76131
Summary:        Tool to analyse BIOS DMI data
e76131
Name:           dmidecode
e76131
Version:        2.12
3ea658
Release:        9%{?dist}
e76131
Epoch:          1
e76131
Group:          System Environment/Base
e76131
License:        GPLv2+
e76131
Source0:        %{name}-%{version}.tar.bz2
e76131
URL:            http://www.nongnu.org/dmidecode/
e76131
Patch0:         dmidecode-2.12-smbios_fix.patch
3ea658
Patch1:         dmidecode-use-common-function-to-get-SMBIOS-version.patch
3ea658
Patch2:         dmidecode-use-common-function-to-put-SMBIOS-in-dumpf.patch
3ea658
Patch3:         dmidecode-move-memory-map-function-from-dmi_decode.patch
3ea658
Patch4:         dmidecode-add-dmi-sysfs-support.patch
3ea658
Patch5:         Add-libdmifs-from-Linaro.patch
3ea658
Patch6:         Support-SMBIOS-3.0-64-bit-header.patch
3ea658
Patch7:         dmidecode-support-for-ddr4-mem.patch
3ea658
Patch8:         dmidecode-only-use-SMBIOS3-on-aarch64-systems.patch
3ea658
Patch9:         Support-upstream-filename-for-smbios-64-bit-header.patch
3ea658
Patch10:        dmidecode-update-oem-decode.patch
e76131
Buildroot:      %{_tmppath}/%{name}-%{version}-root
e76131
BuildRequires:  automake autoconf
043c82
ExclusiveArch:  %{ix86} x86_64 ia64 aarch64
e76131
e76131
%description
e76131
dmidecode reports information about x86 & ia64 hardware as described in the
e76131
system BIOS according to the SMBIOS/DMI standard. This information
e76131
typically includes system manufacturer, model name, serial number,
e76131
BIOS version, asset tag as well as a lot of other details of varying
e76131
level of interest and reliability depending on the manufacturer.
e76131
e76131
This will often include usage status for the CPU sockets, expansion
e76131
slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of
e76131
I/O ports (e.g. serial, parallel, USB).
e76131
e76131
%prep
e76131
%setup -q
e76131
%patch0 -p1 -b .smbios_fix
3ea658
%patch1 -p1 -b .smbios_ver
3ea658
%patch2 -p1 -b .smbios_dump
3ea658
%patch3 -p1 -b .smbios_memmap
3ea658
%patch4 -p1 -b .dmi_sysfs
3ea658
%patch5 -p1 -b .libdmifs
3ea658
%patch6 -p1 -b .smbios3
3ea658
%patch7 -p1
3ea658
%patch8 -p1
3ea658
%patch9 -p1
3ea658
%patch10 -p1
e76131
%build
e76131
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
e76131
e76131
%install
e76131
rm -rf ${buildroot}
e76131
make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
e76131
e76131
%clean
e76131
rm -rf ${buildroot}
e76131
e76131
%files
e76131
%defattr(-,root,root)
e76131
%doc AUTHORS CHANGELOG LICENSE README
e76131
%{_sbindir}/dmidecode
043c82
%ifarch %{ix86} x86_64
e76131
%{_sbindir}/vpddecode
e76131
%{_sbindir}/ownership
e76131
%{_sbindir}/biosdecode
e76131
%endif
e76131
%{_mandir}/man8/*
e76131
e76131
%changelog
3ea658
* Mon Sep 21 2015 Petr Oros <poros@redhat.com> - 1:2.12-9
3ea658
- dmioem: Decode Acer-specific DMI type 170
3ea658
- dmioem: Decode HP-specific DMI types 212 and 219
3ea658
- dmioem: Decode HP-specific DMI type 233, and refactored 209 and 221 to use a common function
3ea658
- Resolves: #1232501
3ea658
3ea658
* Thu Jul 23 2015 Petr Oros <poros@redhat.com> - 1:2.12-8
3ea658
- Support upstream sysfs filename for smbios entry point (Mark Salter)
3ea658
- Resolves: #1232153
3ea658
3ea658
* Thu Jul 16 2015 Petr Oros <poros@redhat.com> - 1:2.12-7
3ea658
- only use SMBIOS3 on aarch64 systems (Jeffrey Bastian)
3ea658
- Resolves: #1242409
3ea658
3ea658
* Wed May 13 2015 Petr Oros <poros@redhat.com> - 1:2.12-6
3ea658
- Add preliminary support for SMBIOS 64-bit entry point (Mark Salter)
3ea658
- Add support for DDR4 memmory
3ea658
043c82
* Fri Feb 21 2014 Anton Arapov <anton@redhat.com> - 2.12-5
043c82
- Spec file fixes for the Aarch64. (John Feeney )
043c82
043c82
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:2.12-4
043c82
- Mass rebuild 2013-12-27
043c82
e76131
* Thu May 09 2013 Anton Arapov <anton@redhat.com> - 1:2.12-3
e76131
- Accomodate few more necesary, to enable SMBIOS v2.8, changes from upstream.
e76131
e76131
* Fri Apr 26 2013 Anton Arapov <anton@redhat.com> - 1:2.12-2
e76131
- Fixup, so that it actually read SMBIOS 2.8.0 table.
e76131
e76131
* Wed Apr 17 2013 Anton Arapov <anton@redhat.com> - 1:2.12-1
e76131
- Update to upstream 2.12 release.
e76131
e76131
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-10
e76131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e76131
e76131
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-9
e76131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e76131
e76131
* Mon Mar 26 2012 Anton Arapov <anton@redhat.com> - 1:2.11-8
e76131
- Update dmidecode.8 manpage
e76131
e76131
* Mon Mar 12 2012 Anton Arapov <anton@redhat.com> - 1:2.11-7
e76131
- Add "PXE" to HP OEM Type 209 record output
e76131
- Properly print the hexadecimal value of invalid string characters
e76131
e76131
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-6
e76131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e76131
e76131
* Mon Nov 14 2011 Anton Arapov <anton@redhat.com> - 1:2.11-5
e76131
- Fix the wrong call of the dmi_chassis_type function call. Thus fix
e76131
  an issue on the systems with the chassis lock available, application
e76131
  doesn't fall out with the out of spec error anymore.
e76131
e76131
* Tue May 03 2011 Anton Arapov <anton@redhat.com> - 1:2.11-4
e76131
- Update to SMBIOS 2.7.1
e76131
- Fix the boundaries check in type16
e76131
e76131
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.11-3
e76131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e76131
e76131
* Wed Jan 19 2011 Anton Arapov <anton@redhat.com> - 1:2.11-2
e76131
- Update to upstream 2.11 release. (#623047)
e76131
e76131
* Wed Jan 19 2011 Anton Arapov <anton@redhat.com> - 1:2.11-1
e76131
- Fix the changelog's NVR.
e76131
e76131
* Mon Nov 08 2010 Prarit Bhargava <prarit@redhat.com> - 1:2.10-3
e76131
- updated kernel.spec for review [BZ 225698]
e76131
e76131
* Fri Oct 15 2010 Anton Arapov <aarapov@redhat.com> - 1:2.10-2
e76131
- Does not build with gnu make v3.82+ (#631407)
e76131
e76131
* Fri Dec 18 2009 Prarit Bhargava <prarit@redhat.com> - 1:2.10-1.40
e76131
- Fix rpmlint errors in specfile
e76131
e76131
* Fri Aug 28 2009 Jarod Wilson <jarod@redhat.com> - 1:2.10-1.39
e76131
- Fix cache associativity mapping (was missing some commas)
e76131
e76131
* Mon Aug 24 2009 Jarod Wilson <jarod@redhat.com> - 1:2.10-1.38
e76131
- Add support for newer sockets, processors and pcie slot types
e76131
e76131
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.10-1.36.2
e76131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e76131
e76131
* Fri Feb 27 2009 Matthias Clasen <mclasen@redhat.com>
e76131
- Build for i586
e76131
e76131
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.10-1.34.1
e76131
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e76131
e76131
* Mon Feb 09 2009 Prarit Bhargava <prarit@redhat.com> 1:2.10
e76131
- rebuild with version 2.10
e76131
e76131
* Wed Jan 28 2009 Prarit Bhargava <prarit@redhat.com> 1:2.9-1.32
e76131
- fix Summary field (BZ 225698)
e76131
e76131
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:2.9-1.30
e76131
- fix license tag
e76131
e76131
* Fri Mar 14 2008 Doug Chapman <doug.chapman@hp.com> 1:2.9-1.29.1
e76131
- Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only
e76131
e76131
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.9-1.27.1
e76131
- Autorebuild for GCC 4.3
e76131
e76131
* Mon Oct 22 2007 Prarit Bhargava <prarit@redhat.com> - 1:2.9
e76131
- rebuild with version 2.9
e76131
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.7-1.25.1
e76131
- rebuild
e76131
e76131
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
e76131
- rebuild.
e76131
e76131
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e76131
- rebuilt
e76131
e76131
* Mon Nov 28 2005 Dave Jones <davej@redhat.com>
e76131
- Integrate several specfile cleanups from Robert Scheck. (#172543)
e76131
e76131
* Sat Sep 24 2005 Dave Jones <davej@redhat.com>
e76131
- Revert yesterdays patch, its unneeded in 2.7
e76131
e76131
* Fri Sep 23 2005 Dave Jones <davej@redhat.com>
e76131
- Don't try to modify areas mmap'd read-only.
e76131
- Don't build on ia64 any more.
e76131
  (It breaks on some boxes very badly, and works on very few).
e76131
e76131
* Mon Sep 12 2005 Dave Jones <davej@redhat.com>
e76131
- Update to upstream 2.7
e76131
e76131
* Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
e76131
- remove empty scripts
e76131
e76131
* Wed Mar  2 2005 Dave Jones <davej@redhat.com>
e76131
- Update to upstream 2.6
e76131
e76131
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
e76131
- Rebuild for gcc4
e76131
e76131
* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
e76131
- Rebuild with -D_FORTIFY_SOURCE=2
e76131
e76131
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
e76131
- Add missing Obsoletes: kernel-utils
e76131
e76131
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
e76131
- Update to upstream 2.5 release.
e76131
e76131
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
e76131
- Initial packaging, based upon kernel-utils package.
e76131