File vino.spec of Package vino

#
# spec file for package vino
#
# Copyright (c) 2015 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 http://bugs.opensuse.org/
#


Name:           vino
Version:        3.16.0
Release:        0
Summary:        GNOME VNC Server
License:        GPL-2.0+
Group:          Productivity/Networking/Other
Url:            http://www.gnome.org
Source:         http://download.gnome.org/sources/vino/3.16/%{name}-%{version}.tar.xz
BuildRequires:  NetworkManager-devel
BuildRequires:  fdupes
BuildRequires:  intltool >= 0.50.0
BuildRequires:  libavahi-glib-devel
BuildRequires:  libgcrypt-devel
BuildRequires:  libjpeg-devel
BuildRequires:  telepathy-glib-devel >= 0.18.0
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(gnutls) >= 2.2.0
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(ice)
BuildRequires:  pkgconfig(libnotify) >= 0.7.0
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(sm)
BuildRequires:  pkgconfig(xtst)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires

%description
A VNC Server for GNOME

%lang_package
%prep
%setup -q
translation-update-upstream

%build
%configure\
    --libexecdir=%{_libexecdir}/vino \
    --enable-ipv6 \
    --with-telepathy \
    --with-libnotify \
    --with-network-manager \
    --with-gnome-keyring \
    --with-gnutls \
    --with-gcrypt \
    --with-avahi \
    --with-zlib \
    --with-jpeg
make %{?_smp_mflags}

%install
%make_install
%suse_update_desktop_file vino-server
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%post
%glib2_gsettings_schema_post

%postun
%glib2_gsettings_schema_postun

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_datadir}/applications/vino-server.desktop
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service
%{_datadir}/glib-2.0/schemas/org.gnome.Vino.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.Vino.gschema.xml
%dir %{_datadir}/telepathy/
%dir %{_datadir}/telepathy/clients/
%{_datadir}/telepathy/clients/Vino.client
%{_libexecdir}/vino

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by