1 Summary: Intel Processor Trace Decoder Library
7 URL: https://github.com/01org/processor-trace
8 Source0: https://github.com/01org/processor-trace/archive/v%{version}.tar.gz
9 # Source0-md5: d7cc87d42479d41870056a99591096cd
10 # c++ is required only for -DPTUNIT test "ptunit-cpp".
11 # pandoc is for -DMAN.
13 BuildRequires: libstdc++-devel
15 ExclusiveArch: %{ix86} %{x8664}
18 The Intel Processor Trace (Intel PT) Decoder Library is Intel's
19 reference implementation for decoding Intel PT. It can be used as a
20 standalone library or it can be partially or fully integrated into
24 Summary: Header files and libraries for Intel Processor Trace Decoder Library
25 Requires: %{name} = %{version}-%{release}
26 ExclusiveArch: %{ix86} %{x8664}
29 The %{name}-devel package contains the header files and libraries
30 needed to develop programs that use the Intel Processor Trace (Intel
34 %setup -q -n processor-trace-%{version}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} -C build install \
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
60 %defattr(644,root,root,755)
62 %attr(755,root,root) %ghost %{_libdir}/%{name}.so.2
63 %attr(755,root,root) %{_libdir}/%{name}.so.*.*
66 %defattr(644,root,root,755)
67 %doc doc/{getting_started,howto_libipt}.md
68 %{_includedir}/intel-pt.h
69 %attr(755,root,root) %{_libdir}/%{name}.so
70 %{_mandir}/man3/pt_*.3*