File massif-visualizer5.spec of Package massif-visualizer5

# spec file for package massif-visualizer5
# Copyright (c) 2014 SUSE LINUX Products 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

Name:           massif-visualizer5
Summary:        Visualizer for output generated by Valgrind's massif tool
License:        LGPL-2.0
Group:          Development/Tools/Other
BuildRequires:  extra-cmake-modules
BuildRequires:  karchive-devel
BuildRequires:  kconfig-devel
BuildRequires:  kcoreaddons-devel
BuildRequires:  kdelibs4support-devel
BuildRequires:  ki18n-devel
BuildRequires:  kio-devel
BuildRequires:  kparts-devel
BuildRequires:  kdiagram-devel
BuildRequires:  shared-mime-info
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5Test)
BuildRequires:  pkgconfig(Qt5XmlPatterns)
Version:        xxx
Release:        0
Source0:        massif-visualizer-%{version}.tar.xz
Source1:        %{name}-lang.tar.xz
Patch1:         disable-tests.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     %{name}-lang = %{version}
Suggests:       valgrind
Conflicts:      massif-visualizer

Massif Visualizer is a tool that visualizes massif data.
You run your application in Valgrind with --tool=massif and then open the
generated file in the visualizer.
Gzip or Bzip2 compressed massif files can also be opened transparently.


%setup -q -a 1 -n massif-visualizer-%{version}
%patch1 -p1

cat >> CMakeLists.txt << EOF

  %cmake_kf5 -d build

  %kf5_makeinstall -C build

  %suse_update_desktop_file org.kde.massif-visualizer Debugger

  %find_lang massif-visualizer  %{name}.lang

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files lang -f %{name}.lang


openSUSE Build Service is sponsored by