From e675dcb5aa85eea6f0ccedba5d3b7187bf99e021 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 16 May 2023 06:11:38 +0000 Subject: [PATCH] import pcm-202211-0.el8 --- .gitignore | 2 +- .pcm.metadata | 2 +- SPECS/pcm.spec | 47 ++++++++++++++++++++++++++++++++++------------- 3 files changed, 36 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 970fd71..30fcbba 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/pcm-202107.tar.gz +SOURCES/pcm-202211.tar.gz diff --git a/.pcm.metadata b/.pcm.metadata index f1bde58..4102b77 100644 --- a/.pcm.metadata +++ b/.pcm.metadata @@ -1 +1 @@ -5bd403b68a0e10a0bab48ecad70e39ec4a03345f SOURCES/pcm-202107.tar.gz +d22461c61423ffa55d8c8a69be311bf2bb0a00e0 SOURCES/pcm-202211.tar.gz diff --git a/SPECS/pcm.spec b/SPECS/pcm.spec index ea10f32..f7c483e 100644 --- a/SPECS/pcm.spec +++ b/SPECS/pcm.spec @@ -1,36 +1,40 @@ Name: pcm -Version: 202107 -Release: 5%{?dist} -Summary: Processor Counter Monitor +Version: 202211 +Release: 0%{?dist} +Summary: Intel(r) Performance Counter Monitor License: BSD -Url: https://github.com/opcm/pcm +Url: https://github.com/intel/pcm Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make +BuildRequires: cmake ExclusiveArch: %{ix86} x86_64 %description -Processor Counter Monitor (PCM) is an application programming -interface (API) and a set of tools based on the API to monitor -performance and energy metrics of Intel(r) Core(tm), Xeon(r), Atom(tm) -and Xeon Phi(tm) processors. PCM works on Linux, Windows, Mac OS X, -FreeBSD and DragonFlyBSD operating systems. +Intel(r) Performance Counter Monitor (Intel(r) PCM) is an application +programming interface (API) and a set of tools based on the API to +monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r), +Atom(tm) and Xeon Phi(tm) processors. PCM works on Linux, Windows, +Mac OS X, FreeBSD and DragonFlyBSD operating systems. %prep %autosetup %build %set_build_flags -%make_build +%cmake -DCMAKE_BUILD_TYPE=CUSTOM +%cmake_build %install -%make_install +%cmake_install +rm -rf %{buildroot}/usr/share/doc/PCM/*.md +rm -rf %{buildroot}/usr/share/doc/PCM/*.txt %files -%license license.txt -%doc LINUX_HOWTO.txt README.md FAQ.md +%license LICENSE +%doc doc/LINUX_HOWTO.txt README.md doc/FAQ.md doc/CUSTOM-COMPILE-OPTIONS.md doc/ENVVAR_README.md doc/PCM-EXPORTER.md doc/PCM-SENSOR-SERVER-README.md doc/PCM_RAW_README.md doc/DOCKER_README.md doc/license.txt %{_sbindir}/%{name}-core %{_sbindir}/%{name}-iio %{_sbindir}/%{name}-latency @@ -39,6 +43,7 @@ FreeBSD and DragonFlyBSD operating systems. %{_sbindir}/%{name}-msr %{_sbindir}/%{name}-mmio %{_sbindir}/%{name}-numa +%{_sbindir}/%{name}-accel %{_sbindir}/%{name}-pcicfg %{_sbindir}/%{name}-pcie %{_sbindir}/%{name}-power @@ -53,6 +58,22 @@ FreeBSD and DragonFlyBSD operating systems. %{_datadir}/%{name}/ %changelog +* Wed Jan 11 2023 Prarit Bhargava 202211-0 +- Import into RHEL8 + +* Thu Nov 24 2022 Roman Dementiev 0.1-10 +- Update to new upstream repository location and the name +- Update to version 202211 + +* Tue Jul 26 2022 Roman Dementiev 0.1-9 +- Update to version 202207 + +* Fri Jul 22 2022 Fedora Release Engineering - 202205-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 202112-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Jul 26 2021 Roman Dementiev 0.1-8 - Update to version 202107 - Add pcm-mmio utility to rpm spec