Blame kcachegrind.spec

dad2694
Name:    kcachegrind
dad2694
Summary: GUI to profilers such as Valgrind
84916ae
Version: 18.08.3
3bcb7db
Release: 1%{?dist}
dad2694
dad2694
License: GPLv2 and GFDL
Rex Dieter 309f979
URL:     https://cgit.kde.org/%{name}.git
Rex Dieter b4bd895
dad2694
%global revision %(echo %{version} | cut -d. -f3)
dad2694
%if %{revision} >= 50
dad2694
%global stable unstable
dad2694
%else
dad2694
%global stable stable
dad2694
%endif
Rex Dieter 3c68881
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
dad2694
Rex Dieter 7037f53
## upstream patches
Rex Dieter 7037f53
Rex Dieter 7037f53
BuildRequires: desktop-file-utils
d2eba5f
BuildRequires: perl-generators
b879f95
BuildRequires: python2-rpm-macros
dad2694
Rex Dieter 309f979
BuildRequires: extra-cmake-modules
Rex Dieter 309f979
BuildRequires: kf5-rpm-macros
Rex Dieter 309f979
BuildRequires: cmake(KF5Archive)
Rex Dieter 309f979
BuildRequires: cmake(KF5CoreAddons)
Rex Dieter 309f979
BuildRequires: cmake(KF5DocTools)
Rex Dieter 309f979
BuildRequires: cmake(KF5WidgetsAddons)
Rex Dieter 309f979
BuildRequires: cmake(KF5XmlGui)
Rex Dieter 309f979
BuildRequires: cmake(KF5I18n)
Rex Dieter 309f979
BuildRequires: cmake(KF5Config)
Rex Dieter 309f979
BuildRequires: cmake(KF5KIO)
Rex Dieter 309f979
Rex Dieter 309f979
BuildRequires: cmake(Qt5DBus)
Rex Dieter 309f979
BuildRequires: cmake(Qt5Gui)
Rex Dieter 309f979
BuildRequires: cmake(Qt5Widgets)
Rex Dieter 309f979
Rex Dieter 309f979
# translations moved here
Rex Dieter 309f979
Conflicts: kde-l10n < 17.03
Rex Dieter 309f979
dad2694
Conflicts:      kdesdk-common < 4.10.80
dad2694
Provides:       kdesdk-kcachegrind = %{version}-%{release}
dad2694
Obsoletes:      kdesdk-kcachegrind < 4.10.80
dad2694
dad2694
%description
dad2694
Browser for data produced by profiling tools (e.g. cachegrind)
dad2694
b879f95
%package converters
b879f95
Summary: Converters for kcachegrind
b879f95
# when split out
b879f95
Obsoletes: kcachegrind < 17.12.3-2
b879f95
Requires: %{name} = %{version}-%{release}
b879f95
%description converters
b879f95
%{summary}.
b879f95
Rex Dieter 7037f53
dad2694
%prep
Rex Dieter 7037f53
%autosetup -p1
dad2694
b879f95
# Avoid use of #!/usr/bin/env as interpeter
b879f95
sed -i.env -e "s|^#!/usr/bin/env python$|#!%{__python2}|g" converters/hotshot2calltree.cmake
b879f95
sed -i.env -e "s|^#!/usr/bin/env php$|#!%{_bindir}/php|g"  converters/pprof2calltree
b879f95
dad2694
dad2694
%build
Rex Dieter b4bd895
mkdir %{_target_platform}
dad2694
pushd %{_target_platform}
Rex Dieter 309f979
%{cmake_kf5} ..
dad2694
popd
dad2694
b879f95
%make_build -C %{_target_platform}
dad2694
dad2694
dad2694
%install
dad2694
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
dad2694
dad2694
dad2694
%check
Rex Dieter 309f979
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
Rex Dieter 309f979
b879f95
%find_lang %{name} --all-name --with-html
b879f95
%find_lang_kf5 kcachegrind_qt
b879f95
cat kcachegrind_qt.lang >> kcachegrind.lang
dad2694
dad2694
Rex Dieter 309f979
%files -f %{name}.lang
Rex Dieter b4bd895
%doc README
Rex Dieter 309f979
%license COPYING*
Rex Dieter 309f979
%{_kf5_bindir}/kcachegrind
Rex Dieter 309f979
%{_kf5_datadir}/kcachegrind/
Rex Dieter 309f979
%{_kf5_datadir}/applications/org.kde.kcachegrind.desktop
Rex Dieter 309f979
%{_kf5_datadir}/icons/hicolor/*/apps/kcachegrind.*
Rex Dieter 309f979
%{_kf5_datadir}/kxmlgui5/kcachegrind/
dad2694
b879f95
%files converters
b879f95
%doc converters/README
b879f95
# perl
b879f95
%{_kf5_bindir}/dprof2calltree
b879f95
%{_kf5_bindir}/memprof2calltree
b879f95
%{_kf5_bindir}/op2calltree
b879f95
# python
b879f95
%{_kf5_bindir}/hotshot2calltree
b879f95
# php
b879f95
%{_kf5_bindir}/pprof2calltree
b879f95
Rex Dieter b4bd895
dad2694
%changelog
84916ae
* Tue Nov 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.3-1
84916ae
- 18.08.3
84916ae
d03391d
* Wed Oct 10 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.2-1
d03391d
- 18.08.2
d03391d
98a01b2
* Sun Sep 16 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.08.1-1
98a01b2
- 18.08.1
98a01b2
3bcb7db
* Fri Jul 13 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.3-1
3bcb7db
- 18.04.3
3bcb7db
2617d43
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 18.04.2-2
2617d43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2617d43
9df942d
* Wed Jun 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.2-1
9df942d
- 18.04.2
9df942d
66dfdfd
* Wed May 09 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.1-1
66dfdfd
- 18.04.1
66dfdfd
da54d79
* Fri Apr 20 2018 Rex Dieter <rdieter@fedoraproject.org> - 18.04.0-1
da54d79
- 18.04.0
da54d79
b879f95
* Mon Mar 12 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.3-2
b879f95
- -converters subpkg
b879f95
0cb34f5
* Tue Mar 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.3-1
0cb34f5
- 17.12.3
0cb34f5
29ca80f
* Thu Feb 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.2-1
29ca80f
- 17.12.2
29ca80f
079f69b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.12.1-2
079f69b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
079f69b
10e4764
* Thu Jan 11 2018 Rex Dieter <rdieter@fedoraproject.org> - 17.12.1-1
10e4764
- 17.12.1
10e4764
c960320
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 17.12.0-2
c960320
- Remove obsolete scriptlets
c960320
dbbe0d4
* Fri Dec 29 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.12.0-1
dbbe0d4
- 17.12.0
dbbe0d4
a967810
* Wed Nov 08 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.08.3-1
a967810
- 17.08.3
a967810
7679c2b
* Thu Sep 28 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.08.1-1
7679c2b
- 17.08.1
7679c2b
266c7c9
* Thu Aug 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.3-1
266c7c9
- 17.04.3
266c7c9
f640bbb
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.04.2-3
f640bbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f640bbb
aae3421
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 17.04.2-2
aae3421
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aae3421
Rex Dieter 1b16848
* Thu Jun 15 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.2-1
Rex Dieter 1b16848
- 17.04.2
Rex Dieter 1b16848
Rex Dieter 309f979
* Sat Jun 03 2017 Rex Dieter <rdieter@fedoraproject.org> - 17.04.1-1
Rex Dieter 309f979
- 17.04.1
Rex Dieter 309f979
524ed35
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 16.12.3-2
524ed35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
524ed35
Rex Dieter 8794eb9
* Thu Mar 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.3-1
Rex Dieter 8794eb9
- 16.12.3
Rex Dieter 8794eb9
Rex Dieter 3e8322c
* Thu Feb 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.2-1
Rex Dieter 3e8322c
- 16.12.2
Rex Dieter 3e8322c
Rex Dieter 4c443e0
* Fri Jan 13 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.1-1
Rex Dieter 4c443e0
- 16.12.1
Rex Dieter 4c443e0
Rex Dieter 576526d
* Sun Dec 11 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.3-1
Rex Dieter 576526d
- 16.08.3
Rex Dieter 576526d
Rex Dieter 7037f53
* Fri Oct 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.2-2
Rex Dieter 7037f53
- pull in upstream DBus/startup fix
Rex Dieter 7037f53
Rex Dieter c315793
* Thu Oct 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.2-1
Rex Dieter c315793
- 16.08.2
Rex Dieter c315793
Rex Dieter 5f2d412
* Wed Sep 07 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.1-1
Rex Dieter 5f2d412
- 16.08.1
Rex Dieter 5f2d412
Rex Dieter 6800fa0
* Sat Aug 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.08.0-1
Rex Dieter 6800fa0
- 16.08.0
Rex Dieter 6800fa0
Rex Dieter 0145210
* Sat Aug 06 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.90-1
Rex Dieter 0145210
- 16.07.90
Rex Dieter 0145210
Rex Dieter 4d9cac9
* Sat Jul 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.07.80-1
Rex Dieter 4d9cac9
- 16.07.80
Rex Dieter 4d9cac9
Rex Dieter 17ddbe5
* Sun Jul 10 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.3-1
Rex Dieter 17ddbe5
- 16.04.3
Rex Dieter 17ddbe5
Rex Dieter 01ffaff
* Sun Jun 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.2-1
Rex Dieter 01ffaff
- 16.04.2
Rex Dieter 01ffaff
Rex Dieter 8b6fda5
* Sun May 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.1-1
Rex Dieter 8b6fda5
- 16.04.1
Rex Dieter 8b6fda5
Rex Dieter b4bd895
* Mon Apr 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.0-1
Rex Dieter b4bd895
- 16.04.0
Rex Dieter b4bd895
Rex Dieter e2e5e74
* Tue Mar 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.3-1
Rex Dieter e2e5e74
- 15.12.3
Rex Dieter e2e5e74
Rex Dieter 84d340f
* Mon Feb 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 15.12.2-1
Rex Dieter 84d340f
- 15.12.2
Rex Dieter 84d340f
61deadf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.12.0-2
61deadf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
61deadf
Rex Dieter 8ba0943
* Mon Dec 21 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.12.0-1
Rex Dieter 8ba0943
- 15.12.0
Rex Dieter 8ba0943
Rex Dieter b142619
* Mon Nov 30 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.3-1
Rex Dieter b142619
- 15.08.3
Rex Dieter b142619
Rex Dieter 0b3a8d8
* Wed Oct 28 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.08.2-1
Rex Dieter 0b3a8d8
- 15.08.2
Rex Dieter 0b3a8d8
7b584a7
* Thu Aug 20 2015 Than Ngo <than@redhat.com> - 15.08.0-1
7b584a7
- 15.08.0
7b584a7
8335222
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 15.04.2-2
8335222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8335222
Rex Dieter b546eec
* Wed Jun 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.04.2-1
Rex Dieter b546eec
- 15.04.2
Rex Dieter b546eec
Rex Dieter cc4e307
* Thu May 28 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.04.1-1
Rex Dieter cc4e307
- 15.04.1
Rex Dieter cc4e307
Rex Dieter a184cd6
* Fri Apr 17 2015 Rex Dieter <rdieter@fedoraproject.org> - 15.04.0-1
Rex Dieter a184cd6
- 15.04.0
Rex Dieter a184cd6
758ea46
* Sun Mar 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 14.12.3-1
758ea46
- 14.12.3
758ea46
87d51e1
* Tue Feb 24 2015 Than Ngo <than@redhat.com> - 14.12.2-1
87d51e1
- 14.12.2
87d51e1
Rex Dieter 3c68881
* Sat Jan 17 2015 Rex Dieter <rdieter@fedoraproject.org> - 14.12.1-1
Rex Dieter 3c68881
- 14.12.1
Rex Dieter 3c68881
Rex Dieter 883a304
* Sun Nov 09 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.3-1
Rex Dieter 883a304
- 4.14.3
Rex Dieter 883a304
Rex Dieter 434242f
* Sun Oct 12 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.2-1
Rex Dieter 434242f
- 4.14.2
Rex Dieter 434242f
Rex Dieter b275647
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.1-1
Rex Dieter b275647
- 4.14.1
Rex Dieter b275647
1f2842c
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.14.0-2
1f2842c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1f2842c
Rex Dieter 3c5188e
* Fri Aug 15 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.0-1
Rex Dieter 3c5188e
- 4.14.0
Rex Dieter 3c5188e
Rex Dieter 3431b07
* Tue Aug 05 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.97-1
Rex Dieter 3431b07
- 4.13.97
Rex Dieter 3431b07
Rex Dieter 1d6afa1
* Tue Jul 15 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.3-1
Rex Dieter 1d6afa1
- 4.13.3
Rex Dieter 1d6afa1
Rex Dieter 426c38d
* Mon Jun 09 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.2-1
Rex Dieter 426c38d
- 4.13.2
Rex Dieter 426c38d
9282f31
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13.1-2
9282f31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9282f31
Rex Dieter 3f33960
* Sun May 11 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.1-1
Rex Dieter 3f33960
- 4.13.1
Rex Dieter 3f33960
Rex Dieter eb38ea1
* Sat Apr 12 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.0-1
Rex Dieter eb38ea1
- 4.13.0
Rex Dieter eb38ea1
Rex Dieter cb6e986
* Fri Apr 04 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.97-1
Rex Dieter cb6e986
- 4.12.97
Rex Dieter cb6e986
Rex Dieter 1bc81ed
* Sun Mar 23 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.95-1
Rex Dieter 1bc81ed
- 4.12.95
Rex Dieter 1bc81ed
Rex Dieter 6175d91
* Wed Mar 19 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.90-1
Rex Dieter 6175d91
- 4.12.90
Rex Dieter 6175d91
Rex Dieter 0d37d39
* Sun Mar 02 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.3-1
Rex Dieter 0d37d39
- 4.12.3
Rex Dieter 0d37d39
Rex Dieter 65f7807
* Fri Jan 31 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.2-1
Rex Dieter 65f7807
- 4.12.2
Rex Dieter 65f7807
Rex Dieter 2db8eb0
* Fri Jan 10 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.1-1
Rex Dieter 2db8eb0
- 4.12.1
Rex Dieter 2db8eb0
Rex Dieter 9286176
* Thu Dec 19 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.12.0-1
Rex Dieter 9286176
- 4.12.0
Rex Dieter 9286176
Rex Dieter 81a599f
* Sun Dec 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.97-1
Rex Dieter 81a599f
- 4.11.97
Rex Dieter 81a599f
Rex Dieter f7aaa90
* Thu Nov 21 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.95-1
Rex Dieter f7aaa90
- 4.11.95
Rex Dieter f7aaa90
Rex Dieter c135156
* Sat Nov 16 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.90-1
Rex Dieter c135156
- 4.11.90
Rex Dieter c135156
Rex Dieter cf04d70
* Sat Nov 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.3-1
Rex Dieter cf04d70
- 4.11.3
Rex Dieter cf04d70
Rex Dieter 7e2846d
* Sat Sep 28 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.2-1
Rex Dieter 7e2846d
- 4.11.2
Rex Dieter 7e2846d
Rex Dieter c99cf56
* Wed Sep 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.1-1
Rex Dieter c99cf56
- 4.11.1
Rex Dieter c99cf56
dad2694
* Wed Aug 14 2013 Jan Grulich <jgrulich@redhat.com> - 4.11.0-1
dad2694
- 4.11.0
dad2694
dad2694
* Wed Aug 07 2013 Jan Grulich <jgrulich@redhat.com> - 4.10.97-1
dad2694
- Split off from kdesdk package