cpuid/cpuid.spec
Jan Engelhardt fdec99a785 Accepting request 1010493 from home:vlefebvre:branches:utilities
- Update to release 20221003
  * Added synth decoding for AMD Ryzen (Phoenix E0, Storm Peak A1)
  * Added synth & uarch synth decoding for
    * (0,6),(11,5) Intel Meteor Lake
    * (0,6),(11,6) Intel Grand Ridge (Crestmont)
    * (0,6),(11,14) Intel Granite Rapids
  * Renamed 7/0/eax enh hardware feedback to simply Thread Director.
  * Added 7/1/eax instructions ... 
  * Added 0x12/0/eax SGX ENCLU EDECCSA flag.
  * Added 0x23 Architecture Performance Monitoring Extended leaf decoding.
  * Corrected AVX512IFMA description: integer FMA, not just FMA.
- Release 20220927
  * Added synth decoding for (10,15),(6,1) Raphael
  * Fixed missing return statement in get_nr_cpu_ids()'s default case, 
    used by Cygwin.
  * Fixed title for AMD 0x8000001a leaf: Performance Optimization identifiers.
  [cpuid-20221003.src.tar.gz]

OBS-URL: https://build.opensuse.org/request/show/1010493
OBS-URL: https://build.opensuse.org/package/show/utilities/cpuid?expand=0&rev=37
2022-10-13 16:44:08 +00:00

58 lines
1.8 KiB
RPMSpec

#
# spec file for package cpuid
#
# Copyright (c) 2022 SUSE LLC
#
# 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: cpuid
Version: 20221003
Release: 0
Summary: x86 CPU identification tool
License: GPL-2.0-or-later
Group: System/Management
URL: http://etallen.com/cpuid.html
Source: http://etallen.com/cpuid/%name-%version.src.tar.gz
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: make
ExclusiveArch: %ix86 x86_64
%description
cpuid executes the CPUID instruction on x86-family CPUs and decodes
the results into English descriptions. It knows about Intel, AMD, and
Cyrix CPUs, and is fairly complete.
%prep
%setup -q
%build
# remove -Werror=format-security which is used on Mandriva, as it produces
# a false positive compiler error on several printf calls:
CFLAGS=$(echo "%optflags -Wall" | sed 's/-Werror=format-security//g')
%make_build CFLAGS="$CFLAGS"
%install
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir/man1"
install -pm0755 cpuid cpuinfo2cpuid "%buildroot/%_bindir/"
install -pm0644 cpuid.man "%buildroot/%_mandir/man1/cpuid.1"
%files
%doc ChangeLog
%license LICENSE
%_bindir/*
%_mandir/man1/*.1%{?ext_man}
%changelog