Summary: Linux Trace Toolkit Viewer Name: lttv Version: 1.5 Release: 4%{?dist} License: GPLv2 Group: Development/Tools URL: http://lttng.org/lttv Source: http://www.lttng.org/files/packages/lttv-%{version}.tar.bz2 Source1: lttv.desktop Source2: lttv-icon.svg Source3: lttv.1 Source4: lttv.real.1 Source5: lttv-gui.1 Patch0: lttv.git-b9ce0bad-fsf-address-change.patch Patch1: lttv.git-adc007f3-licence-change.patch BuildRequires: glib2-devel BuildRequires: gtk2-devel BuildRequires: popt-devel BuildRequires: libbabeltrace-devel BuildRequires: desktop-file-utils %global __provides_exclude_from ^%{_libdir}/lttv/plugins/.*\\.so$ %description LTTV is a modular stand-alone viewer for Linux kernel and user-space traces. It can perform analysis on traces of a Linux kernel or user-space applications instrumented with LTTng and UST. %package devel Summary: Include Files and Libraries mandatory for LTTV modules development Group: Development/Libraries License: GPLv2 Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains all necessary include files and libraries needed to develop extra LTTV modules. %prep %setup -q %patch0 -p1 %patch1 -p1 iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && mv -f AUTHORS.conv AUTHORS %build %configure --disable-dependency-tracking --disable-static --disable-silent-rules sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -vf %{buildroot}/%{_libdir}/*.la rm -vf %{buildroot}/%{_libdir}/lttv/plugins/*.la cp -p %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/lttv desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} mkdir -p %{buildroot}%{_mandir}/man1/ cp -p %{SOURCE3} %{buildroot}%{_mandir}/man1/ cp -p %{SOURCE4} %{buildroot}%{_mandir}/man1/ cp -p %{SOURCE5} %{buildroot}%{_mandir}/man1/ %files %doc AUTHORS ChangeLog COPYING README %{_bindir}/lttv.real %{_bindir}/lttv %{_bindir}/lttv-gui %{_libdir}/lttv %{_datadir}/pixmaps/lttv %{_datadir}/applications/lttv.desktop %{_mandir}/man1/%{name}* %files devel %{_includedir}/lttv %{_includedir}/lttvwindow %changelog * Fri Nov 8 2013 Suchakra Sharma - 1.5-4 - Add BR for desktop-file-utils * Thu Nov 7 2013 Suchakra Sharma - 1.5-3 - Filter provides of plugins - Minor changes in spec based on review comments * Sat Nov 2 2013 Suchakra Sharma - 1.5-2 - Patches for licence change and incorrect FSF address - Change AUTHORS file format to UTF-8 * Thu Oct 24 2013 Suchakra Sharma - 1.5-1 - New spec based on Yannick's previous spec in Bug 717750 * Thu Sep 1 2011 Yannick Brosseau - 0.12.38-2 - Add man pages and desktop file - Update to follow guidelines * Tue Jun 28 2011 Yannick Brosseau 0.12.38-1 * Fri Nov 12 2010 - tonyj@novell.com - Add ltt-private.h * Thu Nov 11 2010 - tonyj@novell.com - Package liblttvtraceread_loader for JNI (eclipse). - Pull lttv-fix-marker_field.patch from upstream git * Sun Oct 3 2010 - tonyj@novell.com - Initial checkin v0.12.35