automatic version update by autodist [release 17.04.3-1mamba;Sun Aug 06 2017]
This commit is contained in:
parent
6e9e5db3f3
commit
3c2b69514a
@ -1,5 +1,5 @@
|
||||
Name: kcachegrind
|
||||
Version: 4.14.3
|
||||
Version: 17.04.3
|
||||
Release: 1mamba
|
||||
Summary: A visualisation tool for the profiling data generated by Cachegrind and Calltree
|
||||
Group: Graphical Desktop/Applications/Development
|
||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/%{version}/src/kcachegrind-%{version}.tar.xz
|
||||
Source: http://download.kde.org/stable/applications/%{version}/src/kcachegrind-%{version}.tar.xz
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -34,13 +34,15 @@ This package is part of KDE4, as a component of the KDE4 kdesdk module.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -50,42 +52,56 @@ exit 0
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%files -f %{name}5_qt.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/dprof2calltree
|
||||
%{_kde4_bindir}/hotshot2calltree
|
||||
%{_kde4_bindir}/kcachegrind
|
||||
%{_kde4_bindir}/memprof2calltree
|
||||
%{_kde4_bindir}/op2calltree
|
||||
%{_kde4_bindir}/pprof2calltree
|
||||
%{_kde4_xdgappsdir}/kcachegrind.desktop
|
||||
%dir %{_kde4_datadir}/kcachegrind
|
||||
%dir %{_kde4_datadir}/kcachegrind/icons
|
||||
%dir %{_kde4_datadir}/kcachegrind/icons/hicolor
|
||||
%{_kde4_datadir}/kcachegrind/icons/hicolor/*
|
||||
%{_kde4_datadir}/kcachegrind/kcachegrindui.rc
|
||||
%{_kde4_datadir}/kcachegrind/tips
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/kcachegrind/common
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/kcachegrind/index.cache.bz2
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/kcachegrind/index.docbook
|
||||
%{_kde4_icondir}/hicolor/*/apps/kcachegrind.png
|
||||
%{_kde5_bindir}/dprof2calltree
|
||||
%{_kde5_bindir}/hotshot2calltree
|
||||
%{_kde5_bindir}/kcachegrind
|
||||
%{_kde5_bindir}/memprof2calltree
|
||||
%{_kde5_bindir}/op2calltree
|
||||
%{_kde5_bindir}/pprof2calltree
|
||||
%{_datadir}/applications/org.kde.kcachegrind.desktop
|
||||
%{_kde5_icondir}/hicolor/*/apps/kcachegrind.png
|
||||
%dir %{_kde5_datadir}/kcachegrind
|
||||
%dir %{_kde5_datadir}/kcachegrind/icons
|
||||
%dir %{_kde5_datadir}/kcachegrind/icons/hicolor
|
||||
%{_kde5_datadir}/kcachegrind/icons/hicolor/*
|
||||
%{_datadir}/kxmlgui5/kcachegrind/kcachegrindui.rc
|
||||
%{_kde5_datadir}/kcachegrind/tips
|
||||
%lang(en) %{_kde5_htmldir}/en/kcachegrind/index.cache.bz2
|
||||
%lang(en) %{_kde5_htmldir}/en/kcachegrind/index.docbook
|
||||
%lang(de) %{_datadir}/doc/HTML/de
|
||||
%lang(es) %{_datadir}/doc/HTML/es
|
||||
%lang(et) %{_datadir}/doc/HTML/et
|
||||
%lang(fr) %{_datadir}/doc/HTML/fr
|
||||
%lang(gl) %{_datadir}/doc/HTML/gl
|
||||
%lang(it) %{_datadir}/doc/HTML/it
|
||||
%lang(nl) %{_datadir}/doc/HTML/nl
|
||||
%lang(pt) %{_datadir}/doc/HTML/pt
|
||||
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR
|
||||
%lang(ru) %{_datadir}/doc/HTML/ru
|
||||
%lang(sv) %{_datadir}/doc/HTML/sv
|
||||
%lang(uk) %{_datadir}/doc/HTML/uk
|
||||
%doc AUTHORS COPYING COPYING.DOC
|
||||
|
||||
%changelog
|
||||
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user