Skip to content

Commit 46eccc4

Browse files
authored
Merge pull request #286 from opcm/fedora_spec
Fedora spec update
2 parents 9407632 + 0e68f19 commit 46eccc4

File tree

2 files changed

+77
-76
lines changed

2 files changed

+77
-76
lines changed

fedora.spec

Lines changed: 0 additions & 76 deletions
This file was deleted.

fedora/pcm.spec

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
Name: pcm
2+
Version: 202103
3+
Release: 1%{?dist}
4+
Summary: Processor Counter Monitor
5+
License: BSD
6+
Url: https://github.com/opcm/pcm
7+
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
8+
BuildRequires: gcc
9+
BuildRequires: gcc-c++
10+
BuildRequires: make
11+
ExclusiveArch: %{ix86} x86_64
12+
13+
%description
14+
15+
Processor Counter Monitor (PCM) is an application programming
16+
interface (API) and a set of tools based on the API to monitor
17+
performance and energy metrics of Intel(r) Core(tm), Xeon(r), Atom(tm)
18+
and Xeon Phi(tm) processors. PCM works on Linux, Windows, Mac OS X,
19+
FreeBSD and DragonFlyBSD operating systems.
20+
21+
%prep
22+
%autosetup
23+
24+
%build
25+
%set_build_flags
26+
%make_build
27+
28+
%install
29+
%make_install
30+
31+
%files
32+
%license license.txt
33+
%doc LINUX_HOWTO.txt README.md FAQ.md
34+
%{_sbindir}/%{name}-core
35+
%{_sbindir}/%{name}-iio
36+
%{_sbindir}/%{name}-latency
37+
%{_sbindir}/%{name}-lspci
38+
%{_sbindir}/%{name}-memory
39+
%{_sbindir}/%{name}-msr
40+
%{_sbindir}/%{name}-numa
41+
%{_sbindir}/%{name}-pcicfg
42+
%{_sbindir}/%{name}-pcie
43+
%{_sbindir}/%{name}-power
44+
%{_sbindir}/%{name}-sensor
45+
%{_sbindir}/%{name}-sensor-server
46+
%{_sbindir}/%{name}-tsx
47+
%{_sbindir}/%{name}-raw
48+
%{_sbindir}/%{name}
49+
%{_bindir}/%{name}-client
50+
%{_sbindir}/%{name}-daemon
51+
%{_sbindir}/%{name}-bw-histogram
52+
%{_datadir}/%{name}/
53+
%{_datadir}/%{name}/opCode.txt
54+
55+
%changelog
56+
* Tue Apr 13 2021 Roman Dementiev <[email protected]> 0.1-7
57+
- Implement suggestions from Fedora review.
58+
59+
* Fri Mar 26 2021 William Cohen <[email protected]> 0.1-6
60+
- Clean up pcm.spec.
61+
62+
* Tue Aug 25 2020 - [email protected] 0.1-5
63+
- Add pcm-raw under %files
64+
65+
* Wed Apr 01 2020 - [email protected] 0.1-4
66+
- Add pcm-sensor-server under %files
67+
68+
* Mon Nov 25 2019 - [email protected] 0.1-3
69+
- call make install and use %{_sbindir} or %{_bindir}
70+
71+
* Mon Oct 21 2019 - [email protected] 0.1-2
72+
- add opCode file to /usr/share/pcm
73+
- use "install" to copy pcm-bw-histogram.sh
74+
75+
* Fri Oct 18 2019 - [email protected] 0.1-1
76+
- created spec file
77+

0 commit comments

Comments
 (0)