SHA256
1
0
forked from pool/kauth
Christophe Marin 2024-01-15 14:08:31 +00:00 committed by Git OBS Bridge
parent 63135a4112
commit ad87431d80

View File

@ -17,11 +17,11 @@
%define lname libKF5Auth5
%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}')}
%define qt5_version 5.15.2
%bcond_without released
Name: kauth
Version: 5.114.0
@ -34,14 +34,13 @@ 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: libpolkit-qt5-1-devel
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(Qt5DBus) >= 5.15.0
BuildRequires: cmake(Qt5LinguistTools) >= 5.15.0
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version}
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version}
BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
%description
KAuth is a framework to let applications perform actions as a privileged user.
@ -64,7 +63,7 @@ KAuth is a framework to let applications perform actions as a privileged user.
%package devel
Summary: Framework which lets applications perform actions as a privileged user
Requires: %{lname} = %{version}
Requires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
Requires: cmake(KF5CoreAddons) >= %{_kf5_version}
%description devel
KAuth is a framework to let applications perform actions as a privileged user.