massif-visualizer/massif-visualizer.spec

79 lines
2.5 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: massif-visualizer
Version: 24.12.0
Release: 1mamba
Summary: Visualizer for Valgrind Massif data files
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/sdk/massif-visualizer
Source: https://download.kde.org/%{stable_kf6}/release-service/%{version}/src/massif-visualizer-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Network
BuildRequires: libQt6PrintSupport
BuildRequires: libQt6Widgets
BuildRequires: libQt6Xml
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkdiagram-devel
BuildRequires: libkf6-karchive-devel
BuildRequires: libkf6-kcolorscheme-devel
BuildRequires: libkf6-kcompletion-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kconfigwidgets-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kparts-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-kxmlgui-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qt5compat-devel
BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: extra-cmake-modules
%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`` in the visualizer. Gzip or Bzip2 compressed massif files can also be opened transparently.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/massif-visualizer
%{_datadir}/applications/org.kde.massif-visualizer.desktop
%{_datadir}/config.kcfg/massif-visualizer-settings.kcfg
%{_datadir}/icons/hicolor/scalable/apps/massif-visualizer.svg
%{_datadir}/massif-visualizer/icons/hicolor/22x22/actions/shortentemplates.png
%{_metainfodir}/org.kde.massif-visualizer.appdata.xml
%{_datadir}/mime/packages/massif.xml
%doc AUTHORS COPYING
%changelog
* Fri Dec 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.12.0-1mamba
- package created using the webbuild interface