[packages/ka6-kcachegrind] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:27:39 CET 2024


commit 11022189b3b0a4d1342a93bb3cb2c98d7bb1c71f
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:27:30 2024 +0100

    - updated to 24.02.0

 ka6-kcachegrind.spec | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 119 insertions(+)
---
diff --git a/ka6-kcachegrind.spec b/ka6-kcachegrind.spec
new file mode 100644
index 0000000..d5960f9
--- /dev/null
+++ b/ka6-kcachegrind.spec
@@ -0,0 +1,119 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeappsver	24.02.0
+%define		kframever	5.94.0
+%define		qtver		5.15.2
+%define		kaname		kcachegrind
+
+Summary:	KCachegrind - visualization of traces generated by profiling
+Summary(pl.UTF-8):	KCachegrind - wizualizacja ścieżek tworzonych przez profilowanie
+Name:		ka6-kcachegrind
+Version:	24.02.0
+Release:	1
+License:	GPL v2
+Group:		X11/Development/Tools
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	442f8e8abf5b4c9f85d18a069a36643f
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel
+BuildRequires:	Qt6DBus-devel
+BuildRequires:	Qt6Gui-devel
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-karchive-devel >= %{kframever}
+BuildRequires:	kf6-kconfig-devel >= %{kframever}
+BuildRequires:	kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires:	kf6-kdoctools-devel >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-kio-devel >= %{kframever}
+BuildRequires:	kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires:	kf6-kxmlgui-devel >= %{kframever}
+BuildRequires:	ninja
+BuildRequires:	rpmbuild(macros) >= 1.600
+Suggests:	%{name}-tools = %{version}-%{release}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KCachegrind visualizes traces generated by profiling.
+
+%description -l pl.UTF-8
+KCachegrind wizualizuje ślady tworzone przez profilowanie.
+
+%package tools
+Summary:	Tools to convert various profiling data to calltree format
+Summary(pl.UTF-8):	Narzędzia do konwersji różnych danych profilujących do formatu calltree
+Group:		Development/Tools
+
+%description tools
+Tools to convert various profiling data to calltree format, used by
+Valgrind tools.
+
+%description tools -l pl.UTF-8
+Narzędzia do konwersji różnych danych profilujących do formatu
+calltree, stosowanego przez narzędzia Valgrinda.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+	-B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+find $RPM_BUILD_ROOT%{_bindir} -type f -exec sed -i -e 's#/usr/bin/env php#/usr/bin/php#' '{}' +
+find $RPM_BUILD_ROOT%{_bindir} -type f -exec sed -i -e 's#/usr/bin/env python#/usr/bin/python2#' '{}' +
+
+%find_lang %{kaname} --all-name --with-kde --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kcachegrind
+%{_desktopdir}/org.kde.kcachegrind.desktop
+%{_iconsdir}/hicolor/128x128/apps/kcachegrind.png
+%{_iconsdir}/hicolor/32x32/apps/kcachegrind.png
+%{_iconsdir}/hicolor/48x48/apps/kcachegrind.png
+%{_iconsdir}/hicolor/64x64/apps/kcachegrind.png
+%dir %{_datadir}/kcachegrind
+%dir %{_datadir}/kcachegrind/icons
+%dir %{_datadir}/kcachegrind/icons/hicolor
+%dir %{_datadir}/kcachegrind/icons/hicolor/16x16
+%dir %{_datadir}/kcachegrind/icons/hicolor/16x16/actions
+%{_datadir}/kcachegrind/icons/hicolor/16x16/actions/move.png
+%{_datadir}/kcachegrind/icons/hicolor/16x16/actions/percent.png
+%dir %{_datadir}/kcachegrind/icons/hicolor/22x22
+%dir %{_datadir}/kcachegrind/icons/hicolor/22x22/actions
+%{_datadir}/kcachegrind/icons/hicolor/22x22/actions/hidetemplates.png
+%{_datadir}/kcachegrind/icons/hicolor/22x22/actions/move.png
+%{_datadir}/kcachegrind/icons/hicolor/22x22/actions/percent.png
+%dir %{_datadir}/kcachegrind/icons/hicolor/32x32
+%dir %{_datadir}/kcachegrind/icons/hicolor/32x32/actions
+%{_datadir}/kcachegrind/icons/hicolor/32x32/actions/percent.png
+%{_datadir}/kcachegrind/tips
+%{_datadir}/metainfo/org.kde.kcachegrind.appdata.xml
+
+%files tools
+%defattr(644,root,root,755)
+%doc converters/README
+%attr(755,root,root) %{_bindir}/dprof2calltree
+%attr(755,root,root) %{_bindir}/hotshot2calltree
+%attr(755,root,root) %{_bindir}/memprof2calltree
+%attr(755,root,root) %{_bindir}/op2calltree
+%attr(755,root,root) %{_bindir}/pprof2calltree
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kcachegrind.git/commitdiff/11022189b3b0a4d1342a93bb3cb2c98d7bb1c71f



More information about the pld-cvs-commit mailing list