2012-03-07 10:44:34 +01:00
|
|
|
#
|
2014-01-09 12:41:17 +01:00
|
|
|
# spec file for package tigervnc
|
2012-03-07 10:44:34 +01:00
|
|
|
#
|
2016-01-12 13:44:44 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-03-07 10:44:34 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2014-01-09 12:41:17 +01:00
|
|
|
|
2015-07-15 16:13:40 +02:00
|
|
|
%define vncgroup vnc
|
|
|
|
%define vncuser vnc
|
|
|
|
|
|
|
|
%define tlskey %{_sysconfdir}/vnc/tls.key
|
|
|
|
%define tlscert %{_sysconfdir}/vnc/tls.cert
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
Name: tigervnc
|
2016-01-12 13:44:44 +01:00
|
|
|
Version: 1.6.0
|
2012-03-07 10:44:34 +01:00
|
|
|
Release: 0
|
2014-05-28 17:05:40 +02:00
|
|
|
Provides: tightvnc = 1.3.9
|
2014-06-04 14:06:57 +02:00
|
|
|
Obsoletes: tightvnc < 1.3.9
|
2014-05-28 17:05:40 +02:00
|
|
|
Provides: vnc
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: Mesa-devel
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: fltk-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: java-devel
|
|
|
|
BuildRequires: jpackage-utils
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: nasm
|
|
|
|
BuildRequires: xorg-x11-server-sdk
|
2015-02-24 14:28:38 +01:00
|
|
|
BuildRequires: xorg-x11-server-source
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xproto)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
2013-12-03 12:51:21 +01:00
|
|
|
# Because of keytool to build java client
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
2013-12-03 12:51:21 +01:00
|
|
|
BuildRequires: mozilla-nss
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRequires: xorg-x11-libICE-devel
|
|
|
|
BuildRequires: xorg-x11-libSM-devel
|
|
|
|
BuildRequires: pkgconfig(bigreqsproto) >= 1.1.0
|
|
|
|
BuildRequires: pkgconfig(compositeproto) >= 0.4
|
|
|
|
BuildRequires: pkgconfig(damageproto) >= 1.1
|
|
|
|
BuildRequires: pkgconfig(dri)
|
|
|
|
BuildRequires: pkgconfig(fixesproto) >= 4.1
|
|
|
|
BuildRequires: pkgconfig(fontsproto)
|
2012-03-07 10:44:34 +01:00
|
|
|
BuildRequires: pkgconfig(fontutil)
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(glproto)
|
|
|
|
BuildRequires: pkgconfig(gnutls)
|
|
|
|
BuildRequires: pkgconfig(inputproto) >= 1.9.99.902
|
|
|
|
BuildRequires: pkgconfig(kbproto) >= 1.0.3
|
|
|
|
BuildRequires: pkgconfig(libtasn1)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: pkgconfig(pciaccess) >= 0.8.0
|
|
|
|
BuildRequires: pkgconfig(pixman-1) >= 0.15.20
|
2015-07-27 20:03:07 +02:00
|
|
|
BuildRequires: pkgconfig(presentproto) >= 1.0
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: pkgconfig(randrproto) >= 1.2.99.3
|
|
|
|
BuildRequires: pkgconfig(recordproto) >= 1.13.99.1
|
|
|
|
BuildRequires: pkgconfig(renderproto) >= 0.11
|
|
|
|
BuildRequires: pkgconfig(resourceproto)
|
|
|
|
BuildRequires: pkgconfig(scrnsaverproto) >= 1.1
|
|
|
|
BuildRequires: pkgconfig(videoproto)
|
|
|
|
BuildRequires: pkgconfig(xau)
|
|
|
|
BuildRequires: pkgconfig(xcmiscproto) >= 1.2.0
|
|
|
|
BuildRequires: pkgconfig(xdmcp)
|
|
|
|
BuildRequires: pkgconfig(xextproto) >= 7.0.99.3
|
2015-07-27 20:03:07 +02:00
|
|
|
BuildRequires: pkgconfig(xf86driproto) >= 2.1.1
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: pkgconfig(xfont) >= 1.4.2
|
|
|
|
BuildRequires: pkgconfig(xineramaproto)
|
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
2014-04-28 03:00:15 +02:00
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.14
|
2014-01-09 12:41:17 +01:00
|
|
|
BuildRequires: pkgconfig(xproto) >= 7.0.17
|
|
|
|
BuildRequires: pkgconfig(xtrans) >= 1.2.2
|
2014-08-18 16:56:31 +02:00
|
|
|
%if 0%{?suse_version} >= 1315
|
2014-05-28 17:05:40 +02:00
|
|
|
Requires(post): update-alternatives
|
|
|
|
Requires(postun): update-alternatives
|
2014-08-18 16:56:31 +02:00
|
|
|
%endif
|
2015-04-14 12:44:22 +02:00
|
|
|
Url: http://tigervnc.org/
|
2012-03-07 10:44:34 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: A high-performance, platform-neutral implementation of VNC
|
2014-01-09 12:41:17 +01:00
|
|
|
License: GPL-2.0 and MIT
|
|
|
|
Group: System/X11/Servers/XF86_4
|
2015-04-14 12:44:22 +02:00
|
|
|
Source1: https://github.com/TigerVNC/tigervnc/archive/v%{version}.tar.gz
|
2013-12-03 12:51:21 +01:00
|
|
|
Source3: vnc.xinetd
|
|
|
|
Source4: 10-libvnc.conf
|
|
|
|
Source5: vnc-server.firewall
|
|
|
|
Source6: vnc-httpd.firewall
|
|
|
|
Source7: vnc_inetd_httpd
|
|
|
|
Source8: vnc.reg
|
2014-02-13 15:57:22 +01:00
|
|
|
Source9: vncpasswd.arg
|
2015-01-09 14:08:09 +01:00
|
|
|
Patch1: tigervnc-newfbsize.patch
|
|
|
|
Patch2: tigervnc-clean-pressed-key-on-exit.patch
|
2015-07-15 16:13:40 +02:00
|
|
|
Patch3: u_tigervnc-ignore-epipe-on-write.patch
|
|
|
|
Patch4: n_tigervnc-date-time.patch
|
|
|
|
Patch5: U_include-vencrypt-only-if-any-subtype-present.patch
|
2016-01-12 13:44:44 +01:00
|
|
|
Patch6: u_tigervnc-cve-2014-8240.patch
|
|
|
|
Patch7: u_tigervnc-add-autoaccept-parameter.patch
|
|
|
|
Patch8: u_xserver118.patch
|
|
|
|
Patch9: u_tigervnc_update_default_vncxstartup.patch
|
2016-04-29 17:38:45 +02:00
|
|
|
Patch10: U_add_allowoverride_parameter.patch
|
|
|
|
Patch11: u_build_libXvnc_as_separate_library.patch
|
|
|
|
Patch12: u_tigervnc-show-unencrypted-warning.patch
|
2012-03-07 10:44:34 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing),
|
|
|
|
a client/server application that allows users to launch and interact with graphical applications on remote machines.
|
|
|
|
TigerVNC provides the levels of performance necessary to run 3D and video applications;
|
|
|
|
it attempts to maintain a common look and feel and re-use components, where possible, across the various platforms that it supports.
|
2013-12-03 12:51:21 +01:00
|
|
|
TigerVNC also provides extensions for advanced authentication methods and TLS encryption.
|
|
|
|
|
|
|
|
%package -n xorg-x11-Xvnc
|
2015-07-15 16:13:40 +02:00
|
|
|
# Needed to generate certificates
|
|
|
|
Requires(post): openssl
|
2015-07-31 16:24:09 +02:00
|
|
|
Requires(post): /usr/sbin/useradd
|
|
|
|
Requires(post): /usr/sbin/groupadd
|
2015-07-15 16:13:40 +02:00
|
|
|
# Needed to serve java applet
|
2015-12-16 15:26:37 +01:00
|
|
|
Requires: icewm
|
2015-07-15 16:13:40 +02:00
|
|
|
Requires: python
|
|
|
|
Requires: python-pyOpenSSL
|
2015-08-31 15:36:14 +02:00
|
|
|
Requires: xauth
|
2013-12-03 12:51:21 +01:00
|
|
|
Requires: xinetd
|
2015-12-16 15:26:37 +01:00
|
|
|
Requires: xinit
|
2015-08-31 15:36:14 +02:00
|
|
|
Requires: xkbcomp
|
2014-04-26 14:05:18 +02:00
|
|
|
Requires: xkeyboard-config
|
2016-04-27 12:38:25 +02:00
|
|
|
Requires: xorg-x11-fonts-core
|
2013-12-03 12:51:21 +01:00
|
|
|
Summary: TigerVNC implementation of Xvnc
|
|
|
|
Group: System/X11/Servers/XF86_4
|
|
|
|
|
|
|
|
%description -n xorg-x11-Xvnc
|
|
|
|
This is the TigerVNC implementation of Xvnc.
|
2012-03-07 10:44:34 +01:00
|
|
|
|
2016-04-29 17:38:45 +02:00
|
|
|
%package -n libXvnc1
|
|
|
|
Summary: X extension to control VNC module
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libXvnc1
|
|
|
|
Xvnc extension allows X clients to read and change VNC configuration.
|
|
|
|
|
|
|
|
%package -n libXvnc-devel
|
|
|
|
Summary: X extension to control VNC module
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libXvnc1 = %version
|
|
|
|
|
|
|
|
%description -n libXvnc-devel
|
|
|
|
Xvnc extension allows X clients to read and change VNC configuration.
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%prep
|
2015-04-14 12:44:22 +02:00
|
|
|
%setup -T -b1 -q
|
2015-02-24 14:28:38 +01:00
|
|
|
cp -r /usr/src/xserver/* unix/xserver/
|
2013-12-17 15:05:53 +01:00
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2015-07-15 16:13:40 +02:00
|
|
|
%patch3 -p0
|
|
|
|
%patch4 -p1
|
2015-01-09 14:08:09 +01:00
|
|
|
%patch5 -p0
|
2016-01-12 13:44:44 +01:00
|
|
|
%patch6 -p1
|
2015-07-15 16:13:40 +02:00
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
2015-01-09 14:08:09 +01:00
|
|
|
%patch9 -p1
|
2016-04-29 17:38:45 +02:00
|
|
|
%patch10 -p1
|
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
2014-08-18 14:26:36 +02:00
|
|
|
|
2013-12-03 12:51:21 +01:00
|
|
|
pushd unix/xserver
|
2015-07-15 16:13:40 +02:00
|
|
|
patch -p1 < ../xserver117.patch
|
2013-12-03 12:51:21 +01:00
|
|
|
popd
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%build
|
2014-11-17 11:17:50 +01:00
|
|
|
export CXXFLAGS="%optflags -fPIC"
|
|
|
|
export CFLAGS="%optflags -fPIC"
|
2013-12-03 12:51:21 +01:00
|
|
|
# Build all tigervnc
|
2016-01-12 13:44:44 +01:00
|
|
|
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TIMESTAMP="??-??-?? ??:??"
|
2013-12-03 12:51:21 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
# Build Xvnc server
|
|
|
|
pushd unix/xserver
|
2012-06-05 10:47:36 +02:00
|
|
|
autoreconf -fi
|
2013-12-03 12:51:21 +01:00
|
|
|
%configure \
|
|
|
|
--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
|
|
|
|
--disable-xwin --disable-xephyr --disable-kdrive --with-pic \
|
|
|
|
--disable-static --disable-xinerama \
|
|
|
|
--with-xkb-path="/usr/share/X11/xkb" \
|
|
|
|
--with-xkb-output="/var/lib/xkb/compiled" \
|
2015-07-27 20:03:07 +02:00
|
|
|
--enable-glx --enable-dri \
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
--enable-dri2 \
|
|
|
|
%endif
|
2013-12-03 12:51:21 +01:00
|
|
|
--disable-config-dbus \
|
|
|
|
--disable-config-hal \
|
|
|
|
--disable-config-udev \
|
|
|
|
--without-dtrace \
|
|
|
|
--disable-unit-tests \
|
|
|
|
--disable-devel-docs \
|
|
|
|
--with-fontrootdir=/usr/share/fonts \
|
|
|
|
--disable-selective-werror
|
2014-05-30 14:45:02 +02:00
|
|
|
make %{?_smp_mflags} V=1
|
2013-12-03 12:51:21 +01:00
|
|
|
popd
|
|
|
|
|
|
|
|
# Build java client
|
|
|
|
pushd java
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
|
2012-03-22 12:18:23 +01:00
|
|
|
make %{?_smp_mflags}
|
2012-03-07 10:44:34 +01:00
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
2013-12-03 12:51:21 +01:00
|
|
|
|
|
|
|
%make_install
|
|
|
|
|
2014-05-28 17:05:40 +02:00
|
|
|
mv $RPM_BUILD_ROOT/usr/bin/vncviewer $RPM_BUILD_ROOT/usr/bin/vncviewer-tigervnc
|
|
|
|
mv $RPM_BUILD_ROOT/usr/share/man/man1/vncviewer.1 $RPM_BUILD_ROOT/usr/share/man/man1/vncviewer-tigervnc.1
|
|
|
|
|
2013-12-03 12:51:21 +01:00
|
|
|
pushd unix/xserver
|
|
|
|
%make_install
|
|
|
|
popd
|
|
|
|
|
|
|
|
pushd java
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vnc/classes
|
|
|
|
install -m755 VncViewer.jar $RPM_BUILD_ROOT%{_datadir}/vnc/classes
|
|
|
|
popd
|
|
|
|
|
|
|
|
install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/vnc
|
2014-01-10 16:13:33 +01:00
|
|
|
%ifnarch s390x
|
2013-12-03 12:51:21 +01:00
|
|
|
install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-libvnc.conf
|
2014-01-10 16:13:33 +01:00
|
|
|
%endif
|
2013-12-03 12:51:21 +01:00
|
|
|
install -D -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/vnc-server
|
|
|
|
install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd
|
|
|
|
install -D -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_bindir}/vnc_inetd_httpd
|
|
|
|
install -D -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/slp.reg.d/vnc.reg
|
2014-02-13 15:57:22 +01:00
|
|
|
install -D -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_bindir}/vncpasswd.arg
|
2014-08-18 16:56:31 +02:00
|
|
|
%if 0%{?suse_version} >= 1315
|
2014-06-04 14:06:57 +02:00
|
|
|
ln -s -f %{_sysconfdir}/alternatives/vncviewer $RPM_BUILD_ROOT%{_bindir}/vncviewer
|
|
|
|
ln -s -f %{_sysconfdir}/alternatives/vncviewer.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/vncviewer.1.gz
|
2014-08-18 16:56:31 +02:00
|
|
|
%endif
|
2013-12-03 12:51:21 +01:00
|
|
|
|
2015-07-15 16:13:40 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/vnc
|
|
|
|
|
2015-04-14 12:44:22 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/doc/tigervnc-*
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%find_lang '%{name}'
|
|
|
|
|
2015-07-15 16:13:40 +02:00
|
|
|
%pre -n xorg-x11-Xvnc
|
2015-07-31 16:24:09 +02:00
|
|
|
getent group %{vncgroup} > /dev/null || groupadd -r %{vncgroup} || :
|
|
|
|
getent passwd %{vncuser} > /dev/null || useradd -r -g %{vncgroup} -d /var/lib/empty -s /sbin/nologin -c "user for VNC" %{vncuser} || :
|
2015-07-15 16:13:40 +02:00
|
|
|
|
|
|
|
%post -n xorg-x11-Xvnc
|
|
|
|
if ! test -e %{tlskey} ; then
|
|
|
|
(umask 077 && openssl genrsa -out %{tlskey} 2048)
|
|
|
|
chown %{vncuser}:%{vncgroup} %{tlskey}
|
|
|
|
fi
|
|
|
|
if ! test -e %{tlscert} ; then
|
|
|
|
cn="Automatically generated certificate for the VNC service"
|
|
|
|
openssl req -new -x509 -extensions usr_cert \
|
|
|
|
-key %{tlskey} -out %{tlscert} -days 7305 -subj "/CN=$cn/"
|
|
|
|
chown %{vncuser}:%{vncgroup} %{tlscert}
|
|
|
|
fi
|
2014-08-18 16:56:31 +02:00
|
|
|
|
2014-05-28 17:05:40 +02:00
|
|
|
%post
|
2015-07-15 16:13:40 +02:00
|
|
|
%if 0%{?suse_version} >= 1315
|
2014-06-04 14:06:57 +02:00
|
|
|
%_sbindir/update-alternatives \
|
|
|
|
--install %{_bindir}/vncviewer vncviewer %{_bindir}/vncviewer-tigervnc 20 \
|
|
|
|
--slave %{_mandir}/man1/vncviewer.1.gz vncviewer.1.gz %{_mandir}/man1/vncviewer-tigervnc.1.gz
|
2015-07-15 16:13:40 +02:00
|
|
|
%endif
|
2014-05-28 17:05:40 +02:00
|
|
|
|
|
|
|
%postun
|
2015-07-15 16:13:40 +02:00
|
|
|
%if 0%{?suse_version} >= 1315
|
2014-05-28 17:05:40 +02:00
|
|
|
if [ "$1" = 0 ] ; then
|
|
|
|
"%_sbindir/update-alternatives" --remove vncviewer /usr/bin/vncviewer-tigervnc
|
|
|
|
fi
|
2014-08-18 16:56:31 +02:00
|
|
|
%endif
|
|
|
|
|
2016-04-29 17:38:45 +02:00
|
|
|
%post -n libXvnc1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libXvnc1 -p /sbin/ldconfig
|
|
|
|
|
2013-12-03 12:51:21 +01:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
2014-06-04 14:06:57 +02:00
|
|
|
%ghost %{_bindir}/vncviewer
|
2014-05-28 17:05:40 +02:00
|
|
|
%{_bindir}/vncviewer-tigervnc
|
2015-04-14 12:44:22 +02:00
|
|
|
%doc LICENCE.TXT README.txt
|
2014-06-04 14:06:57 +02:00
|
|
|
%ghost %_mandir/man1/vncviewer.1.gz
|
|
|
|
%doc %_mandir/man1/vncviewer-tigervnc.1.gz
|
2014-08-18 16:56:31 +02:00
|
|
|
%if 0%{?suse_version} >= 1315
|
2014-05-28 17:05:40 +02:00
|
|
|
%ghost %_sysconfdir/alternatives/vncviewer
|
2014-06-04 14:06:57 +02:00
|
|
|
%ghost %_sysconfdir/alternatives/vncviewer.1.gz
|
2014-08-18 16:56:31 +02:00
|
|
|
%endif
|
2013-12-03 12:51:21 +01:00
|
|
|
|
|
|
|
%files -n xorg-x11-Xvnc
|
2015-04-14 12:44:22 +02:00
|
|
|
%doc LICENCE.TXT README.txt
|
2012-03-07 10:44:34 +01:00
|
|
|
%defattr(-,root,root)
|
2013-12-03 12:51:21 +01:00
|
|
|
|
|
|
|
%{_bindir}/Xvnc
|
|
|
|
%{_bindir}/vncconfig
|
|
|
|
%{_bindir}/vncpasswd
|
2014-02-13 15:57:22 +01:00
|
|
|
%{_bindir}/vncpasswd.arg
|
2013-12-03 12:51:21 +01:00
|
|
|
%{_bindir}/vncserver
|
|
|
|
%{_bindir}/x0vncserver
|
|
|
|
%{_bindir}/vnc_inetd_httpd
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%exclude %{_mandir}/man1/Xserver.1*
|
2013-12-03 12:51:21 +01:00
|
|
|
%{_mandir}/man1/Xvnc.1*
|
|
|
|
%{_mandir}/man1/vncconfig.1*
|
|
|
|
%{_mandir}/man1/vncpasswd.1*
|
|
|
|
%{_mandir}/man1/vncserver.1*
|
|
|
|
%{_mandir}/man1/x0vncserver.1*
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%exclude /usr/%{_lib}/xorg/protocol.txt
|
|
|
|
%exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la
|
2015-07-27 20:03:07 +02:00
|
|
|
%ifnarch s390 s390x
|
2013-12-03 12:51:21 +01:00
|
|
|
%{_libdir}/xorg/modules/extensions/libvnc.so
|
2014-01-10 16:13:33 +01:00
|
|
|
%else
|
|
|
|
%exclude %{_libdir}/xorg/modules
|
|
|
|
%exclude %{_libdir}/xorg/modules/extensions
|
|
|
|
%exclude %{_libdir}/xorg/modules/extensions/libvnc.so
|
|
|
|
%endif
|
2013-12-03 12:51:21 +01:00
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%exclude /var/lib/xkb/compiled/README.compiled
|
2013-12-03 12:51:21 +01:00
|
|
|
|
2014-06-04 14:06:57 +02:00
|
|
|
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-server
|
|
|
|
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/vnc-httpd
|
2013-12-03 12:51:21 +01:00
|
|
|
|
2015-07-27 20:03:07 +02:00
|
|
|
%ifnarch s390 s390x
|
2013-12-03 12:51:21 +01:00
|
|
|
%config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf
|
2014-01-10 16:13:33 +01:00
|
|
|
%else
|
|
|
|
%exclude /etc/X11/xorg.conf.d
|
|
|
|
%endif
|
2013-12-03 12:51:21 +01:00
|
|
|
%config(noreplace) /etc/xinetd.d/vnc
|
|
|
|
%dir /etc/slp.reg.d
|
|
|
|
%config(noreplace) /etc/slp.reg.d/vnc.reg
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%exclude /usr/lib/debug/*
|
|
|
|
%exclude /usr/lib/debug/.*
|
|
|
|
%exclude /usr/src/debug
|
2013-12-03 12:51:21 +01:00
|
|
|
|
|
|
|
%doc java/com/tigervnc/vncviewer/README
|
|
|
|
%{_datadir}/vnc
|
2012-03-07 10:44:34 +01:00
|
|
|
|
2015-07-15 16:13:40 +02:00
|
|
|
%dir %{_sysconfdir}/vnc
|
|
|
|
%ghost %attr(0600,%{vncuser},%{vncuser}) %config(noreplace) %{tlskey}
|
|
|
|
%ghost %attr(0644,%{vncuser},%{vncuser}) %config(noreplace) %{tlscert}
|
|
|
|
|
2016-04-29 17:38:45 +02:00
|
|
|
%files -n libXvnc1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libXvnc.so.1*
|
|
|
|
|
|
|
|
%files -n libXvnc-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libXvnc.so
|
|
|
|
%{_includedir}/X11/extensions/Xvnc.h
|
|
|
|
|
2012-03-07 10:44:34 +01:00
|
|
|
%changelog
|