epel9
Rex Dieter 4 years ago
parent fbb0d132b7
commit bb9eba9412

@ -6,7 +6,7 @@ Version: 5.21.90
Release: 1%{?dist}
License: GPLv2+
URL: https://cgit.kde.org/%{base_name}.git
URL: https://invent.kde.org/plasma/%{base_name}
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
@ -14,8 +14,9 @@ URL: https://cgit.kde.org/%{base_name}.git
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
Patch1: libkscreen-5.6.4-rhel-nowayland.patch
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
Patch1: libkscreen-5.6.4-rhel-nowayland.patch
# filter plugin provides
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
@ -55,13 +56,14 @@ developing applications that use %{name}.
%prep
%setup -q -n %{base_name}-%{version}
%if 0%{?rhel} && 0%{?rhel} <= 7
%patch1 -p1 -b .nowayland
%endif
%build
%{cmake_kf5}
%cmake_kf5
%cmake_build
@ -73,7 +75,7 @@ developing applications that use %{name}.
%ldconfig_scriptlets
%files
%license COPYING
%license LICENSES/*
%{_kf5_bindir}/kscreen-doctor
%{_kf5_libexecdir}/kscreen_backend_launcher
%{_kf5_libdir}/libKF5Screen.so.5.*

Loading…
Cancel
Save