Christophe Marin 2024-01-15 14:08:18 +00:00 committed by Git OBS Bridge
parent c05beed2d9
commit ba1d2c894f

View File

@ -17,12 +17,11 @@
%define lname libKF5ActivitiesStats1
%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: kactivities-stats
Version: 5.114.0
@ -35,15 +34,13 @@ Source: kactivities-stats-%{version}.tar.xz
Source1: kactivities-stats-%{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: xz
BuildRequires: cmake(KF5Activities) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version}
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5DBus) >= 5.15.0
BuildRequires: cmake(Qt5Sql) >= 5.15.0
BuildRequires: cmake(KF5Activities) >= %{_kf5_version}
BuildRequires: cmake(KF5Config) >= %{_kf5_version}
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
BuildRequires: cmake(Qt5Sql) >= %{qt5_version}
%description
Kactivities provides an API for using and interacting with the Plasma Activities Manager.
@ -57,7 +54,7 @@ Kactivities provides an API for using and interacting with the Plasma Activities
%package devel
Summary: KDE Plasma Activities support
Requires: %{lname} = %{version}
Requires: cmake(Qt5Core) >= 5.15.0
Requires: cmake(Qt5Core) >= %{qt5_version}
%description devel
Kactivities provides an API for using and interacting with the Plasma Activities Manager.