2013-07-08 07:27:14 +02:00
|
|
|
#
|
2013-07-22 17:17:56 +02:00
|
|
|
# spec file for package krdc
|
2013-07-08 07:27:14 +02:00
|
|
|
#
|
2022-11-17 23:58:38 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2013-07-08 07:27:14 +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:09 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-08 07:27:14 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:58:35 +02:00
|
|
|
|
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:42:19 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 13:44:56 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:45:09 +01:00
|
|
|
Name: krdc
|
2023-01-06 17:19:30 +01:00
|
|
|
Version: 22.12.1
|
2018-11-25 00:45:09 +01:00
|
|
|
Release: 0
|
2016-12-03 15:00:58 +01:00
|
|
|
Summary: Remote Desktop Connection
|
2018-11-25 00:45:09 +01:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 15:31:06 +02:00
|
|
|
URL: https://apps.kde.org/krdc
|
2022-12-08 13:38:48 +01:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:56 +01:00
|
|
|
%if %{with released}
|
2022-12-08 13:38:48 +01:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:31:06 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2013-07-08 07:27:14 +02:00
|
|
|
BuildRequires: LibVNCServer-devel
|
2016-12-03 15:00:58 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2013-09-09 11:11:01 +02:00
|
|
|
BuildRequires: freerdp
|
|
|
|
BuildRequires: freerdp-devel
|
2020-03-28 14:58:06 +01:00
|
|
|
BuildRequires: libssh-devel
|
2016-12-03 15:00:58 +01:00
|
|
|
BuildRequires: oxygen5-icon-theme-large
|
2016-04-12 16:41:26 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2016-12-03 15:00:58 +01:00
|
|
|
BuildRequires: cmake(KF5Bookmarks)
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
2016-04-12 16:41:26 +02:00
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5DNSSD)
|
2016-12-03 15:00:58 +01:00
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
2016-04-12 16:41:26 +02:00
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
2016-12-03 15:00:58 +01:00
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
BuildRequires: cmake(KF5Notifications)
|
|
|
|
BuildRequires: cmake(KF5NotifyConfig)
|
2016-04-12 16:41:26 +02:00
|
|
|
BuildRequires: cmake(KF5Wallet)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
2019-04-03 10:52:37 +02:00
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2016-12-03 15:00:58 +01:00
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2016-04-12 16:41:26 +02:00
|
|
|
Requires: breeze5-icons
|
2016-12-03 15:00:58 +01:00
|
|
|
Requires: freerdp
|
2013-07-08 07:27:14 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Krdc allows to connect to VNC and RDP compatible servers.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for krdc
|
|
|
|
Requires: krdc = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development libraries and headers needed to build software using krdc
|
|
|
|
|
2017-04-15 15:28:38 +02:00
|
|
|
%lang_package
|
|
|
|
|
2013-07-08 07:27:14 +02:00
|
|
|
%prep
|
2021-04-19 15:31:06 +02:00
|
|
|
%autosetup -p1
|
2013-07-08 07:27:14 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|
|
|
%endif
|
2022-11-17 23:58:38 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2013-07-08 07:27:14 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:58:38 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
|
|
|
for i in 128 16 22 32 48 64
|
2013-10-04 07:24:13 +02:00
|
|
|
do
|
2016-04-12 16:41:26 +02:00
|
|
|
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps
|
2016-12-03 15:01:13 +01:00
|
|
|
cp %{_kf5_iconsdir}/oxygen/base/${i}x${i}/apps/krdc.png %{buildroot}%{_kf5_iconsdir}/hicolor/${i}x${i}/apps/
|
2013-07-08 07:27:14 +02:00
|
|
|
done
|
2022-11-17 23:58:38 +01:00
|
|
|
|
|
|
|
%suse_update_desktop_file -r org.kde.krdc System RemoteAccess
|
2013-07-08 07:27:14 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2021-07-27 11:35:56 +02:00
|
|
|
%license LICENSES/*
|
2017-08-12 00:58:35 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/krdc/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.krdc.desktop
|
2021-04-19 15:31:06 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.krdc.appdata.xml
|
2017-08-12 00:58:35 +02:00
|
|
|
%{_kf5_bindir}/krdc
|
2016-12-03 15:00:58 +01:00
|
|
|
%{_kf5_configkcfgdir}/krdc.kcfg
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/krdc.png
|
2017-08-12 00:58:35 +02:00
|
|
|
%{_kf5_libdir}/libkrdccore.so.*
|
|
|
|
%{_kf5_plugindir}/krdc/
|
2021-07-27 11:35:56 +02:00
|
|
|
%{_kf5_debugdir}/krdc.categories
|
2022-08-09 16:12:53 +02:00
|
|
|
%dir %{_kf5_sharedir}/kio/
|
|
|
|
%dir %{_kf5_sharedir}/kio/servicemenus/
|
|
|
|
%{_kf5_sharedir}/kio/servicemenus/smb2rdc.desktop
|
2013-07-08 07:27:14 +02:00
|
|
|
|
|
|
|
%files devel
|
2016-12-03 15:00:58 +01:00
|
|
|
%{_includedir}/krdc/
|
|
|
|
%{_includedir}/krdccore_export.h
|
2017-08-12 00:58:35 +02:00
|
|
|
%{_kf5_libdir}/libkrdccore.so
|
2013-07-08 07:27:14 +02:00
|
|
|
|
2017-04-15 15:28:38 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2013-07-08 07:27:14 +02:00
|
|
|
%changelog
|