62 lines
1.4 KiB
RPMSpec
62 lines
1.4 KiB
RPMSpec
Name: libipt
|
|
Version: 2.0.4
|
|
Release: 1
|
|
Summary: Intel(R) Processor Trace Decoder Library
|
|
License: BSD
|
|
URL: https://github.com/intel/libipt
|
|
Source0: https://github.com/intel/%{name}/archive/v%{version}.tar.gz
|
|
BuildRequires: gcc-c++ cmake
|
|
ExclusiveArch: %{ix86} x86_64
|
|
|
|
%description
|
|
The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference
|
|
implementation for decoding Intel PT. It can be used as a standalone library
|
|
or it can be partially or fully integrated into your tool.
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{version}-%{release}
|
|
ExclusiveArch: %{ix86} x86_64
|
|
|
|
%description devel
|
|
This package contains the development files for Intel Processor Trace (Intel PT)
|
|
Decoder Library.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPTUNIT:BOOL=ON -DMAN:BOOL=OFF \
|
|
-DDEVBUILD:BOOL=ON .
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%check
|
|
ctest -V %{?_smp_mflags}
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%doc README
|
|
%license LICENSE
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
%files devel
|
|
%doc doc/howto_*.md
|
|
%{_includedir}/*
|
|
%{_libdir}/%{name}.so
|
|
|
|
%changelog
|
|
* Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.0.4-1
|
|
- Upgrade to 2.0.4.
|
|
|
|
* Wed Aug 19 2020 shenkai <shenkai8@huawei.com> - 2.0.3-1
|
|
- Upgrade to 2.0.3.
|
|
|
|
* Tue Feb 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.1-1
|
|
- Package init.
|