Name: krfb Summary: Desktop sharing Version: 22.08.0 Release: 1 License: GPLv2+ and GFDL URL: https://www.kde.org/applications/system/krfb/ %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gettext BuildRequires: kf5-kcompletion-devel BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-kcrash-devel BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-kdnssd-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-knotifications-devel BuildRequires: kf5-kwallet-devel BuildRequires: kf5-kwidgetsaddons BuildRequires: kf5-kxmlgui-devel BuildRequires: cmake(KF5Wayland) BuildRequires: cmake(KF5WindowSystem) BuildRequires: cmake(PlasmaWaylandProtocols) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5X11Extras) BuildRequires: cmake(Qt5WaylandClient) BuildRequires: qt5-qtbase-static BuildRequires: pipewire-devel BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libvncserver) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-damage) BuildRequires: pkgconfig(xcb-image) BuildRequires: pkgconfig(xcb-render) BuildRequires: pkgconfig(xcb-shape) BuildRequires: pkgconfig(xcb-shm) BuildRequires: pkgconfig(xcb-xfixes) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(xtst) BuildRequires: libjpeg-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} Conflicts: kdenetwork-common < 7:4.10.80 Obsoletes: kdenetwork-krfb < 7:4.10.80 Provides: kdenetwork-krfb = 7:%{version}-%{release} Conflicts: kde-l10n < 17.03 %description %{summary}. %package libs Summary: Runtime libraries for %{name} Requires: %{name} = %{version}-%{release} Obsoletes: kdenetwork-krfb-libs < 7:4.10.80 Provides: kdenetwork-krfb-libs = 7:%{version}-%{release} %description libs %{summary}. %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-html %check desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.krfb.desktop %files -f %{name}.lang %license COPYING* %doc README AUTHORS %{_kf5_bindir}/krfb %{_kf5_bindir}/krfb-virtualmonitor %{_kf5_datadir}/krfb/ %{_kf5_datadir}/applications/org.kde.krfb.desktop %{_kf5_datadir}/applications/org.kde.krfb.virtualmonitor.desktop %{_kf5_metainfodir}/org.kde.krfb.appdata.xml %{_kf5_datadir}/qlogging-categories5/*categories %{_datadir}/icons/hicolor/*/apps/krfb.* %ldconfig_scriptlets libs %files libs %{_kf5_libdir}/libkrfbprivate.so.5* %{_kf5_qtplugindir}/krfb/ %changelog * Fri Dec 16 2022 misaka00251 - 22.08.0-1 - 22.08.0