2019-09-30 11:02:53 -04:00
|
|
|
Name: lttng-ust
|
|
|
|
|
Version: 2.10.1
|
2020-02-14 10:37:31 +08:00
|
|
|
Release: 2
|
2019-09-30 11:02:53 -04:00
|
|
|
Summary: LTTng Userspace Tracer library
|
|
|
|
|
License: LGPLv2 and GPLv2 and MIT
|
|
|
|
|
URL: https://lttng.org
|
|
|
|
|
|
|
|
|
|
Source0: https://lttng.org/files/lttng-ust/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2 libuuid-devel texinfo autoconf automake libtool
|
|
|
|
|
BuildRequires: userspace-rcu-devel >= 0.8.0
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This library is used by user-space applications to generate trace-points using LTTng.
|
|
|
|
|
|
|
|
|
|
%package -n %{name}-devel
|
|
|
|
|
Summary: LTTng Userspace Tracer library headers and development files
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: userspace-rcu-devel
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%description -n %{name}-devel
|
|
|
|
|
The devel for %{name}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -vif
|
|
|
|
|
|
|
|
|
|
%configure --docdir=%{_docdir}/%{name}
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
2020-02-14 10:37:31 +08:00
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
2019-09-30 11:02:53 -04:00
|
|
|
%files
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%exclude %{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
%files -n %{name}-devel
|
|
|
|
|
%{_bindir}/lttng-gen-tp
|
|
|
|
|
%{_prefix}/include/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/lttng-ust*.pc
|
|
|
|
|
%{_docdir}/%{name}/examples/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/lttng-gen-tp.1.gz
|
|
|
|
|
%{_mandir}/man3/*.gz
|
|
|
|
|
%{_docdir}/%{name}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-02-14 10:37:31 +08:00
|
|
|
* Fri Feb 14 2020 liuchao <liuchao173@huawei.com> - 2.10.1-2
|
|
|
|
|
- enable make check
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.10.1-1
|
2019-09-30 11:02:53 -04:00
|
|
|
- Package init
|
|
|
|
|
|