2017-09-14 19:02:39 +02:00
|
|
|
#
|
|
|
|
# spec file for package drkonqi5
|
|
|
|
#
|
2019-01-08 19:46:38 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2017-09-14 19:02:39 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-03-13 09:29:36 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-14 19:02:39 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-17 20:24:20 +02:00
|
|
|
%define kf5_version 5.58.0
|
2017-09-14 19:02:39 +02:00
|
|
|
%bcond_without lang
|
|
|
|
Name: drkonqi5
|
|
|
|
# Full Plasma 5 version (e.g. 5.9.1)
|
2018-05-21 11:07:07 +02:00
|
|
|
%{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}
|
2017-09-14 19:02:39 +02:00
|
|
|
# Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.1 in KUF)
|
2018-05-21 11:07:07 +02:00
|
|
|
%{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')}
|
2019-05-17 20:24:20 +02:00
|
|
|
Version: 5.15.90
|
2017-09-14 19:02:39 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Helper for debugging and reporting crashes
|
2018-06-19 23:42:07 +02:00
|
|
|
License: GPL-2.0-or-later
|
2017-09-14 19:02:39 +02:00
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
Url: http://www.kde.org/
|
2019-05-17 20:24:20 +02:00
|
|
|
Source: https://download.kde.org/unstable/plasma/%{version}/drkonqi-%{version}.tar.xz
|
2018-09-19 06:47:23 +02:00
|
|
|
%if %{with lang}
|
2019-05-17 20:24:20 +02:00
|
|
|
Source1: https://download.kde.org/unstable/plasma/%{version}/drkonqi-%{version}.tar.xz.sig
|
2018-09-19 06:47:23 +02:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2019-05-17 20:24:20 +02:00
|
|
|
# PATCHES 100-199 are from upstream 5.16 branch
|
|
|
|
# PATCHES 200-299 and above are from upstream master/5.17+ branch
|
2017-09-14 19:02:39 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.8.0
|
|
|
|
BuildRequires: cmake(KF5Completion) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Crash) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5IdleTime) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5JobWidgets) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Notifications) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Service) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5Wallet) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(KF5XmlRpcClient) >= %{kf5_version}
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
2019-05-17 20:24:20 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.12.0
|
2017-09-14 19:02:39 +02:00
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
2018-07-09 13:27:06 +02:00
|
|
|
# We want useful backtraces
|
|
|
|
Recommends: gdb
|
2019-03-10 10:18:42 +01:00
|
|
|
# we want symbol install support
|
|
|
|
Recommends: ptools
|
2017-09-14 19:02:39 +02:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description
|
|
|
|
The KDE Crash Handler gives the user feedback if a program has crashed.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n drkonqi-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%{kf5_find_lang}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
install -p -D -m755 src/doc/examples/installdbgsymbols_suse.sh \
|
|
|
|
%{buildroot}%{_kf5_bindir}/installdbgsymbols.sh
|
|
|
|
|
|
|
|
%files
|
2018-05-21 11:07:07 +02:00
|
|
|
%license COPYING
|
2017-09-14 19:02:39 +02:00
|
|
|
%{_kf5_bindir}/installdbgsymbols.sh
|
|
|
|
%dir %{_kf5_libdir}/libexec
|
|
|
|
%{_kf5_libdir}/libexec/drkonqi
|
|
|
|
%{_kf5_sharedir}/drkonqi/
|
2018-01-17 16:26:15 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.drkonqi.desktop
|
2018-05-21 11:07:07 +02:00
|
|
|
%{_kf5_debugdir}/drkonqi.categories
|
2017-09-14 19:02:39 +02:00
|
|
|
|
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|