#1 introduce standalone qcachegrind subpackage
Merged 5 years ago by than. Opened 5 years ago by sharkcz.
rpms/ sharkcz/kcachegrind qcachegrind  into  master

file modified
+25 -1
@@ -1,7 +1,7 @@ 

  Name:    kcachegrind

  Summary: GUI to profilers such as Valgrind

  Version: 18.08.3

- Release: 1%{?dist}

+ Release: 2%{?dist}

  

  License: GPLv2 and GFDL

  URL:     https://cgit.kde.org/%{name}.git
@@ -53,6 +53,12 @@ 

  %description converters

  %{summary}.

  

+ %package -n qcachegrind

+ Summary: QT GUI to profilers such as Valgrind

+ 

+ %description -n qcachegrind

+ QT-based browser for data produced by profiling tools (e.g. cachegrind).

+ 

  

  %prep

  %autosetup -p1
@@ -74,9 +80,15 @@ 

  %install

  make install/fast DESTDIR=%{buildroot} -C %{_target_platform}

  

+ # qcachegrind needs manual installation

+ install -p -m 755 %{_target_platform}/qcachegrind/qcachegrind %{buildroot}%{_bindir}/

+ install -p -m 755 %{_target_platform}/cgview/cgview %{buildroot}%{_bindir}/

+ install -p -m 644 qcachegrind/qcachegrind.desktop %{buildroot}%{_datadir}/applications/

+ 

  

  %check

  desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop

+ desktop-file-validate %{buildroot}%{_datadir}/applications/qcachegrind.desktop

  

  %find_lang %{name} --all-name --with-html

  %find_lang_kf5 kcachegrind_qt
@@ -103,8 +115,20 @@ 

  # php

  %{_kf5_bindir}/pprof2calltree

  

+ %files -n qcachegrind

+ %doc README

+ %license COPYING*

+ %{_bindir}/qcachegrind

+ %{_bindir}/cgview

+ %{_datadir}/applications/qcachegrind.desktop

+ # icons are shared with kcachegrind

+ %{_datadir}/icons/hicolor/*/apps/kcachegrind.*

+ 

  

  %changelog

+ * Wed Nov 28 2018 Dan Horák <dan[at]danny.cz> - 18.08.3-2

+ - introduce standalone qcachegrind subpackage

+ 

  * Tue Nov 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.3-1

  - 18.08.3

  

Add qcachegrind subpackage for use in non-KDE desktops.

Pull-Request has been merged by than

5 years ago