2009-04-08 04:32:10 +02:00
|
|
|
#
|
2011-01-24 16:17:46 +01:00
|
|
|
# spec file for package dmidecode
|
2009-04-08 04:32:10 +02:00
|
|
|
#
|
Accepting request 1175720 from home:jdelvare:branches:Base:System
- Update to upstream version 3.6:
* Support for SMBIOS 3.6.0. This includes new memory device types, new
processor upgrades, and Loongarch support.
* Support for SMBIOS 3.7.0. This includes new port types, new processor
upgrades, new slot characteristics and new fields for memory modules.
* Add bash completion.
* Decode HPE OEM records 197, 239 and 245.
* Implement options --list-strings and --list-types.
* Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
* Update Redfish support.
* Bug fixes:
Fix enabled slot characteristics not being printed
* Minor improvements:
Print slot width on its own line
Use standard strings for slot width
* Obsoletes arm-use-alignment-workaround.patch,
dmioem-hpe-oem-record-237-firmware-change.patch and
use-read_file-to-read-from-dump.patch.
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
HPE type 238 records.
- Drop legacy Provides: and Obsoletes: tags. The split from the
pmtools package happened 15 years ago so they are no longer
relevant.
OBS-URL: https://build.opensuse.org/request/show/1175720
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=75
2024-05-24 13:59:11 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-04-08 04:32:10 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-14 16:33:32 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-04-08 04:32:10 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: dmidecode
|
Accepting request 1175720 from home:jdelvare:branches:Base:System
- Update to upstream version 3.6:
* Support for SMBIOS 3.6.0. This includes new memory device types, new
processor upgrades, and Loongarch support.
* Support for SMBIOS 3.7.0. This includes new port types, new processor
upgrades, new slot characteristics and new fields for memory modules.
* Add bash completion.
* Decode HPE OEM records 197, 239 and 245.
* Implement options --list-strings and --list-types.
* Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
* Update Redfish support.
* Bug fixes:
Fix enabled slot characteristics not being printed
* Minor improvements:
Print slot width on its own line
Use standard strings for slot width
* Obsoletes arm-use-alignment-workaround.patch,
dmioem-hpe-oem-record-237-firmware-change.patch and
use-read_file-to-read-from-dump.patch.
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
HPE type 238 records.
- Drop legacy Provides: and Obsoletes: tags. The split from the
pmtools package happened 15 years ago so they are no longer
relevant.
OBS-URL: https://build.opensuse.org/request/show/1175720
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=75
2024-05-24 13:59:11 +02:00
|
|
|
Version: 3.6
|
2013-03-25 16:30:46 +01:00
|
|
|
Release: 0
|
2009-04-08 04:32:10 +02:00
|
|
|
Summary: DMI table decoder
|
2019-01-14 16:33:32 +01:00
|
|
|
License: GPL-2.0-or-later
|
2013-03-25 16:30:46 +01:00
|
|
|
Group: System/Console
|
2020-04-21 12:36:12 +02:00
|
|
|
URL: http://www.nongnu.org/dmidecode/
|
2015-09-03 11:05:34 +02:00
|
|
|
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.sig
|
2015-02-22 10:08:19 +01:00
|
|
|
# https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode
|
2018-09-17 13:17:57 +02:00
|
|
|
Source2: %{name}.keyring
|
Accepting request 1175720 from home:jdelvare:branches:Base:System
- Update to upstream version 3.6:
* Support for SMBIOS 3.6.0. This includes new memory device types, new
processor upgrades, and Loongarch support.
* Support for SMBIOS 3.7.0. This includes new port types, new processor
upgrades, new slot characteristics and new fields for memory modules.
* Add bash completion.
* Decode HPE OEM records 197, 239 and 245.
* Implement options --list-strings and --list-types.
* Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
* Update Redfish support.
* Bug fixes:
Fix enabled slot characteristics not being printed
* Minor improvements:
Print slot width on its own line
Use standard strings for slot width
* Obsoletes arm-use-alignment-workaround.patch,
dmioem-hpe-oem-record-237-firmware-change.patch and
use-read_file-to-read-from-dump.patch.
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
HPE type 238 records.
- Drop legacy Provides: and Obsoletes: tags. The split from the
pmtools package happened 15 years ago so they are no longer
relevant.
OBS-URL: https://build.opensuse.org/request/show/1175720
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=75
2024-05-24 13:59:11 +02:00
|
|
|
Patch1: dmioem-update-hpe-oem-type-238.patch
|
2009-04-08 04:32:10 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-09-03 11:37:06 +02:00
|
|
|
BuildRequires: xz
|
2024-05-31 13:49:56 +02:00
|
|
|
ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 riscv64
|
2009-04-08 04:32:10 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Dmidecode reports information about your system's hardware as described
|
|
|
|
in your system BIOS according to the SMBIOS/DMI standard. This
|
|
|
|
information typically includes system manufacturer, model name, serial
|
|
|
|
number, BIOS version, asset tag as well as a lot of other details of
|
|
|
|
varying level of interest and reliability depending on the
|
|
|
|
manufacturer. This will often include usage status for the CPU sockets,
|
|
|
|
expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the
|
|
|
|
list of I/O ports (e.g. serial, parallel, USB).
|
|
|
|
|
|
|
|
Beware that DMI data have proven to be too unreliable to be blindly
|
|
|
|
trusted. Dmidecode does not scan your hardware, it only reports what
|
|
|
|
the BIOS told it to.
|
|
|
|
|
|
|
|
%prep
|
2024-02-26 17:48:20 +01:00
|
|
|
%autosetup -p1
|
2009-04-08 04:32:10 +02:00
|
|
|
|
|
|
|
%build
|
2020-04-21 12:36:12 +02:00
|
|
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
2009-04-08 04:32:10 +02:00
|
|
|
|
|
|
|
%install
|
2015-02-22 09:59:42 +01:00
|
|
|
install -dm 755 %{buildroot}%{_sbindir}
|
2009-04-08 04:32:10 +02:00
|
|
|
install -dm 755 %{buildroot}%{_mandir}/man8
|
|
|
|
install -dm 755 %{buildroot}%{_docdir}/%{name}
|
Accepting request 1175720 from home:jdelvare:branches:Base:System
- Update to upstream version 3.6:
* Support for SMBIOS 3.6.0. This includes new memory device types, new
processor upgrades, and Loongarch support.
* Support for SMBIOS 3.7.0. This includes new port types, new processor
upgrades, new slot characteristics and new fields for memory modules.
* Add bash completion.
* Decode HPE OEM records 197, 239 and 245.
* Implement options --list-strings and --list-types.
* Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
* Update Redfish support.
* Bug fixes:
Fix enabled slot characteristics not being printed
* Minor improvements:
Print slot width on its own line
Use standard strings for slot width
* Obsoletes arm-use-alignment-workaround.patch,
dmioem-hpe-oem-record-237-firmware-change.patch and
use-read_file-to-read-from-dump.patch.
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
HPE type 238 records.
- Drop legacy Provides: and Obsoletes: tags. The split from the
pmtools package happened 15 years ago so they are no longer
relevant.
OBS-URL: https://build.opensuse.org/request/show/1175720
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=75
2024-05-24 13:59:11 +02:00
|
|
|
install -dm 755 %{buildroot}%{_datadir}/bash-completion/completions/
|
2024-05-31 13:49:56 +02:00
|
|
|
%ifarch ia64 %arm aarch64 riscv64
|
2009-04-08 04:32:10 +02:00
|
|
|
for i in dmidecode ; do
|
|
|
|
%else
|
|
|
|
for i in dmidecode vpddecode ownership biosdecode ; do
|
|
|
|
%endif
|
2015-02-22 09:59:42 +01:00
|
|
|
install -m 755 $i %{buildroot}%{_sbindir}/
|
2009-04-08 04:32:10 +02:00
|
|
|
install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/
|
Accepting request 1175720 from home:jdelvare:branches:Base:System
- Update to upstream version 3.6:
* Support for SMBIOS 3.6.0. This includes new memory device types, new
processor upgrades, and Loongarch support.
* Support for SMBIOS 3.7.0. This includes new port types, new processor
upgrades, new slot characteristics and new fields for memory modules.
* Add bash completion.
* Decode HPE OEM records 197, 239 and 245.
* Implement options --list-strings and --list-types.
* Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
* Update Redfish support.
* Bug fixes:
Fix enabled slot characteristics not being printed
* Minor improvements:
Print slot width on its own line
Use standard strings for slot width
* Obsoletes arm-use-alignment-workaround.patch,
dmioem-hpe-oem-record-237-firmware-change.patch and
use-read_file-to-read-from-dump.patch.
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
HPE type 238 records.
- Drop legacy Provides: and Obsoletes: tags. The split from the
pmtools package happened 15 years ago so they are no longer
relevant.
OBS-URL: https://build.opensuse.org/request/show/1175720
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=75
2024-05-24 13:59:11 +02:00
|
|
|
install -m 644 completion/$i.bash %{buildroot}%{_datadir}/bash-completion/completions/$i
|
2009-04-08 04:32:10 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-02-22 09:59:42 +01:00
|
|
|
%{_sbindir}/*
|
2018-09-17 13:29:18 +02:00
|
|
|
%dir %{_docdir}/%{name}
|
2019-01-16 10:26:04 +01:00
|
|
|
%doc AUTHORS NEWS README
|
2015-02-22 09:59:42 +01:00
|
|
|
%{_mandir}/man8/*
|
Accepting request 1175720 from home:jdelvare:branches:Base:System
- Update to upstream version 3.6:
* Support for SMBIOS 3.6.0. This includes new memory device types, new
processor upgrades, and Loongarch support.
* Support for SMBIOS 3.7.0. This includes new port types, new processor
upgrades, new slot characteristics and new fields for memory modules.
* Add bash completion.
* Decode HPE OEM records 197, 239 and 245.
* Implement options --list-strings and --list-types.
* Update HPE OEM records 203, 212, 216, 221, 233, 236, 238 and 242.
* Update Redfish support.
* Bug fixes:
Fix enabled slot characteristics not being printed
* Minor improvements:
Print slot width on its own line
Use standard strings for slot width
* Obsoletes arm-use-alignment-workaround.patch,
dmioem-hpe-oem-record-237-firmware-change.patch and
use-read_file-to-read-from-dump.patch.
- dmioem-update-hpe-oem-type-238.patch: Decode PCI bus segment in
HPE type 238 records.
- Drop legacy Provides: and Obsoletes: tags. The split from the
pmtools package happened 15 years ago so they are no longer
relevant.
OBS-URL: https://build.opensuse.org/request/show/1175720
OBS-URL: https://build.opensuse.org/package/show/Base:System/dmidecode?expand=0&rev=75
2024-05-24 13:59:11 +02:00
|
|
|
%{_datadir}/bash-completion/completions/*
|
2019-01-14 16:33:32 +01:00
|
|
|
%license LICENSE
|
2009-04-08 04:32:10 +02:00
|
|
|
|
|
|
|
%changelog
|