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