|
|
|
@ -17,15 +17,13 @@ URL: https://quickgit.kde.org/?p=%{base_name}.git
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
|
|
|
|
Patch1: libkscreen-5.6.4-rhel-nowayland.patch
|
|
|
|
|
|
|
|
|
|
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
BuildRequires: kf5-kwayland-devel >= %{majmin_ver}
|
|
|
|
|
BuildRequires: kf5-kwayland-devel >= 5.22
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
@ -56,11 +54,12 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -n %{base_name}-%{version}
|
|
|
|
|
%setup -q -n %{base_name}-%{version}
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
%patch1 -p1 -b .nowayland
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|