Name: babeltrace2 Version: 2.0.6 Release: 3%{?dist} Summary: A trace manipulation toolkit License: MIT AND GPL-2.0-only URL: https://www.efficios.com/babeltrace Source0: https://www.efficios.com/files/babeltrace/babeltrace2-%{version}.tar.bz2 Source1: https://www.efficios.com/files/babeltrace/babeltrace2-%{version}.tar.bz2.asc # gpg2 --export --export-options export-minimal 7F49314A26E0DE78427680E05F1B2A0789F12B11 > gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg Source2: gpgkey-7F49314A26E0DE78427680E05F1B2A0789F12B11.gpg Patch0: babeltrace2-2.0.6-swig-4.3.0.patch BuildRequires: autoconf >= 2.50 BuildRequires: automake >= 1.10 BuildRequires: bison >= 2.4 BuildRequires: elfutils-devel >= 0.154 BuildRequires: flex >= 2.5.35 BuildRequires: glib2-devel >= 2.28.0 BuildRequires: gnupg2 BuildRequires: libtool >= 2.2 BuildRequires: python3-devel >= 3.4 BuildRequires: python3-setuptools BuildRequires: swig >= 3.0 BuildRequires: make Requires: libbabeltrace2%{?_isa} = %{version}-%{release} %description The Babeltrace 2 project offers a library with a C API, Python 3 bindings, and a command-line tool which makes it very easy for mere mortals to view, convert, transform, and analyze traces. Babeltrace 2 is also the reference parser implementation of the Common Trace Format (CTF), a very versatile trace format followed by various tracers and tools such as LTTng and barectf. %package -n libbabeltrace2 Summary: A trace manipulation library %description -n libbabeltrace2 The libbabeltrace2 package contains a library and plugin system to view, convert, transform, and analyze traces. %package -n libbabeltrace2-devel Summary: Development files for libbabeltrace2 Requires: libbabeltrace2%{?_isa} = %{version}-%{release} glib2-devel %description -n libbabeltrace2-devel The libbabeltrace2-devel package contains the header files and libraries needed to develop programs that use the libbabeltrace2 trace manipulation library. %package -n python3-bt2 Summary: libbabeltrace2 Python bindings Requires: libbabeltrace2%{?_isa} = %{version}-%{release} %description -n python3-bt2 The python3-bt2 package provides Python 3 bindings for libbabeltrace2. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build # Reinitialize libtool with the fedora version to remove Rpath autoreconf -vif export PYTHON=%{__python3} export PYTHON_CONFIG=%{__python3}-config %configure --disable-static \ --enable-python-bindings \ --enable-python-plugins \ --enable-debug-info \ --disable-Werror make %{?_smp_mflags} V=1 %check make check %install make DESTDIR=%{buildroot} install find %{buildroot} -type f -name "*.la" -delete # Clean installed doc rm -f %{buildroot}/%{_pkgdocdir}/CONTRIBUTING.adoc rm -f %{buildroot}/%{_pkgdocdir}/LICENSE rm -f %{buildroot}/%{_pkgdocdir}/gpl-2.0.txt rm -f %{buildroot}/%{_pkgdocdir}/lgpl-2.1.txt rm -f %{buildroot}/%{_pkgdocdir}/mit-license.txt rm -f %{buildroot}/%{_pkgdocdir}/std-ext-lib.txt %ldconfig_scriptlets -n lib%{name} %files %doc ChangeLog %doc README.adoc %{!?_licensedir:%global license %%doc} %license LICENSE gpl-2.0.txt mit-license.txt %{_bindir}/babeltrace2 %{_mandir}/man1/*.1* %{_mandir}/man7/*.7* %files -n libbabeltrace2 %{!?_licensedir:%global license %%doc} %license LICENSE gpl-2.0.txt mit-license.txt %{_libdir}/*.so.* %{_libdir}/babeltrace2/plugin-providers/*.so %{_libdir}/babeltrace2/plugins/*.so %files -n libbabeltrace2-devel %{_prefix}/include/* %{_libdir}/*.so %{_libdir}/pkgconfig/babeltrace2.pc %{_libdir}/pkgconfig/babeltrace2-ctf-writer.pc %files -n python3-bt2 %{python3_sitearch}/bt2 %{python3_sitearch}/bt2*.egg-info %changelog * Wed Jul 17 2024 Fedora Release Engineering - 2.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.0.6-2 - Rebuilt for Python 3.13 * Tue Apr 02 2024 Kienan Stewart - 2.0.6-1 - New upstream release * Tue Jan 23 2024 Fedora Release Engineering - 2.0.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Michael Jeanson - 2.0.5-3 - Fix tests on Python 3.12 * Tue Jun 13 2023 Python Maint - 2.0.5-2 - Rebuilt for Python 3.12 * Tue May 23 2023 Michael Jeanson - 2.0.5-1 - New upstream release * Mon May 08 2023 Michael Jeanson - 2.0.4-9 - migrated to SPDX license * Wed Jan 18 2023 Fedora Release Engineering - 2.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 05 2023 Michael Jeanson - 2.0.4-7 - Add builddep on python3-setuptools for python 3.12 (RHBZ:#2155040) * Wed Jul 20 2022 Fedora Release Engineering - 2.0.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.0.4-5 - Rebuilt for Python 3.11 * Wed Jan 19 2022 Fedora Release Engineering - 2.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 2.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.4-2 - Rebuilt for Python 3.10 * Wed Feb 24 2021 Michael Jeanson - 2.0.4-1 - New upstream release * Tue Jan 26 2021 Fedora Release Engineering - 2.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 2.0.3-2 - Rebuilt for Python 3.9 * Fri Apr 24 2020 Michael Jeanson - 2.0.3-1 - New upstream release * Thu Mar 12 2020 Michael Jeanson - 2.0.2-1 - New upstream release * Mon Feb 10 2020 Michael Jeanson - 2.0.1-1 - New upstream release