1 Star 0 Fork 20

xinminst/dmidecode

forked from src-openEuler/dmidecode 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dmidecode.spec 1.96 KB
一键复制 编辑 原始数据 按行查看 历史
xinminst 提交于 2021-08-16 09:19 . update dmidecode.spec.
Name: dmidecode
Version: 3.2
Release: 3
Epoch: 1
Summary: DMI data report tool
License: GPLv2+
URL: https://www.nongnu.org/dmidecode/
Source0: http://download.savannah.gnu.org/releases/dmidecode/%{name}-%{version}.tar.xz
Patch6000: bugfix-compat_uuid.patch
Patch6001: dmidecode-Fix-Redfish-Hostname-print-length.patch
Patch6002: dmidecode-Don-t-use-memcpy-on-dev-mem-on-arm64.patch
Patch6003: dmidecode-Use-the-most-appropriate-unit-for-cache-si.patch
Patch6004: dmidecode-Add-Logical-non-volatile-device-to-the-mem.patch
BuildRequires: make gcc xz
ExclusiveArch: %{ix86} x86_64 ia64 aarch64 amd64 riscv64
%description
Dmidecode reports information about your system's hardware as described
in your system BIOS according to the SMBIOS/DMI standard (see a sample
output). 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).
DMI data can be used to enable or disable specific portions of kernel code
depending on the specific hardware. Thus, one use of dmidecode is for kernel
developers to detect system "signatures" and add them to the kernel source code
when needed.
%prep
%autosetup -n %{name}-%{version} -p1
%build
# biosdecode ownership vpddecode programs are only useful on x86,
# so Makefile atuo compiled target programs depend on arch.
make %{?_smp_mflags} CFLAGS="%{__global_cflags}" LDFLAGS="%{__global_ldflags}"
%install
%make_install prefix=%{_prefix}
%files
%license LICENSE
%{_sbindir}/*
%{_docdir}/%{name}/*
%{_mandir}/man8/*.8.gz
%changelog
* Mon Aug 16 2021 xinminst <xuzhiling19991120@163.com> - 1:3.2-2
- add riscv64 to ExclusiveArch
* Wed Aug 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:3.2-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xinminst/dmidecode.git
git@gitee.com:xinminst/dmidecode.git
xinminst
dmidecode
dmidecode
master

搜索帮助