SHA256
1
0
forked from pool/kcrash
Christophe Marin 2024-01-15 14:08:53 +00:00 committed by Git OBS Bridge
parent c8a8e849c1
commit 2a8840dae0

View File

@ -17,12 +17,11 @@
%define lname libKF5Crash5
%define _tar_path 5.103
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
# Only needed for the package signature condition
%define qt5_version 5.15.2
%bcond_without released
Name: kcrash
Version: 5.114.0
@ -35,15 +34,14 @@ Source: %{name}-%{version}.tar.xz
Source1: %{name}-%{version}.tar.xz.sig
Source2: frameworks.keyring
%endif
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: extra-cmake-modules >= %{_kf5_version}
BuildRequires: fdupes
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5Test) >= 5.15.0
BuildRequires: cmake(Qt5X11Extras) >= 5.15.0
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version}
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_version}
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
BuildRequires: cmake(Qt5X11Extras) >= %{qt5_version}
BuildRequires: pkgconfig(x11)
%description
@ -59,7 +57,7 @@ KCrash provides support for intercepting and handling application crashes.
%package devel
Summary: Build environment for the KCrash application crash handler
Requires: %{lname} = %{version}
Requires: cmake(Qt5Core) >= 5.15.0
Requires: cmake(Qt5Core) >= %{qt5_version}
%description devel
KCrash provides support for intercepting and handling application crashes.