blob: 4fe8ca7c9f22afd9d38d26bd81855702d83af43f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
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: 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
%meson_build
%meson_build docs
%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}/libtracefs
%{_includedir}/libtracefs/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
|