Stefan Dirsch
b151ac9e0b
- Update client to 1.3.0. - Build xorg-x11-Xvnc package from this sources. OBS-URL: https://build.opensuse.org/request/show/209248 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=5
191 lines
6.6 KiB
RPMSpec
191 lines
6.6 KiB
RPMSpec
#
|
|
# spec file for package xorg-x11-Xvnc
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products 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: tigervnc
|
|
Version: 1.3.0
|
|
Release: 0
|
|
License: GPL-2.0 and MIT
|
|
Conflicts: tightvnc
|
|
BuildRequires: xorg-x11-server-sdk Mesa-devel libopenssl-devel gcc-c++ libjpeg-devel fltk-devel
|
|
BuildRequires: nasm gcc-c++ pkgconfig(xproto) pkgconfig(x11) pkgconfig(xext) pkgconfig(xtst)
|
|
BuildRequires: cmake autoconf automake libtool binutils-gold
|
|
BuildRequires: java-devel jpackage-utils
|
|
# Because of keytool to build java client
|
|
BuildRequires: mozilla-nss
|
|
BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel pkgconfig(libtasn1) pkgconfig(gnutls) libgcrypt-devel libgpg-error-devel pam-devel
|
|
BuildRequires: pkgconfig(fontutil)
|
|
BuildRequires: pkg-config xmlto pkgconfig(pixman-1) >= 0.15.20 pkgconfig(glproto) pkgconfig(gl) pkgconfig(dri) pkgconfig(openssl)
|
|
BuildRequires: pkgconfig(fixesproto) >= 4.1 pkgconfig(damageproto) >= 1.1 pkgconfig(xcmiscproto) >= 1.2.0 pkgconfig(xtrans) >= 1.2.2
|
|
BuildRequires: pkgconfig(bigreqsproto) >= 1.1.0 pkgconfig(xproto) >= 7.0.17 pkgconfig(randrproto) >= 1.2.99.3 pkgconfig(renderproto) >= 0.11
|
|
BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 pkgconfig(inputproto) >= 1.9.99.902 pkgconfig(kbproto) >= 1.0.3 pkgconfig(fontsproto)
|
|
BuildRequires: pkgconfig(videoproto) pkgconfig(compositeproto) >= 0.4 pkgconfig(recordproto) >= 1.13.99.1 pkgconfig(scrnsaverproto) >= 1.1
|
|
BuildRequires: pkgconfig(resourceproto) pkgconfig(xineramaproto) pkgconfig(xkbfile) pkgconfig(xau) pkgconfig(xdmcp) pkgconfig(xfont) >= 1.4.2
|
|
BuildRequires: pkgconfig(pciaccess) >= 0.8.0
|
|
URL: http://sourceforge.net/apps/mediawiki/tigervnc/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Group: System/X11/Servers/XF86_4
|
|
Summary: A high-performance, platform-neutral implementation of VNC
|
|
Source1: tigervnc-1.3.0.tar.bz2
|
|
Source2: xorg-server-1.13.0.tar.bz2
|
|
Source3: vnc.xinetd
|
|
Source4: 10-libvnc.conf
|
|
Source5: vnc-server.firewall
|
|
Source6: vnc-httpd.firewall
|
|
Source7: vnc_inetd_httpd
|
|
Source8: vnc.reg
|
|
|
|
# Tiger vnc patches
|
|
Patch1: u_tigervnc-1.3.0-fix-use-after-free.patch
|
|
Patch2: tigervnc-newfbsize.patch
|
|
|
|
# Xserver patches
|
|
Patch10: tigervnc-1.2.80-fix-int-to-pointer.patch
|
|
Patch11: u_aarch64-support.patch
|
|
Patch12: N_xorg-server-xdmcp.patch
|
|
|
|
%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.
|
|
TigerVNC also provides extensions for advanced authentication methods and TLS encryption.
|
|
|
|
%package -n xorg-x11-Xvnc
|
|
Requires: xinetd
|
|
Summary: TigerVNC implementation of Xvnc
|
|
Group: System/X11/Servers/XF86_4
|
|
|
|
%description -n xorg-x11-Xvnc
|
|
This is the TigerVNC implementation of Xvnc.
|
|
|
|
%prep
|
|
%setup -T -b1 -b2
|
|
cp -r ../xorg-server-*/* unix/xserver/
|
|
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
pushd unix/xserver
|
|
patch -p1 < ../xserver113.patch
|
|
%patch10 -p1
|
|
%patch11 -p1
|
|
%patch12 -p1
|
|
popd
|
|
|
|
%build
|
|
# Build all tigervnc
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
|
|
make %{?_smp_mflags}
|
|
|
|
# Build Xvnc server
|
|
pushd unix/xserver
|
|
autoreconf -fi
|
|
%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" \
|
|
--enable-glx --enable-dri --enable-dri2 \
|
|
--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
|
|
make %{?_smp_mflags}
|
|
popd
|
|
|
|
# Build java client
|
|
pushd java
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}
|
|
make %{?_smp_mflags}
|
|
popd
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
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
|
|
install -m644 com/tigervnc/vncviewer/index.vnc $RPM_BUILD_ROOT%{_datadir}/vnc/classes
|
|
popd
|
|
|
|
install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/xinetd.d/vnc
|
|
install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/X11/xorg.conf.d/10-libvnc.conf
|
|
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
|
|
|
|
%find_lang '%{name}'
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/vncviewer
|
|
%exclude /usr/share/doc/tigervnc-1.3.0
|
|
%doc LICENCE.TXT
|
|
%doc README.txt
|
|
%{_mandir}/man1/vncviewer.1*
|
|
|
|
%files -n xorg-x11-Xvnc
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/Xvnc
|
|
%{_bindir}/vncconfig
|
|
%{_bindir}/vncpasswd
|
|
%{_bindir}/vncserver
|
|
%{_bindir}/x0vncserver
|
|
%{_bindir}/vnc_inetd_httpd
|
|
|
|
%exclude %{_mandir}/man1/Xserver.1*
|
|
%{_mandir}/man1/Xvnc.1*
|
|
%{_mandir}/man1/vncconfig.1*
|
|
%{_mandir}/man1/vncpasswd.1*
|
|
%{_mandir}/man1/vncserver.1*
|
|
%{_mandir}/man1/x0vncserver.1*
|
|
|
|
%exclude /usr/%{_lib}/xorg/protocol.txt
|
|
%exclude /usr/%{_lib}/xorg/modules/extensions/libvnc.la
|
|
%{_libdir}/xorg/modules/extensions/libvnc.so
|
|
|
|
%exclude /var/lib/xkb/compiled/README.compiled
|
|
|
|
/etc/sysconfig/SuSEfirewall2.d/services/vnc-server
|
|
/etc/sysconfig/SuSEfirewall2.d/services/vnc-httpd
|
|
|
|
%config(noreplace) /etc/X11/xorg.conf.d/10-libvnc.conf
|
|
%config(noreplace) /etc/xinetd.d/vnc
|
|
%dir /etc/slp.reg.d
|
|
%config(noreplace) /etc/slp.reg.d/vnc.reg
|
|
|
|
%exclude /usr/lib/debug/*
|
|
%exclude /usr/lib/debug/.*
|
|
%exclude /usr/src/debug
|
|
|
|
%doc java/com/tigervnc/vncviewer/README
|
|
%{_datadir}/vnc
|
|
|
|
%changelog
|