BR: syntax-highlighting, update URL, use majmin

epel9
Rex Dieter 8 years ago
parent 1059f294eb
commit 44efe033ef

@ -13,29 +13,30 @@ Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 3 with advanced embeddable text editor
License: LGPLv2+
URL: https://quickgit.kde.org/?p=%{framework}.git
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
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
## Upstream patches
BuildRequires: extra-cmake-modules >= %{version}
BuildRequires: kf5-karchive-devel >= %{version}
BuildRequires: kf5-kconfig-devel >= %{version}
BuildRequires: kf5-kguiaddons-devel >= %{version}
BuildRequires: kf5-ki18n-devel >= %{version}
BuildRequires: kf5-kiconthemes-devel >= %{version}
BuildRequires: kf5-kio-devel >= %{version}
BuildRequires: kf5-kparts-devel >= %{version}
BuildRequires: kf5-rpm-macros >= %{version}
BuildRequires: kf5-sonnet-devel >= %{version}
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-karchive-devel >= %{majmin}
BuildRequires: kf5-kconfig-devel >= %{majmin}
BuildRequires: kf5-kguiaddons-devel >= %{majmin}
BuildRequires: kf5-ki18n-devel >= %{majmin}
BuildRequires: kf5-kiconthemes-devel >= %{majmin}
BuildRequires: kf5-kio-devel >= %{majmin}
BuildRequires: kf5-kparts-devel >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: kf5-sonnet-devel >= %{majmin}
BuildRequires: kf5-syntax-highlighting-devel >= %{majmin}
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qtxmlpatterns-devel

Loading…
Cancel
Save