massif-visualizer/massif-visualizer.spec

86 lines
2.7 KiB
RPMSpec

#
# spec file for package massif-visualizer
#
# Copyright (c) 2017 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 http://bugs.opensuse.org/
#
Name: massif-visualizer
Version: 0.7.0
Release: 0
Summary: Visualizer for output generated by Valgrind's massif tool
License: LGPL-2.0
Group: Development/Tools/Other
Url: https://cgit.kde.org/massif-visualizer.git/
Source: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: karchive-devel
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kgraphviewer-devel >= 2.4.0
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(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5XmlPatterns)
Requires: kgraphviewer >= 2.4.0
Recommends: %{name}-lang
Suggests: valgrind
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Massif Visualizer is a tool that visualizes massif data.
You run your application in Valgrind with --tool=massif and then open the
generated massif.out.pid file in the visualizer.
Gzip or Bzip2 compressed massif files can also be opened transparently.
%lang_package
%prep
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%suse_update_desktop_file org.kde.%{name} Debugger
%find_lang massif-visualizer %{name}.lang
%files lang -f %{name}.lang
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_kf5_applicationsdir}/org.kde.massif-visualizer.desktop
%{_kf5_bindir}/massif-visualizer
%{_kf5_configkcfgdir}/
%{_kf5_sharedir}/kxmlgui5/
%{_kf5_sharedir}/massif-visualizer
%{_kf5_iconsdir}/hicolor/scalable/apps/massif-visualizer.svg
%{_kf5_appstreamdir}/org.kde.massif-visualizer.appdata.xml
%{_kf5_sharedir}/mime/packages/massif.xml
%changelog