|
|
|
@ -10,8 +10,10 @@ URL: https://cgit.kde.org/%{base_name}.git
|
|
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global majmin_ver %(echo %{version} | cut -d. -f1,2).50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
|
|
|
@ -46,7 +48,8 @@ BuildRequires: cmake(Qt5Widgets)
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake(KF5Kirigami2)
|
|
|
|
|
BuildRequires: kf5-kirigami2-devel >= 2.1
|
|
|
|
|
BuildRequires: plasma-workspace-devel >= %{majmin_ver}
|
|
|
|
|
# todo: consider adjusting to use majmin instead
|
|
|
|
|
BuildRequires: plasma-workspace-devel >= %{version}
|
|
|
|
|
Requires: kf5-kirigami2%{?_isa} >= 2.1
|
|
|
|
|
|
|
|
|
|
# kde-cli-tools provides kcmshell5, which is not directly needed by
|
|
|
|
|