]> git.pld-linux.org Git - packages/kde4-kcachegrind.git/blob - kde4-kcachegrind.spec
3b929fbadeaee25e1de8dc6f6de5df8a8f44c33b
[packages/kde4-kcachegrind.git] / kde4-kcachegrind.spec
1 #
2 # TODO:
3 # - add man files
4 #
5 %define         orgname         kcachegrind
6 %define         _state          stable
7 %define         qtver           4.8.1
8
9 Summary:        KCachegrind - visualization of traces generated by profiling
10 Summary(pl.UTF-8):      KCachegrind - wizualizacja ścieżek tworzonych przez profilowanie
11 Name:           kde4-kcachegrind
12 Version:        4.12.4
13 Release:        1
14 License:        GPL
15 Group:          X11/Development/Tools
16 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
17 # Source0-md5:  396c3014e855f245ca256435f47d8b6e
18 #Patch100: %{name}-branch.diff
19 URL:            http://www.kde.org/
20 BuildRequires:  QtNetwork-devel >= %{qtver}
21 BuildRequires:  QtScriptTools-devel >= %{qtver}
22 BuildRequires:  automoc4 >= 0.9.88
23 BuildRequires:  bzip2-devel
24 BuildRequires:  cmake >= 2.8.0
25 BuildRequires:  docbook-dtd42-xml
26 BuildRequires:  docbook-style-xsl
27 BuildRequires:  gettext-devel
28 BuildRequires:  qt4-build >= %{qtver}
29 BuildRequires:  qt4-qmake >= %{qtver}
30 BuildRequires:  rpm-pythonprov
31 BuildRequires:  rpmbuild(macros) >= 1.600
32 Obsoletes:      kde4-kdesdk-kcachegrind
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 ścieżki tworzone przez profilowanie.
40
41 %prep
42 %setup -q -n %{orgname}-%{version}
43
44 %build
45 install -d build
46 cd build
47 %cmake \
48         ../
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 install -d $RPM_BUILD_ROOT{%{_gimpdir}/palettes,%{_appdefsdir}}
56
57 %{__make} -C build install \
58         DESTDIR=$RPM_BUILD_ROOT \
59         kde_htmldir=%{_kdedocdir}
60
61 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
62
63 %find_lang      kcachegrind     --with-kde
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f kcachegrind.lang
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_bindir}/kcachegrind
71 %attr(755,root,root) %{_bindir}/hotshot2calltree
72 %attr(755,root,root) %{_bindir}/op2calltree
73 %attr(755,root,root) %{_bindir}/pprof2calltree
74 %attr(755,root,root) %{_bindir}/dprof2calltree
75 %attr(755,root,root) %{_bindir}/memprof2calltree
76 %{_datadir}/apps/kcachegrind
77 %{_desktopdir}/kde4/kcachegrind.desktop
78 %{_iconsdir}/hicolor/*/apps/kcachegrind.png
This page took 0.038471 seconds and 2 git commands to generate.