File vino.spec of Package vino

# spec file for package vino
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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.

# Please submit bugfixes or comments via

Name:           vino
Version:        3.22.0
Release:        0
Summary:        GNOME VNC Server
License:        GPL-2.0-or-later
Group:          Productivity/Networking/Other
# PATCH-FIX-UPSTREAM vino-error-on-wayland.patch boo#1122549 -- have vino-server print an error if wayland is detected, rather than segfaulting.
Patch0:         vino-error-on-wayland.patch
# PATCH-FIX-UPSTREAM vino-CVE-2019-15681.patch boo#1155419 -- fix uninitialized memory read in LibVNCServer.
Patch1:         vino-CVE-2019-15681.patch

BuildRequires:  fdupes
BuildRequires:  intltool >= 0.50.0
BuildRequires:  libavahi-glib-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libjpeg-devel
BuildRequires:  pkgconfig
BuildRequires:  translation-update-upstream
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gio-unix-2.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.32.0
BuildRequires:  pkgconfig(gnutls) >= 2.2.0
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(gtk+-x11-3.0) >= 3.0.0
BuildRequires:  pkgconfig(ice)
BuildRequires:  pkgconfig(libnotify) >= 0.7.0
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(sm)
BuildRequires:  pkgconfig(systemd)
# Disable telepathy support and pass --without-telepathy to configure
#BuildRequires:  pkgconfig(telepathy-glib) >= 0.18.0
BuildRequires:  pkgconfig(xtst)
Recommends:     %{name}-lang

A VNC Server for GNOME


%autosetup -p1

%configure \
	--libexecdir=%{_libexecdir}/vino \
	--enable-ipv6 \
	--without-telepathy \
	--with-gnutls \
	--with-gcrypt \
	--with-avahi \
	--with-zlib \
	--with-jpeg \

%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}

%license COPYING
# Disable telepathy support
#%%dir %%{_datadir}/telepathy/
#%%dir %%{_datadir}/telepathy/clients/

%files lang -f %{name}.lang