]> git.pld-linux.org Git - SPECS.git/blob - lttngtop.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / lttngtop.spec
1 Summary:        Interface for reading and browsing LTTng traces
2 Summary(pl.UTF-8):      Interfejs do odczytu i przeglądania śladów LTTng
3 Name:           lttngtop
4 Version:        0.3
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://lttng.org/files/lttngtop/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ff5e0d282d6571746f29ce1cbef6d773
10 URL:            http://lttng.org/
11 BuildRequires:  babeltrace-devel
12 BuildRequires:  glib2-devel >= 1:2.22.0
13 BuildRequires:  libuuid-devel
14 BuildRequires:  lttng-tools-devel
15 BuildRequires:  ncurses-devel
16 BuildRequires:  ncurses-ext-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  popt-devel
19 Requires:       glib2 >= 1:2.22.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 # babeltrace module with callbacks to lttngtop binary
23 %define         skip_post_check_so      libbabeltrace-lttngtop-live.so.*
24
25 %description
26 LTTngTop is an ncurses interface for reading and browsing traces
27 recorded by the LTTng tracer and displaying various statistics. As of
28 now, the CPU usage, per file/process I/O bandwidth and perf counters
29 are displayed. This version currently only supports offline traces,
30 but a live version is in alpha and will be available for testing soon.
31
32 %description -l pl.UTF-8
33 LTTngTop to oparty na ncurses interfejs do odczytu i przeglądania
34 śladów zapisanych przez LTTng oraz wyświetlania różnych statystyk.
35 Obecnie wyświetlane jest wykorzystanie procesora, wykorzystanie we/wy
36 dla pliku/procesu oraz liczniki perf. Ta wersja obsługuje tylko ślady
37 offline, ale wersja działająca na żywo jest w stadium alfa i będzie
38 wkrótce dostępna do testów.
39
40 %prep
41 %setup -q
42
43 %build
44 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
45 %configure \
46         --disable-silent-rules \
47         --disable-static
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbabeltrace-lttngtop-live.la
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc ChangeLog README
64 %attr(755,root,root) %{_bindir}/lttngtop
65 %attr(755,root,root) %{_bindir}/lttngtoptrace
66 %attr(755,root,root) %{_libdir}/libbabeltrace-lttngtop-live.so.*.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libbabeltrace-lttngtop-live.so.0
68 %attr(755,root,root) %{_libdir}/libbabeltrace-lttngtop-live.so
69 %{_mandir}/man1/lttngtop.1*
70 %{_mandir}/man1/lttngtoptrace.1*
This page took 0.137659 seconds and 3 git commands to generate.