diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-16 10:20:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-16 10:20:14 +0000 |
commit | 6bc68cfcc85e267a0295814083a6d6a4f8ddd4db (patch) | |
tree | 02e2d963bd25c4239ac52b2fb0b5ca3a0f55212a | |
parent | 99478024325e9b7fa65ac7bc8b9b3bbbc5650ccc (diff) |
automatic import of Ros-jazzy-lttng-toolsopeneuler24.03_LTS
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | lttng-tools.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/lttng-tools-2.13.8.tar.gz diff --git a/lttng-tools.spec b/lttng-tools.spec new file mode 100644 index 0000000..5c09b28 --- /dev/null +++ b/lttng-tools.spec @@ -0,0 +1,91 @@ +Name: lttng-tools +Version: 2.13.8 +Release: 1%{?dist} +Summary: LTTng control and management tools + +License: GPL-2.0-only +URL: https://lttng.org/ +Source0: https://lttng.org/files/lttng-tools/lttng-tools-%{version}.tar.gz + +BuildRequires: gcc, make, autoconf, automake, libtool, pkgconfig, bison, flex +BuildRequires: libxml2-devel, asciidoc, xmlto, liburcu-devel, numactl-devel, lttng-ust-devel, liburcu, babeltrace2, libtool-ltdl-devel, popt-devel, popt +Requires: liburcu, numactl, babeltrace2, lttng-ust + +%define _libexecdir %{_libdir}/lttng/libexec + +%global debug_package %{nil} + +%description +The LTTng-tools package provides control and management tools for the Linux Trace Toolkit Next Generation (LTTng). It allows users to start, stop, and manage tracing sessions. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +Development headers and libraries for %{name}. + +%package doc +Summary: Documentation for %{name} +BuildArch: noarch + +%description doc +This package contains documentation files for %{name}. + +%prep +%setup -q -n lttng-tools-%{version} + +%build +CFLAGS="%{optflags} -fPIE" +CXXFLAGS="%{optflags} -fPIE" +LDFLAGS="-pie" +export CFLAGS CXXFLAGS LDFLAGS +./bootstrap +%configure --prefix=%{_prefix} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --docdir=%{_docdir}/lttng-tools --disable-static --disable-tests +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} || true +find %{buildroot} -name '*.la' -delete + +%files +%{_bindir}/lttng +%{_bindir}/lttng-crash +%{_bindir}/lttng-relayd +%{_bindir}/lttng-sessiond +%{_libdir}/liblttng-ctl.so* +%{_libdir}/pkgconfig/lttng-ctl.pc +%{_libexecdir}/* +%{_mandir}/man1/lttng*.1.gz +%{_mandir}/man3/lttng-*.3.gz +%{_mandir}/man7/lttng-*.7.gz +%{_mandir}/man8/lttng-*.8.gz +%{_datadir}/xml/lttng/session.xsd + +%files devel +%{_includedir}/lttng/*.h +%{_includedir}/lttng/action/*.h +%{_includedir}/lttng/condition/*.h +%{_includedir}/lttng/event-rule/*.h +%{_includedir}/lttng/notification/*.h +%{_includedir}/lttng/trigger/*.h +%{_libdir}/pkgconfig/lttng-ctl.pc +%{_libdir}/liblttng-ctl.so + +%files doc +%doc %{_docdir}/lttng-tools/LICENSE +%doc %{_docdir}/lttng-tools/ChangeLog +%doc %{_docdir}/lttng-tools/README.adoc +%doc %{_docdir}/lttng-tools/live-reading-howto.txt +%doc %{_docdir}/lttng-tools/live-reading-protocol.txt +%doc %{_docdir}/lttng-tools/python-howto.txt +%doc %{_docdir}/lttng-tools/quickstart.txt +%doc %{_docdir}/lttng-tools/snapshot-howto.txt +%doc %{_docdir}/lttng-tools/streaming-howto.txt +%doc %{_docdir}/lttng-tools/valgrind-howto.txt + +%changelog +* Wed Jan 03 2024 Sebastian <microseyuyu@gmail.com> - 2.13.8-1 +- Added proper file paths for binaries, headers, man pages, and documentation. +- Fixed incorrect references to doc files. +- Ensured devel package is correctly defined. @@ -0,0 +1 @@ +406cad2918034f6c8bd4529f8860e7a7 lttng-tools-2.13.8.tar.gz |