|
|
|
@ -10,18 +10,21 @@ Summary: QtQuickControls2 style for consistency between QWidget and QML apps
|
|
|
|
|
License: (LGPLv3 or GPLv3) and LGPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: kf5-kirigami2-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kconfigwidgets-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= %{majmin}
|
|
|
|
|
# cmake() style
|
|
|
|
|
BuildRequires: cmake(KF5Kirigami2) >= %{version}
|
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
|