From a421b0fd372efb625c5f03dbcde1c4216a36c07d Mon Sep 17 00:00:00 2001 From: Prarit Bhargava Date: Wed, 3 Nov 2021 08:13:42 -0400 Subject: [PATCH] pcm: Initial import Initial import of pcm spec and sources. Resolves: bz2012977 Signed-off-by: Prarit Bhargava --- .gitignore | 2 ++ gating.yaml | 11 +++++++ pcm.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 98 insertions(+) create mode 100644 gating.yaml create mode 100644 pcm.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..f910169 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/*.tar.* +0*.patch diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..f5ed0d0 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,11 @@ +--- !Policy + +product_versions: + + - rhel-9 + +decision_context: osci_compose_gate + +rules: + + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/pcm.spec b/pcm.spec new file mode 100644 index 0000000..ea10f32 --- /dev/null +++ b/pcm.spec @@ -0,0 +1,84 @@ +Name: pcm +Version: 202107 +Release: 5%{?dist} +Summary: Processor Counter Monitor +License: BSD +Url: https://github.com/opcm/pcm +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: make +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. + +%prep +%autosetup + +%build +%set_build_flags +%make_build + +%install +%make_install + +%files +%license license.txt +%doc LINUX_HOWTO.txt README.md FAQ.md +%{_sbindir}/%{name}-core +%{_sbindir}/%{name}-iio +%{_sbindir}/%{name}-latency +%{_sbindir}/%{name}-lspci +%{_sbindir}/%{name}-memory +%{_sbindir}/%{name}-msr +%{_sbindir}/%{name}-mmio +%{_sbindir}/%{name}-numa +%{_sbindir}/%{name}-pcicfg +%{_sbindir}/%{name}-pcie +%{_sbindir}/%{name}-power +%{_sbindir}/%{name}-sensor +%{_sbindir}/%{name}-sensor-server +%{_sbindir}/%{name}-tsx +%{_sbindir}/%{name}-raw +%{_sbindir}/%{name} +%{_bindir}/%{name}-client +%{_sbindir}/%{name}-daemon +%{_sbindir}/%{name}-bw-histogram +%{_datadir}/%{name}/ + +%changelog +* Mon Jul 26 2021 Roman Dementiev 0.1-8 +- Update to version 202107 +- Add pcm-mmio utility to rpm spec + +* Thu Jul 22 2021 Fedora Release Engineering - 202105-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Apr 13 2021 Roman Dementiev 0.1-7 +- Implement suggestions from Fedora review. + +* Fri Mar 26 2021 William Cohen 0.1-6 +- Clean up pcm.spec. + +* Tue Aug 25 2020 Roman Dementiev 0.1-5 +- Add pcm-raw under %files + +* Wed Apr 01 2020 Otto Bruggeman 0.1-4 +- Add pcm-sensor-server under %files + +* Mon Nov 25 2019 Roman Dementiev 0.1-3 +- call make install and use %{_sbindir} or %{_bindir} + +* Mon Oct 21 2019 Roman Dementiev 0.1-2 +- add opCode file to /usr/share/pcm +- use "install" to copy pcm-bw-histogram.sh + +* Fri Oct 18 2019 Roman Dementiev 0.1-1 +- created spec file + diff --git a/sources b/sources new file mode 100644 index 0000000..b07ad15 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pcm-202107.tar.gz) = 5c8d3d81c300ac05b219df751e37d24d31041e41de8a86e4df82ef7a59233b5354239eaa1923bbdb50fcbfa943cad47f982f5479a39e295a2589adfbe17e6d64