[7801] | 1 | Name: kcachegrind |
---|
| 2 | Summary: visualization profiler for KDE |
---|
| 3 | Summary(ja): KDE 用可視化プロファイラー |
---|
[8252] | 4 | Version: 4.12.2 |
---|
[7801] | 5 | Release: 1%{?_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 |
---|
[8252] | 93 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[8056] | 96 | * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[7801] | 99 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 100 | - initial build |
---|
| 101 | |
---|