epel9
Rex Dieter 4 years ago
parent fbb0d132b7
commit bb9eba9412

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

Loading…
Cancel
Save