Name: libtracefs Version: 1.8.1 Release: 1 License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-2.0-only Summary: Library for access kernel tracefs URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ Source0: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%{version}.tar.gz Patch1: libtracefs-use-same-subdir-with-Makefile.patch BuildRequires: gcc BuildRequires: meson >= 0.50.0 BuildRequires: bison flex BuildRequires: xmlto BuildRequires: asciidoc BuildRequires: pkgconfig(libtraceevent) >= 1.8.1 # The libtracefs is meant to be used by perf, trace-cmd etc. in the future, before it's ready in perf, let's add a conflict Conflicts: trace-cmd < 2.9.1-6 %description libtracefs is a library for accessing kernel tracefs %package devel Summary: Development headers of %{name} Requires: %{name}%{_isa} = %{version}-%{release} %description devel Development headers of %{name} %prep %autosetup -p1 %build %meson -Dsamples=false %meson_build %meson_build docs %install %meson_install rm -f %{buildroot}%{_libdir}/*.a %files %license LICENSES/LGPL-2.1 %license LICENSES/GPL-2.0 %{_libdir}/%{name}.so.1 %{_libdir}/%{name}.so.%{version} %{_docdir}/libtracefs-doc %{_mandir}/man1/* %{_mandir}/man3/* %files devel %dir %{_includedir}/tracefs %{_includedir}/tracefs/tracefs.h %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/%{name}.so %changelog * Tue Jan 07 2025 Funda Wang - 1.8.1-1 - update to 1.8.1 * Sun Jun 30 2024 shafeipaozi - 1.8.0-1 - init