|
Jan Kratochvil |
2c85bf1 |
Name: libipt
|
|
Jan Kratochvil |
08645c7 |
Version: 1.5
|
|
|
718f833 |
Release: 2%{?dist}
|
|
Jan Kratochvil |
2c85bf1 |
Summary: Intel Processor Trace Decoder Library
|
|
Jan Kratochvil |
2c85bf1 |
License: BSD
|
|
Jan Kratochvil |
2c85bf1 |
URL: https://github.com/01org/processor-trace
|
|
Jan Kratochvil |
e85969e |
Source0: https://github.com/01org/processor-trace/archive/v%{version}.tar.gz
|
|
Jan Kratochvil |
2c85bf1 |
BuildRequires: cmake
|
|
Jan Kratochvil |
2c85bf1 |
ExclusiveArch: %{ix86} x86_64
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%description
|
|
Jan Kratochvil |
2c85bf1 |
The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference
|
|
Jan Kratochvil |
2c85bf1 |
implementation for decoding Intel PT. It can be used as a standalone library
|
|
Jan Kratochvil |
2c85bf1 |
or it can be partially or fully integrated into your tool.
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%post -p /sbin/ldconfig
|
|
Jan Kratochvil |
2c85bf1 |
%postun -p /sbin/ldconfig
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%package devel
|
|
Jan Kratochvil |
2c85bf1 |
Summary: Header files and libraries for Intel Processor Trace Decoder Library
|
|
Jan Kratochvil |
2c85bf1 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Jan Kratochvil |
2c85bf1 |
ExclusiveArch: %{ix86} x86_64
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%description devel
|
|
Jan Kratochvil |
2c85bf1 |
The %{name}-devel package contains the header files and libraries needed to
|
|
Jan Kratochvil |
2c85bf1 |
develop programs that use the Intel Processor Trace (Intel PT) Decoder Library.
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%prep
|
|
Jan Kratochvil |
2c85bf1 |
%setup -q -n processor-trace-%{version}
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%build
|
|
Jan Kratochvil |
2c85bf1 |
# -DPTUNIT:BOOL=ON has no effect on ctest.
|
|
Jan Kratochvil |
2c85bf1 |
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
Jan Kratochvil |
2c85bf1 |
-DPTUNIT:BOOL=OFF \
|
|
Jan Kratochvil |
2c85bf1 |
-DDEVBUILD:BOOL=ON \
|
|
Jan Kratochvil |
2c85bf1 |
.
|
|
Jan Kratochvil |
2c85bf1 |
make VERBOSE=1 %{?_smp_mflags}
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%install
|
|
Jan Kratochvil |
2c85bf1 |
make install DESTDIR=%{buildroot}
|
|
Jan Kratochvil |
2c85bf1 |
%global develdocs howto_libipt.md
|
|
Jan Kratochvil |
2c85bf1 |
(cd doc;cp -p %{develdocs} ..)
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%check
|
|
Jan Kratochvil |
2c85bf1 |
ctest -V %{?_smp_mflags}
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%files
|
|
Jan Kratochvil |
2c85bf1 |
%doc README
|
|
Jan Kratochvil |
2c85bf1 |
%license LICENSE
|
|
Jan Kratochvil |
2c85bf1 |
%{_libdir}/%{name}.so.*
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%files devel
|
|
Jan Kratochvil |
2c85bf1 |
%doc %{develdocs}
|
|
Jan Kratochvil |
2c85bf1 |
%{_includedir}/*
|
|
Jan Kratochvil |
2c85bf1 |
%{_libdir}/%{name}.so
|
|
Jan Kratochvil |
2c85bf1 |
|
|
Jan Kratochvil |
2c85bf1 |
%changelog
|
|
|
718f833 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-2
|
|
|
718f833 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
718f833 |
|
|
Jan Kratochvil |
08645c7 |
* Mon Apr 11 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 1.5-1
|
|
Jan Kratochvil |
08645c7 |
- Rebase to upstream 1.5.
|
|
Jan Kratochvil |
08645c7 |
|
|
|
005dbb0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
|
|
|
005dbb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
005dbb0 |
|
|
Jan Kratochvil |
c87e2ef |
* Wed Jan 20 2016 Jan Kratochvil <jan.kratochvil@redhat.com> - 1.4.4-1
|
|
Jan Kratochvil |
c87e2ef |
- Rebase to upstream 1.4.4.
|
|
Jan Kratochvil |
c87e2ef |
|
|
Jan Kratochvil |
e85969e |
* Wed Oct 14 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 1.4.3-1
|
|
Jan Kratochvil |
e85969e |
- Rebase to upstream 1.4.3.
|
|
Jan Kratochvil |
e85969e |
|
|
Jan Kratochvil |
2c85bf1 |
* Mon Aug 31 2015 Jan Kratochvil <jan.kratochvil@redhat.com> - 1.4.2-1
|
|
Jan Kratochvil |
2c85bf1 |
- Initial Fedora packaging.
|