1 | Summary: Tool to analyse BIOS DMI data. |
---|
2 | Summary(ja): BIOS DMI データを表示するツール |
---|
3 | Name: dmidecode |
---|
4 | Version: 3.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: System Environment/Base |
---|
7 | License: GPL |
---|
8 | URL: http://www.nongnu.org/dmidecode/ |
---|
9 | Source0: http://download.savannah.gnu.org/releases/dmidecode/dmidecode-%{version}.tar.xz |
---|
10 | Patch0: 0001-dmidecode-Fix-Redfish-Hostname-print-length.patch |
---|
11 | Patch1: 0002-dmidecode-Don-t-use-memcpy-on-dev-mem-on-arm64.patch |
---|
12 | Patch2: 0003-dmidecode-Use-the-most-appropriate-unit-for-cache-si.patch |
---|
13 | Patch3: 0004-dmidecode-Use-dmi_cache_size_2-in-dmi_cache_size.patch |
---|
14 | Patch4: 0005-dmidecode-Add-Logical-non-volatile-device-to-the-mem.patch |
---|
15 | Patch5: 0006-dmidecode-Reformat-the-FILES-section-of-the-manual-p.patch |
---|
16 | Patch6: 0007-dmidecode-Document-how-the-UUID-fields-are-interpret.patch |
---|
17 | Patch7: 0008-Use-comments-to-separate-sections-in-manual-pages.patch |
---|
18 | Patch8: 0009-dmidecode-Add-missing-standard-include.patch |
---|
19 | Patch9: 0010-dmidecode-Only-scan-dev-mem-for-entry-point-on-x86.patch |
---|
20 | Patch10: 0011-Use-larger-units-for-memory-device-and-BIOS-size.patch |
---|
21 | Patch11: 0012-Fix-formatting-of-TPM-table-output.patch |
---|
22 | Patch12: 0013-dmidecode-Adding-bios-revision-to-s-option.patch |
---|
23 | Patch13: 0014-dmidecode-Adding-firmware-revision-support-to-s-opti.patch |
---|
24 | Patch14: 0015-dmidecode-Fix-System-Slot-Information-for-PCIe-SSD.patch |
---|
25 | Patch15: 0016-Typo.patch |
---|
26 | Patch16: 0017-dmidecode-Add-enumerated-values-from-SMBIOS-3.3.0.patch |
---|
27 | Patch17: 0018-dmidecode-Decode-system-slot-base-bus-width-and-peer.patch |
---|
28 | |
---|
29 | |
---|
30 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
31 | BuildRequires: automake, autoconf |
---|
32 | ExclusiveArch: %{ix86} x86_64 ia64 |
---|
33 | Obsoletes: kernel-utils |
---|
34 | |
---|
35 | Vendor: Project Vine |
---|
36 | Distribution: Vine Linux |
---|
37 | Packager: shaolin, daisuke |
---|
38 | |
---|
39 | |
---|
40 | %description |
---|
41 | dmidecode reports information about x86 & ia64 hardware as described in the |
---|
42 | system BIOS according to the SMBIOS/DMI standard. This information |
---|
43 | typically includes system manufacturer, model name, serial number, |
---|
44 | BIOS version, asset tag as well as a lot of other details of varying |
---|
45 | level of interest and reliability depending on the manufacturer. |
---|
46 | |
---|
47 | This will often include usage status for the CPU sockets, expansion |
---|
48 | slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of |
---|
49 | I/O ports (e.g. serial, parallel, USB). |
---|
50 | |
---|
51 | %description -l ja |
---|
52 | dmidecode を使うと、SMBIOS/DMI 規格に基づき、BIOS 上の |
---|
53 | x86 / ia64 ハードウェア情報を表示することができます。 |
---|
54 | 表示される情報には、ハードウェアの製造元、モデル名、シリアル番号、 |
---|
55 | BIOS のバージョンなど、数多くの詳細なハードウェア情報が含まれます。 |
---|
56 | |
---|
57 | |
---|
58 | %prep |
---|
59 | %setup -q |
---|
60 | %patch0 -p1 |
---|
61 | %patch1 -p1 |
---|
62 | %patch2 -p1 |
---|
63 | %patch3 -p1 |
---|
64 | %patch4 -p1 |
---|
65 | %patch5 -p1 |
---|
66 | %patch6 -p1 |
---|
67 | %patch7 -p1 |
---|
68 | %patch8 -p1 |
---|
69 | %patch9 -p1 |
---|
70 | %patch10 -p1 |
---|
71 | %patch11 -p1 |
---|
72 | %patch12 -p1 |
---|
73 | %patch13 -p1 |
---|
74 | %patch14 -p1 |
---|
75 | %patch15 -p1 |
---|
76 | %patch16 -p1 |
---|
77 | %patch17 -p1 |
---|
78 | |
---|
79 | %build |
---|
80 | %make_build CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" |
---|
81 | |
---|
82 | |
---|
83 | %install |
---|
84 | rm -rf %{buildroot} |
---|
85 | make DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man |
---|
86 | |
---|
87 | |
---|
88 | %clean |
---|
89 | rm -rf %{buildroot} |
---|
90 | |
---|
91 | |
---|
92 | %files |
---|
93 | %defattr(-,root,root) |
---|
94 | %license LICENSE |
---|
95 | %doc AUTHORS CHANGELOG README |
---|
96 | %{_sbindir}/dmidecode |
---|
97 | %ifnarch ia64 |
---|
98 | %{_sbindir}/vpddecode |
---|
99 | %{_sbindir}/ownership |
---|
100 | %{_sbindir}/biosdecode |
---|
101 | %endif |
---|
102 | %{_mandir}/man8/* |
---|
103 | |
---|
104 | |
---|
105 | %changelog |
---|
106 | * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.2-1 |
---|
107 | - new upstream release. |
---|
108 | - replaced all patches with rawhide's. |
---|
109 | |
---|
110 | * Mon Jan 13 2014 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12-1 |
---|
111 | - new upstream release |
---|
112 | - import patch0 from Fedora |
---|
113 | |
---|
114 | * Fri Apr 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11-1 |
---|
115 | - update to 2.11 |
---|
116 | |
---|
117 | * Fri May 23 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.9-2 |
---|
118 | - spec in UTF-8 |
---|
119 | |
---|
120 | * Sat May 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.9-1 |
---|
121 | - initial build for Vine Linux |
---|
122 | |
---|
123 | * Sat May 10 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1:2.9-1.30.1 |
---|
124 | - initial build for Vine Linux |
---|
125 | |
---|
126 | * Fri Mar 14 2008 Doug Chapman <doug.chapman@hp.com> 1:2.9-1.29.1 |
---|
127 | - Do not package vpddecode, ownership and biosdecode on ia64 since those are x86 only |
---|
128 | |
---|
129 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:2.9-1.27.1 |
---|
130 | - Autorebuild for GCC 4.3 |
---|
131 | |
---|
132 | * Mon Oct 22 2007 Prarit Bhargava <prarit@redhat.com> - 1:2.9 |
---|
133 | - rebuild with version 2.9 |
---|
134 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.7-1.25.1 |
---|
135 | - rebuild |
---|
136 | |
---|
137 | * Thu Feb 09 2006 Dave Jones <davej@redhat.com> |
---|
138 | - rebuild. |
---|
139 | |
---|
140 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
141 | - rebuilt |
---|
142 | |
---|
143 | * Mon Nov 28 2005 Dave Jones <davej@redhat.com> |
---|
144 | - Integrate several specfile cleanups from Robert Scheck. (#172543) |
---|
145 | |
---|
146 | * Sat Sep 24 2005 Dave Jones <davej@redhat.com> |
---|
147 | - Revert yesterdays patch, its unneeded in 2.7 |
---|
148 | |
---|
149 | * Fri Sep 23 2005 Dave Jones <davej@redhat.com> |
---|
150 | - Don't try to modify areas mmap'd read-only. |
---|
151 | - Don't build on ia64 any more. |
---|
152 | (It breaks on some boxes very badly, and works on very few). |
---|
153 | |
---|
154 | * Mon Sep 12 2005 Dave Jones <davej@redhat.com> |
---|
155 | - Update to upstream 2.7 |
---|
156 | |
---|
157 | * Fri Apr 15 2005 Florian La Roche <laroche@redhat.com> |
---|
158 | - remove empty scripts |
---|
159 | |
---|
160 | * Wed Mar 2 2005 Dave Jones <davej@redhat.com> |
---|
161 | - Update to upstream 2.6 |
---|
162 | |
---|
163 | * Tue Mar 1 2005 Dave Jones <davej@redhat.com> |
---|
164 | - Rebuild for gcc4 |
---|
165 | |
---|
166 | * Tue Feb 8 2005 Dave Jones <davej@redhat.com> |
---|
167 | - Rebuild with -D_FORTIFY_SOURCE=2 |
---|
168 | |
---|
169 | * Tue Jan 11 2005 Dave Jones <davej@redhat.com> |
---|
170 | - Add missing Obsoletes: kernel-utils |
---|
171 | |
---|
172 | * Mon Jan 10 2005 Dave Jones <davej@redhat.com> |
---|
173 | - Update to upstream 2.5 release. |
---|
174 | |
---|
175 | * Sat Dec 18 2004 Dave Jones <davej@redhat.com> |
---|
176 | - Initial packaging, based upon kernel-utils package. |
---|
177 | |
---|