LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File massif-visualizer5.spec of Package massif-visualizer5 (Project home:wolfi323:branches:KDE:Unstable:Extra)

#
# 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 http://bugs.opensuse.org/
#


Name:           massif-visualizer5
Summary:        Visualizer for output generated by Valgrind's massif tool
License:        LGPL-2.0
Group:          Development/Tools/Other
Url:            https://projects.kde.org/massif-visualizer
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

%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 -a 1 -n massif-visualizer-%{version}
%patch1 -p1

cat >> CMakeLists.txt << EOF
ki18n_install(po)
EOF

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %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
%defattr(-,root,root)

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_kf5_applicationsdir}/org.kde.massif-visualizer.desktop
%{_kf5_appstreamdir}/org.kde.massif-visualizer.appdata.xml
%{_kf5_bindir}/massif-visualizer
%{_kf5_configkcfgdir}/
%{_kf5_iconsdir}/hicolor/scalable/apps/massif-visualizer.svg
%{_kf5_sharedir}/kxmlgui5/
%{_kf5_sharedir}/massif-visualizer
%{_kf5_sharedir}/mime/packages/massif.xml

%changelog