| 1 | Name: kcachegrind |
|---|
| 2 | Summary: visualization profiler for KDE |
|---|
| 3 | Summary(ja): KDE 用可視化プロファイラー |
|---|
| 4 | Version: 4.14.3 |
|---|
| 5 | Release: 2%{?_dist_release} |
|---|
| 6 | |
|---|
| 7 | License: GPLv2 |
|---|
| 8 | Group: Applications/Development |
|---|
| 9 | URL: http://www.kde.org/ |
|---|
| 10 | |
|---|
| 11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 14 | |
|---|
| 15 | BuildRequires: desktop-file-utils |
|---|
| 16 | |
|---|
| 17 | BuildRequires: kdelibs-devel >= %{version} |
|---|
| 18 | BuildRequires: soprano-devel |
|---|
| 19 | |
|---|
| 20 | Requires(posttrans,postun): desktop-file-utils |
|---|
| 21 | |
|---|
| 22 | Vendor: Project Vine |
|---|
| 23 | Distribution: Vine Linux |
|---|
| 24 | Packager: Takemikaduchi |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | %description |
|---|
| 28 | KCachegrind is a KDE/Qt GUI to visualize profiling data. |
|---|
| 29 | It's mainly used as visualization frontend for data measured |
|---|
| 30 | by Cachegrind/Callgrind tools from the Valgrind package, but |
|---|
| 31 | there are converters for other measurement tools available. |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | %prep |
|---|
| 35 | %setup -q |
|---|
| 36 | |
|---|
| 37 | %build |
|---|
| 38 | mkdir -p %{_target_platform} |
|---|
| 39 | pushd %{_target_platform} |
|---|
| 40 | %cmake \ |
|---|
| 41 | -DCMAKE_BUILD_TYPE=release \ |
|---|
| 42 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
|---|
| 43 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
|---|
| 44 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
|---|
| 45 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
|---|
| 46 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
|---|
| 47 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
|---|
| 48 | .. |
|---|
| 49 | popd |
|---|
| 50 | |
|---|
| 51 | make %{?_smp_mflags} -C %{_target_platform} |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | %install |
|---|
| 55 | rm -rf $RPM_BUILD_ROOT |
|---|
| 56 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | %clean |
|---|
| 60 | rm -rf $RPM_BUILD_ROOT |
|---|
| 61 | |
|---|
| 62 | %post |
|---|
| 63 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
|---|
| 64 | |
|---|
| 65 | %posttrans |
|---|
| 66 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
|---|
| 67 | update-desktop-database -q &> /dev/null ||: |
|---|
| 68 | |
|---|
| 69 | %postun |
|---|
| 70 | if [ $1 -eq 0 ] ; then |
|---|
| 71 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
|---|
| 72 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
|---|
| 73 | update-desktop-database -q &> /dev/null ||: |
|---|
| 74 | fi |
|---|
| 75 | |
|---|
| 76 | |
|---|
| 77 | %files |
|---|
| 78 | %defattr(-,root,root,-) |
|---|
| 79 | %doc COPYING COPYING.DOC COPYING.LIB ChangeLog README |
|---|
| 80 | %{_bindir}/dprof2calltree |
|---|
| 81 | %{_bindir}/hotshot2calltree |
|---|
| 82 | %{_bindir}/kcachegrind |
|---|
| 83 | %{_bindir}/memprof2calltree |
|---|
| 84 | %{_bindir}/op2calltree |
|---|
| 85 | %{_bindir}/pprof2calltree |
|---|
| 86 | %{_datadir}/applications/kde4/%{name}.desktop |
|---|
| 87 | %{_datadir}/icons/hicolor/*/*/* |
|---|
| 88 | %{_datadir}/kde4/apps/%{name} |
|---|
| 89 | %{_docdir}/HTML/en/%{name} |
|---|
| 90 | |
|---|
| 91 | |
|---|
| 92 | %changelog |
|---|
| 93 | * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
|---|
| 94 | - rebuild with gcc-5.4.0 |
|---|
| 95 | |
|---|
| 96 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
|---|
| 97 | - new upstream release |
|---|
| 98 | |
|---|
| 99 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
|---|
| 100 | - new upstream release |
|---|
| 101 | |
|---|
| 102 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
|---|
| 103 | - new upstream release |
|---|
| 104 | |
|---|
| 105 | * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
|---|
| 106 | - new upstream release |
|---|
| 107 | |
|---|
| 108 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
|---|
| 109 | - initial build |
|---|
| 110 | |
|---|