2013-07-08 07:28:06 +02:00
|
|
|
#
|
2013-07-22 17:18:05 +02:00
|
|
|
# spec file for package krfb
|
2013-07-08 07:28:06 +02:00
|
|
|
#
|
2020-01-10 09:56:25 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2013-07-08 07:28:06 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-25 00:45:10 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-08 07:28:06 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:58:42 +02:00
|
|
|
|
2019-11-29 12:40:10 +01:00
|
|
|
%define kf5_version 5.60.0
|
2017-08-12 00:58:42 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:42:38 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:45:10 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: krfb
|
2020-05-17 12:19:16 +02:00
|
|
|
Version: 20.04.1
|
2018-11-25 00:45:10 +01:00
|
|
|
Release: 0
|
2017-08-12 20:38:05 +02:00
|
|
|
Summary: Screen sharing using the VNC/RFB protocol
|
2018-11-25 00:45:10 +01:00
|
|
|
License: GPL-2.0-or-later
|
2017-08-12 00:58:42 +02:00
|
|
|
Group: Productivity/Networking/Other
|
2020-04-24 09:23:49 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2015-01-21 22:11:07 +01:00
|
|
|
BuildRequires: LibVNCServer-devel
|
2015-12-15 16:33:55 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2020-01-10 09:56:25 +01:00
|
|
|
BuildRequires: pipewire-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: telepathy-qt5-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xcb-util-image-devel
|
2019-11-29 12:40:10 +01:00
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DNSSD)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5Wallet)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5X11Extras)
|
2020-01-10 09:56:25 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2016-12-03 14:58:41 +01:00
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
2017-08-12 00:58:42 +02:00
|
|
|
%if %{with lang}
|
2020-04-24 09:23:49 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2020-03-28 14:58:07 +01:00
|
|
|
Source2: applications.keyring
|
2017-08-12 00:58:42 +02:00
|
|
|
%endif
|
2020-03-28 14:58:07 +01:00
|
|
|
Recommends: %{name}-lang
|
2013-07-08 07:28:06 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
VNC-compatible server to share KDE desktops.
|
|
|
|
|
2017-04-15 15:28:39 +02:00
|
|
|
%lang_package
|
|
|
|
|
2013-07-08 07:28:06 +02:00
|
|
|
%prep
|
2016-12-03 14:58:41 +01:00
|
|
|
%setup -q
|
2013-07-08 07:28:06 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|
|
|
%endif
|
2015-12-15 16:33:55 +01:00
|
|
|
%cmake_kf5 -d build -- -DBUILD_EXPERIMENTAL_TUBES_SUPPORT="on"
|
2020-03-28 14:58:07 +01:00
|
|
|
%cmake_build
|
2013-07-08 07:28:06 +02:00
|
|
|
|
|
|
|
%install
|
2017-04-15 15:28:39 +02:00
|
|
|
%make_install -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-11-25 00:45:10 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:28:39 +02:00
|
|
|
%endif
|
2015-12-15 16:33:55 +01:00
|
|
|
%suse_update_desktop_file -r org.kde.krfb System RemoteAccess
|
2013-07-08 07:28:06 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README
|
2017-08-12 00:58:42 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/krfb/
|
2015-12-15 16:33:55 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.krfb.desktop
|
2017-08-12 00:58:42 +02:00
|
|
|
%{_kf5_appstreamdir}/
|
|
|
|
%{_kf5_bindir}/krfb
|
2015-12-15 16:33:55 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/krfb.*
|
2017-08-12 00:58:42 +02:00
|
|
|
%{_kf5_libdir}/libkrfbprivate.so*
|
2016-12-03 14:58:41 +01:00
|
|
|
%{_kf5_plugindir}/krfb/
|
2017-08-12 00:58:42 +02:00
|
|
|
%{_kf5_servicetypesdir}/krfb-framebuffer*.desktop
|
2019-07-26 16:24:20 +02:00
|
|
|
%{_kf5_servicetypesdir}/krfb-events.desktop
|
2017-08-12 00:58:42 +02:00
|
|
|
%{_kf5_sharedir}/krfb/
|
2013-07-08 07:28:06 +02:00
|
|
|
|
2017-04-15 15:28:39 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:45:10 +01:00
|
|
|
%license COPYING*
|
2017-04-15 15:28:39 +02:00
|
|
|
%endif
|
|
|
|
|
2013-07-08 07:28:06 +02:00
|
|
|
%changelog
|