]> git.pld-linux.org Git - packages/ka5-kcachegrind.git/blame - ka5-kcachegrind.spec
- updated to 22.12.2
[packages/ka5-kcachegrind.git] / ka5-kcachegrind.spec
CommitLineData
59110651
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
92ebd74e 4%define kdeappsver 22.12.2
37c91936
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
1a1c8d05
WF
7%define kaname kcachegrind
8
9Summary: KCachegrind - visualization of traces generated by profiling
10Summary(pl.UTF-8): KCachegrind - wizualizacja ścieżek tworzonych przez profilowanie
11Name: ka5-kcachegrind
92ebd74e 12Version: 22.12.2
4e3e5c3e 13Release: 1
1a1c8d05
WF
14License: GPL v2
15Group: X11/Development/Tools
061a6719 16Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
92ebd74e 17# Source0-md5: ba8875e943d4607943f90b911c17d6bc
1a1c8d05 18URL: http://www.kde.org/
9d10f46f
WF
19BuildRequires: Qt5Core-devel
20BuildRequires: Qt5DBus-devel
21BuildRequires: Qt5Gui-devel
22BuildRequires: Qt5Widgets-devel
23BuildRequires: gettext-devel
b252e107
WF
24BuildRequires: kf5-extra-cmake-modules >= %{kframever}
25BuildRequires: kf5-karchive-devel >= %{kframever}
26BuildRequires: kf5-kconfig-devel >= %{kframever}
27BuildRequires: kf5-kcoreaddons-devel >= %{kframever}
28BuildRequires: kf5-kdoctools-devel >= %{kframever}
29BuildRequires: kf5-ki18n-devel >= %{kframever}
30BuildRequires: kf5-kio-devel >= %{kframever}
31BuildRequires: kf5-kwidgetsaddons-devel >= %{kframever}
32BuildRequires: kf5-kxmlgui-devel >= %{kframever}
b58d7f5c 33BuildRequires: ninja
1a1c8d05
WF
34BuildRequires: rpmbuild(macros) >= 1.600
35Suggests: %{name}-tools = %{version}-%{release}
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39KCachegrind visualizes traces generated by profiling.
40
41%description -l pl.UTF-8
42KCachegrind wizualizuje ślady tworzone przez profilowanie.
43
44%package tools
45Summary: Tools to convert various profiling data to calltree format
46Summary(pl.UTF-8): Narzędzia do konwersji różnych danych profilujących do formatu calltree
47Group: Development/Tools
48
49%description tools
50Tools to convert various profiling data to calltree format, used by
51Valgrind tools.
52
53%description tools -l pl.UTF-8
54Narzędzia do konwersji różnych danych profilujących do formatu
55calltree, stosowanego przez narzędzia Valgrinda.
56
57%prep
58%setup -q -n %{kaname}-%{version}
59
60%build
61install -d build
62cd build
63%cmake \
b58d7f5c 64 -G Ninja \
59110651 65 %{!?with_tests:-DBUILD_TESTING=OFF} \
b252e107 66 -DHTML_INSTALL_DIR=%{_kdedocdir} \
1a1c8d05
WF
67 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
68 ..
b58d7f5c 69%ninja_build
1a1c8d05 70
59110651
WF
71%if %{with tests}
72ctest
73%endif
74
75
1a1c8d05
WF
76%install
77rm -rf $RPM_BUILD_ROOT
b58d7f5c 78%ninja_install -C build
1a1c8d05 79
53fb549f
WF
80find $RPM_BUILD_ROOT%{_bindir} -type f -exec sed -i -e 's#/usr/bin/env php#/usr/bin/php#' '{}' +
81find $RPM_BUILD_ROOT%{_bindir} -type f -exec sed -i -e 's#/usr/bin/env python#/usr/bin/python2#' '{}' +
82
1a1c8d05
WF
83%find_lang %{kaname} --all-name --with-kde --with-qm
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%files -f %{kaname}.lang
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_bindir}/kcachegrind
91%{_desktopdir}/org.kde.kcachegrind.desktop
92%{_iconsdir}/hicolor/128x128/apps/kcachegrind.png
93%{_iconsdir}/hicolor/32x32/apps/kcachegrind.png
94%{_iconsdir}/hicolor/48x48/apps/kcachegrind.png
95%{_iconsdir}/hicolor/64x64/apps/kcachegrind.png
96%dir %{_datadir}/kcachegrind
97%dir %{_datadir}/kcachegrind/icons
98%dir %{_datadir}/kcachegrind/icons/hicolor
99%dir %{_datadir}/kcachegrind/icons/hicolor/16x16
100%dir %{_datadir}/kcachegrind/icons/hicolor/16x16/actions
101%{_datadir}/kcachegrind/icons/hicolor/16x16/actions/move.png
102%{_datadir}/kcachegrind/icons/hicolor/16x16/actions/percent.png
103%dir %{_datadir}/kcachegrind/icons/hicolor/22x22
104%dir %{_datadir}/kcachegrind/icons/hicolor/22x22/actions
105%{_datadir}/kcachegrind/icons/hicolor/22x22/actions/hidetemplates.png
106%{_datadir}/kcachegrind/icons/hicolor/22x22/actions/move.png
107%{_datadir}/kcachegrind/icons/hicolor/22x22/actions/percent.png
108%dir %{_datadir}/kcachegrind/icons/hicolor/32x32
109%dir %{_datadir}/kcachegrind/icons/hicolor/32x32/actions
110%{_datadir}/kcachegrind/icons/hicolor/32x32/actions/percent.png
111%{_datadir}/kcachegrind/tips
b252e107 112%{_datadir}/metainfo/org.kde.kcachegrind.appdata.xml
1a1c8d05
WF
113
114%files tools
115%defattr(644,root,root,755)
116%doc converters/README
117%attr(755,root,root) %{_bindir}/dprof2calltree
118%attr(755,root,root) %{_bindir}/hotshot2calltree
119%attr(755,root,root) %{_bindir}/memprof2calltree
120%attr(755,root,root) %{_bindir}/op2calltree
121%attr(755,root,root) %{_bindir}/pprof2calltree
This page took 0.123936 seconds and 4 git commands to generate.