File lttv.spec of Package lttv
#
# spec file for package lttv
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: lttv
Version: 1.5
Release: 0
Summary: Linux Trace Toolkit Next Generation graphical trace viewer
License: GPL-2.0 AND LGPL-2.1
Group: Development/Languages/C and C++
URL: https://lttng.org/
Source: https://lttng.org/files/packages/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: pkgconfig(babeltrace)
BuildRequires: pkgconfig(babeltrace-ctf)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
ExclusiveArch: %ix86 x86_64 aarch64 ppc64 ppc64le
%description
This package provides a native graphical trace viewer for viewing
LTTng traces.
%prep
%setup -q
%build
%configure \
--docdir=%{_docdir}/%{name} \
--disable-static
make %{?_smp_mflags} V=1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_includedir}/lttv %{buildroot}%{_includedir}/lttvwindow
%files
%{_bindir}/lttv
%{_bindir}/lttv-gui
%{_bindir}/lttv.real
%dir %{_libdir}/%{name}/
%{_libdir}/%{name}/plugins/
%{_datadir}/pixmaps/%{name}/
%changelog