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
|
|
|
#
|
2017-08-12 00:58:42 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2017-04-20 10:35:21 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2013-07-08 07:28:06 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:58:42 +02:00
|
|
|
|
2017-04-15 15:28:39 +02:00
|
|
|
%bcond_without lang
|
2013-07-22 17:18:05 +02:00
|
|
|
|
2013-07-08 07:28:06 +02:00
|
|
|
Name: krfb
|
2017-08-05 20:52:35 +02:00
|
|
|
Version: 17.07.90
|
2016-12-03 14:58:41 +01:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
2017-08-12 00:58:42 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2016-12-03 14:58:41 +01:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
|
|
|
Summary: Desktop Sharing
|
|
|
|
License: GPL-2.0+
|
2017-08-12 00:58:42 +02:00
|
|
|
Group: Productivity/Networking/Other
|
2016-12-03 14:58:41 +01:00
|
|
|
Source0: %{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
|
2016-12-06 11:46:59 +01:00
|
|
|
BuildRequires: kcompletion-devel
|
|
|
|
BuildRequires: kconfig-devel
|
2015-12-15 16:33:55 +01:00
|
|
|
BuildRequires: kcoreaddons-devel
|
2016-11-10 09:55:36 +01:00
|
|
|
BuildRequires: kcrash-devel
|
2015-12-15 16:33:55 +01:00
|
|
|
BuildRequires: kdbusaddons-devel
|
|
|
|
BuildRequires: kdnssd-framework-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
2016-11-10 09:55:36 +01:00
|
|
|
BuildRequires: ki18n-devel
|
2016-12-06 11:46:59 +01:00
|
|
|
BuildRequires: knotifications-devel
|
2016-12-03 14:58:41 +01:00
|
|
|
BuildRequires: ktp-common-internals-devel
|
2017-08-06 01:18:27 +02:00
|
|
|
BuildRequires: kwallet-devel
|
2015-12-15 16:33:55 +01:00
|
|
|
BuildRequires: kwidgetsaddons-devel
|
2016-12-06 11:46:59 +01:00
|
|
|
BuildRequires: kxmlgui-devel
|
2016-12-03 14:58:41 +01:00
|
|
|
BuildRequires: oxygen5-icon-theme-large
|
|
|
|
BuildRequires: pkgconfig
|
2017-08-12 00:58:42 +02:00
|
|
|
BuildRequires: systemd-devel
|
|
|
|
BuildRequires: telepathy-qt5-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: xcb-util-image-devel
|
2015-12-15 16:33:55 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
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}
|
2017-04-20 10:49:56 +02:00
|
|
|
Recommends: %{name}-lang
|
2017-08-12 00:58:42 +02:00
|
|
|
%endif
|
2013-07-08 07:28:06 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
VNC-compatible server to share KDE desktops.
|
|
|
|
|
2017-04-15 15:28:39 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
|
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"
|
2013-07-08 07:28:06 +02:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2017-04-15 15:28:39 +02:00
|
|
|
%make_install -C build
|
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%kf5_find_htmldocs
|
|
|
|
%endif
|
2016-12-03 14:58:41 +01:00
|
|
|
for i in 128 64 48 32 22 16
|
2013-10-04 07:24:25 +02:00
|
|
|
do
|
2016-12-03 14:58:41 +01:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/
|
2013-07-08 07:28:06 +02:00
|
|
|
done
|
2016-12-03 14:58:41 +01:00
|
|
|
cp %{_datadir}/icons/oxygen/base/128x128/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/
|
|
|
|
cp %{_datadir}/icons/oxygen/base/16x16/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/
|
|
|
|
cp %{_datadir}/icons/oxygen/base/22x22/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/
|
|
|
|
cp %{_datadir}/icons/oxygen/base/32x32/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
|
|
|
|
cp %{_datadir}/icons/oxygen/base/48x48/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
|
|
|
|
cp %{_datadir}/icons/oxygen/base/64x64/apps/krfb.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
|
|
|
|
cd ..
|
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
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%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
|
|
|
|
%{_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
|
|
|
|
%doc COPYING*
|
|
|
|
%endif
|
|
|
|
|
2013-07-08 07:28:06 +02:00
|
|
|
%changelog
|