af958aa
Summary:        Tool to analyse BIOS DMI data
a09c31f
Name:           dmidecode
472fe5d
Version:        2.10
Anton Arapov 8e4de9a
Release:        2%{?dist}
5c614b0
Epoch:          1
a09c31f
Group:          System Environment/Base
d8e0572
License:        GPLv2+
5c614b0
Source0:        dmidecode-%{version}.tar.bz2
68313a1
Patch0:         dmidecode-add-hewlett-packard-to-dmioem.patch
68313a1
Patch1:         dmidecode-recognize-more-memory.patch
68313a1
Patch2:         dmidecode-add-socket-lga1366.patch
68313a1
Patch3:         dmidecode-warn-on-unsupported-smbios-version.patch
3aad219
Patch4:         dmidecode-smbios-2.6.1-updates.patch
Anton Arapov 8e4de9a
Patch5:         dmidecode-makefile-fix.patch
5c614b0
URL:            http://www.nongnu.org/dmidecode/
a09c31f
Buildroot:      %{_tmppath}/%{name}-%{version}-root
5c614b0
BuildRequires:  /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf
5c614b0
ExclusiveArch:  %{ix86} x86_64 ia64
a09c31f
a09c31f
%description
65e3e77
dmidecode reports information about x86 & ia64 hardware as described in the
6b3e14a
system BIOS according to the SMBIOS/DMI standard. This information
6b3e14a
typically includes system manufacturer, model name, serial number,
6b3e14a
BIOS version, asset tag as well as a lot of other details of varying
6b3e14a
level of interest and reliability depending on the manufacturer.
6b3e14a
6b3e14a
This will often include usage status for the CPU sockets, expansion
6b3e14a
slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of
6b3e14a
I/O ports (e.g. serial, parallel, USB).
a09c31f
a09c31f
%prep
6b3e14a
%setup -q
68313a1
%patch0 -p1
68313a1
%patch1 -p1
68313a1
%patch2 -p1
68313a1
%patch3 -p1
68313a1
%patch4 -p1
Anton Arapov 8e4de9a
%patch5 -p1
a09c31f
a09c31f
%build
1c988eb
make CFLAGS="$RPM_OPT_FLAGS"
a09c31f
a09c31f
%install
6b3e14a
rm -rf $RPM_BUILD_ROOT
6b3e14a
make DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man
6b3e14a
a09c31f
%clean
6b3e14a
rm -rf $RPM_BUILD_ROOT
a09c31f
a09c31f
%files
a09c31f
%defattr(-,root,root)
6b3e14a
%doc AUTHORS CHANGELOG LICENSE README
6b3e14a
%{_sbindir}/dmidecode
Doug Chapman 9ebfca5
%ifnarch ia64
6b3e14a
%{_sbindir}/vpddecode
6b3e14a
%{_sbindir}/ownership
6b3e14a
%{_sbindir}/biosdecode
Doug Chapman 9ebfca5
%endif
6b3e14a
%{_mandir}/man8/*
a09c31f
a09c31f
%changelog
Anton Arapov 8e4de9a
* Fri Oct 15 2010 Anton Arapov <aarapov@redhat.com> - 1:2.1.0-2
Anton Arapov 8e4de9a
- Does not build with gnu make v3.82+ (#631407)
Anton Arapov 8e4de9a
5c614b0
* Fri Dec 18 2009 Prarit Bhargava <prarit@redhat.com> - 1:2.1.0-1.40
5c614b0
- Fix rpmlint errors in specfile
5c614b0
3aad219
* Fri Aug 28 2009 Jarod Wilson <jarod@redhat.com> - 1:2.10-1.39
3aad219
- Fix cache associativity mapping (was missing some commas)
3aad219
68313a1
* Mon Aug 24 2009 Jarod Wilson <jarod@redhat.com> - 1:2.10-1.38
68313a1
- Add support for newer sockets, processors and pcie slot types
68313a1
bef1b00
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.10-1.36.2
bef1b00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bef1b00
02ad716
* Fri Feb 27 2009 Matthias Clasen <mclasen@redhat.com>
02ad716
- Build for i586
02ad716
1c1bc80
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.10-1.34.1
1c1bc80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c1bc80
472fe5d
* Mon Feb 09 2009 Prarit Bhargava <prarit@redhat.com> 1:2.10
472fe5d
- rebuild with version 2.10
472fe5d
af958aa
* Wed Jan 28 2009 Prarit Bhargava <prarit@redhat.com> 1:2.9-1.32
af958aa
- fix Summary field (BZ 225698)
472fe5d
d8e0572
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:2.9-1.30
d8e0572
- fix license tag
d8e0572
Doug Chapman 8b2779c
* Fri Mar 14 2008 Doug Chapman <doug.chapman@hp.com> 1:2.9-1.29.1
Doug Chapman 8b2779c
- Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only
Doug Chapman 8b2779c
1289cb9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.9-1.27.1
1289cb9
- Autorebuild for GCC 4.3
1289cb9
65e3e77
* Mon Oct 22 2007 Prarit Bhargava <prarit@redhat.com> - 1:2.9
65e3e77
- rebuild with version 2.9
e9891df
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.7-1.25.1
e9891df
- rebuild
e9891df
d2048bc
* Thu Feb 09 2006 Dave Jones <davej@redhat.com>
d2048bc
- rebuild.
d2048bc
178cdc1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
178cdc1
- rebuilt
178cdc1
6b3e14a
* Mon Nov 28 2005 Dave Jones <davej@redhat.com>
6b3e14a
- Integrate several specfile cleanups from Robert Scheck. (#172543)
6b3e14a
953b5ab
* Sat Sep 24 2005 Dave Jones <davej@redhat.com>
953b5ab
- Revert yesterdays patch, its unneeded in 2.7
953b5ab
568e066
* Fri Sep 23 2005 Dave Jones <davej@redhat.com>
568e066
- Don't try to modify areas mmap'd read-only.
991adee
- Don't build on ia64 any more.
991adee
  (It breaks on some boxes very badly, and works on very few).
568e066
8614754
* Mon Sep 12 2005 Dave Jones <davej@redhat.com>
8614754
- Update to upstream 2.7
8614754
Florian La Roche 8fc9576
* Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche 8fc9576
- remove empty scripts
Florian La Roche 8fc9576
3372fdb
* Wed Mar  2 2005 Dave Jones <davej@redhat.com>
3372fdb
- Update to upstream 2.6
3372fdb
3505d65
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
3505d65
- Rebuild for gcc4
3505d65
b64467b
* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
b64467b
- Rebuild with -D_FORTIFY_SOURCE=2
b64467b
6b1ed89
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
6b1ed89
- Add missing Obsoletes: kernel-utils
6b1ed89
8e813c5
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
8e813c5
- Update to upstream 2.5 release.
8e813c5
8e813c5
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
a09c31f
- Initial packaging, based upon kernel-utils package.
a09c31f