Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
dmidecode
dmidecode.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dmidecode.spec of Package dmidecode
# # spec file for package dmidecode # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: dmidecode Version: 3.2 Release: 0 Summary: DMI table decoder License: GPL-2.0-or-later Group: System/Console Url: http://www.nongnu.org/dmidecode/ 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 # https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=dmidecode Source2: %{name}.keyring Patch1: dmidecode-fix-redfish-hostname-print-length.patch Patch2: dmidecode-add-logical-non-volatile-device.patch Patch3: dmidecode-only-scan-dev-mem-for-entry-point-on-x86.patch Patch4: dmidecode-fix-formatting-of-tpm-table-output.patch Patch5: dmidecode-fix-system-slot-information-for-pcie-ssd.patch Patch6: dmidecode-add-enumerated-values-from-smbios-3.3.0.patch Patch7: dmidecode-add-memory-device-types-from-smbios-3.4.0.patch Patch8: dmidecode-add-processor-upgrades-from-smbios-3.4.0.patch Patch9: dmidecode-add-slot-characteristics2-from-smbios-3.4.0.patch Patch10: dmidecode-add-system-slot-types-from-smbios-3.4.0.patch Patch11: dmidecode-add-processor-characteristics-bits-from-smbios-3.4.0.patch Patch12: dmidecode-skip-details-of-uninstalled-memory-modules.patch Patch13: dmidecode-missing-commas.patch Patch14: dmidecode-print-type-33-name-unconditionally.patch Patch15: dmidecode-fix-the-alignment-of-type-25-name.patch Patch16: dmidecode-fortify-entry-point-length-checks.patch Patch17: dmidecode-split-table-fetching-from-decoding.patch Patch18: dmidecode-write-the-whole-dump-file-at-once.patch Patch19: dmidecode-do-not-let-dump-bin-overwrite-an-existing-file.patch Patch20: ensure-dev-mem-is-a-character-device-file.patch Patch21: use-read_file-to-read-from-dump.patch Provides: pmtools:%{_sbindir}/dmidecode Obsoletes: pmtools < 20071117 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: xz ExclusiveArch: %ix86 ia64 x86_64 %arm aarch64 %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 %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %patch19 -p1 %patch20 -p1 %patch21 -p1 %build make CFLAGS="%{optflags}" %{?_smp_mflags} %install install -dm 755 %{buildroot}%{_sbindir} install -dm 755 %{buildroot}%{_mandir}/man8 install -dm 755 %{buildroot}%{_docdir}/%{name} %ifarch ia64 %arm aarch64 for i in dmidecode ; do %else for i in dmidecode vpddecode ownership biosdecode ; do %endif install -m 755 $i %{buildroot}%{_sbindir}/ install -m 644 man/$i.8 %{buildroot}%{_mandir}/man8/ done %files %defattr(-,root,root) %{_sbindir}/* %dir %{_docdir}/%{name} %doc AUTHORS NEWS README %{_mandir}/man8/* %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor