Blame SPECS/pcm.spec

34fb4e
Name:           pcm
4e02fa
Version:        202211
4e02fa
Release:        0%{?dist}
4e02fa
Summary:        Intel(r) Performance Counter Monitor
34fb4e
License:        BSD
4e02fa
Url:            https://github.com/intel/pcm
34fb4e
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
34fb4e
BuildRequires:  gcc
34fb4e
BuildRequires:  gcc-c++
34fb4e
BuildRequires:  make
4e02fa
BuildRequires:  cmake
34fb4e
ExclusiveArch:  %{ix86} x86_64
34fb4e
34fb4e
%description
34fb4e
4e02fa
Intel(r) Performance Counter Monitor (Intel(r) PCM) is an application
4e02fa
programming interface (API) and a set of tools based on the API to
4e02fa
monitor performance and energy metrics of Intel(r) Core(tm), Xeon(r),
4e02fa
Atom(tm) and Xeon Phi(tm) processors. PCM works on Linux, Windows,
4e02fa
Mac OS X, FreeBSD and DragonFlyBSD operating systems.
34fb4e
34fb4e
%prep
34fb4e
%autosetup
34fb4e
34fb4e
%build
34fb4e
%set_build_flags
4e02fa
%cmake -DCMAKE_BUILD_TYPE=CUSTOM 
4e02fa
%cmake_build
34fb4e
34fb4e
%install
4e02fa
%cmake_install
4e02fa
rm -rf %{buildroot}/usr/share/doc/PCM/*.md
4e02fa
rm -rf %{buildroot}/usr/share/doc/PCM/*.txt
34fb4e
34fb4e
%files
4e02fa
%license LICENSE
4e02fa
%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
34fb4e
%{_sbindir}/%{name}-core
34fb4e
%{_sbindir}/%{name}-iio
34fb4e
%{_sbindir}/%{name}-latency
34fb4e
%{_sbindir}/%{name}-lspci
34fb4e
%{_sbindir}/%{name}-memory
34fb4e
%{_sbindir}/%{name}-msr
34fb4e
%{_sbindir}/%{name}-mmio
34fb4e
%{_sbindir}/%{name}-numa
4e02fa
%{_sbindir}/%{name}-accel
34fb4e
%{_sbindir}/%{name}-pcicfg
34fb4e
%{_sbindir}/%{name}-pcie
34fb4e
%{_sbindir}/%{name}-power
34fb4e
%{_sbindir}/%{name}-sensor
34fb4e
%{_sbindir}/%{name}-sensor-server
34fb4e
%{_sbindir}/%{name}-tsx
34fb4e
%{_sbindir}/%{name}-raw
34fb4e
%{_sbindir}/%{name}
34fb4e
%{_bindir}/%{name}-client
34fb4e
%{_sbindir}/%{name}-daemon
34fb4e
%{_sbindir}/%{name}-bw-histogram
34fb4e
%{_datadir}/%{name}/
34fb4e
34fb4e
%changelog
4e02fa
* Wed Jan 11 2023 Prarit Bhargava <prarit@redhat.com> 202211-0
4e02fa
- Import into RHEL8
4e02fa
4e02fa
* Thu Nov 24 2022 Roman Dementiev <roman.dementiev@intel.com> 0.1-10
4e02fa
- Update to new upstream repository location and the name
4e02fa
- Update to version 202211
4e02fa
4e02fa
* Tue Jul 26 2022 Roman Dementiev <roman.dementiev@intel.com> 0.1-9
4e02fa
- Update to version 202207
4e02fa
4e02fa
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 202205-2
4e02fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4e02fa
4e02fa
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 202112-2
4e02fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
4e02fa
34fb4e
* Mon Jul 26 2021 Roman Dementiev <roman.dementiev@intel.com> 0.1-8
34fb4e
- Update to version 202107
34fb4e
- Add pcm-mmio utility to rpm spec
34fb4e
34fb4e
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 202105-2
34fb4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
34fb4e
34fb4e
* Tue Apr 13 2021 Roman Dementiev <roman.dementiev@intel.com> 0.1-7
34fb4e
- Implement suggestions from Fedora review.
34fb4e
34fb4e
* Fri Mar 26 2021 William Cohen <wcohen@redhat.com> 0.1-6
34fb4e
- Clean up pcm.spec.
34fb4e
34fb4e
* Tue Aug 25 2020 Roman Dementiev <roman.dementiev@intel.com> 0.1-5
34fb4e
- Add pcm-raw under %files
34fb4e
34fb4e
* Wed Apr 01 2020 Otto Bruggeman <otto.g.bruggeman@intel.com> 0.1-4
34fb4e
- Add pcm-sensor-server under %files
34fb4e
34fb4e
* Mon Nov 25 2019 Roman Dementiev <roman.dementiev@intel.com> 0.1-3
34fb4e
- call make install and use %{_sbindir} or %{_bindir}
34fb4e
34fb4e
* Mon Oct 21 2019 Roman Dementiev <roman.dementiev@intel.com> 0.1-2
34fb4e
- add opCode file to /usr/share/pcm
34fb4e
- use "install" to copy pcm-bw-histogram.sh
34fb4e
34fb4e
* Fri Oct 18 2019 Roman Dementiev <roman.dementiev@intel.com> 0.1-1
34fb4e
- created spec file
34fb4e