package init
This commit is contained in:
parent
c1c81f3f0b
commit
8171637cd4
55
libipt.spec
Normal file
55
libipt.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: libipt
|
||||
Version: 2.0.1
|
||||
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
|
||||
* Tue Jan 52 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.1-1
|
||||
- Package init.
|
||||
BIN
v2.0.1.tar.gz
Normal file
BIN
v2.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user