summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2015-07-01 15:17:03 (GMT)
committerJakub Bogusz2015-07-01 15:17:03 (GMT)
commitb601a637eaaee9181ed359b9163ebbd21e6f8824 (patch)
tree933a59ba3739b3c85f87e698b2d83e34c3072068
parent3de25e006e812dde56330c74b874ceb58d2c3553 (diff)
downloadlttngtop-b601a637eaaee9181ed359b9163ebbd21e6f8824.zip
lttngtop-b601a637eaaee9181ed359b9163ebbd21e6f8824.tar.gz
- updated to 0.3auto/th/lttngtop-0.3-1
-rw-r--r--lttngtop.spec20
1 files changed, 16 insertions, 4 deletions
diff --git a/lttngtop.spec b/lttngtop.spec
index 05259db..09e406d 100644
--- a/lttngtop.spec
+++ b/lttngtop.spec
@@ -1,16 +1,17 @@
Summary: Interface for reading and browsing LTTng traces
Summary(pl.UTF-8): Interfejs do odczytu i przeglądania śladów LTTng
Name: lttngtop
-Version: 0.2
-Release: 2
+Version: 0.3
+Release: 1
License: GPL v2
Group: Applications/System
Source0: http://lttng.org/files/lttngtop/%{name}-%{version}.tar.bz2
-# Source0-md5: 6d957f2395c3a2fd550822b81252e9e7
+# Source0-md5: ff5e0d282d6571746f29ce1cbef6d773
URL: http://lttng.org/
BuildRequires: babeltrace-devel
BuildRequires: glib2-devel >= 1:2.22.0
BuildRequires: libuuid-devel
+BuildRequires: lttng-tools-devel
BuildRequires: ncurses-devel
BuildRequires: ncurses-ext-devel
BuildRequires: pkgconfig
@@ -18,6 +19,9 @@ BuildRequires: popt-devel
Requires: glib2 >= 1:2.22.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# babeltrace module with callbacks to lttngtop binary
+%define skip_post_check_so libbabeltrace-lttngtop-live.so.*
+
%description
LTTngTop is an ncurses interface for reading and browsing traces
recorded by the LTTng tracer and displaying various statistics. As of
@@ -39,7 +43,8 @@ wkrótce dostępna do testów.
%build
CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
%configure \
- --disable-silent-rules
+ --disable-silent-rules \
+ --disable-static
%{__make}
%install
@@ -48,6 +53,8 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbabeltrace-lttngtop-live.la
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,4 +62,9 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/lttngtop
+%attr(755,root,root) %{_bindir}/lttngtoptrace
+%attr(755,root,root) %{_libdir}/libbabeltrace-lttngtop-live.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbabeltrace-lttngtop-live.so.0
+%attr(755,root,root) %{_libdir}/libbabeltrace-lttngtop-live.so
%{_mandir}/man1/lttngtop.1*
+%{_mandir}/man1/lttngtoptrace.1*