|
|
@ -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
|
|
|
@ -15,6 +15,7 @@ URL: https://cgit.kde.org/%{base_name}.git
|
|
|
|
%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
|
|
|
@ -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.*
|
|
|
|