diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-06 17:23:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-06 17:23:38 +0000 |
commit | 3680ccc1422256d4ce74d7ad97f722fef09068df (patch) | |
tree | 2d8c1088c098900504ed0b833aa769c66321af52 | |
parent | 192d1c73caa938f78d6a7f04565b58aaa9ae91ca (diff) |
automatic import of libtracefs
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | libtracefs.spec | 57 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 59 insertions, 0 deletions
@@ -0,0 +1 @@ +/libtracefs-1.8.1.tar.gz diff --git a/libtracefs.spec b/libtracefs.spec new file mode 100644 index 0000000..e7fdbdb --- /dev/null +++ b/libtracefs.spec @@ -0,0 +1,57 @@ +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 +BuildRequires: gcc +BuildRequires: meson >= 0.50.0 +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 +%meson_build + +%install +%meson_install + +%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 <fundawang@yeah.net> - 1.8.1-1 +- update to 1.8.1 + +* Sun Jun 30 2024 shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn> - 1.8.0-1 +- init @@ -0,0 +1 @@ +ebaad0eddfcdc7934f7f39cb4f36e81c libtracefs-1.8.1.tar.gz |