File LibVNCServer.spec of Package LibVNCServer
#
# spec file for package LibVNCServer (Version 0.9.1)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: LibVNCServer
BuildRequires: libavahi-devel libjpeg-devel slang-devel xorg-x11-devel
License: GPL v2 or later
Group: Development/Libraries/X11
AutoReqProv: on
Version: 0.9.1
Release: 154
Summary: VNC Development Library
Url: http://libvncserver.sf.net/
Source0: %{name}-%{version}.tar.bz2
Patch1: LibVNCServer-LINUX.diff
Patch2: filetransfer-overflow.diff
Patch5: patch-libvnc-0215.l
Patch6: stack-check
Patch7: redef-keysym
Patch8: fix-warn.diff
Patch10: dont-build-x11vnc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
VNC is a set of programs using the RFB (Remote Frame Buffer) protocol.
They are designed to "export" a frame buffer via the network. It is
already in wide use for administration, but it is not that easy to
program a server yourself. This has been changed by LibVNCServer.
X.org already has a virtual Xvnc server which you can start as an own
screen (e.g. :1) and connect to with a VNC client (e.g. vncviewer from
tightvnc). The x11vnc binary (that allows you to export the window of a
real running X11 server) has been split off into its own package on
2007-07-16.
Authors:
--------
Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Dan McGuirk <mcguirk@incompleteness.net>
Karl Runge
%package devel
License: GPL v2 or later
Requires: %{name} = %{version} zlib-devel
AutoReqProv: on
Summary: VNC Development Library
Group: Development/Libraries/X11
%description devel
VNC is a set of programs using the RFB (Remote Frame Buffer) protocol.
They are designed to "export" a frame buffer via the network. It is
already in wide use for administration, but it is not that easy to
program a server yourself. This has been changed by LibVNCServer.
X.org already has a virtual Xvnc server which you can start as an own
screen (e.g. :1) and connect to with a VNC client (e.g. vncviewer from
tightvnc).
The LibVNCServer-devel package contains the static libraries and header
files for LibVNCServer.
Authors:
--------
Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Dan McGuirk <mcguirk@incompleteness.net>
Karl Runge
%prep
#%setup -n libvncserver
%setup -q
%patch1
%patch2 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch10 -p1
# aclocal; autoheader; automake --add-missing --copy; autoconf
# ./configure --enable-maintainer-mode
# sh ./autogen.sh
%build
autoreconf -f
CFLAGS="$RPM_OPT_FLAGS -D_REENTRANT" \
%configure --enable-shared --with-gnu-ld
make
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
/usr/bin/LinuxVNC
/usr/bin/libvncserver-config
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/libvncclient.so.*
%{_libdir}/libvncserver.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/rfb/*
%dir /usr/include/rfb
%{_libdir}/libvncclient.la
%{_libdir}/libvncserver.la
%{_libdir}/libvncclient.a
%{_libdir}/libvncserver.a
%{_libdir}/libvncclient.so
%{_libdir}/libvncserver.so
%changelog
* Mon Oct 27 2008 garloff@suse.de
- fix-warn.diff: Avoid pointer > 0 comparison (bnc 435610)
* Mon Feb 25 2008 crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- devel package requires zlib-devel
* Thu Oct 11 2007 sbrabec@suse.cz
- Use binding specific avahi package.
* Tue Jul 17 2007 garloff@suse.de
- Split LibVNCServer into itself, -devel and x11vnc.
- Update to LibVNCserver-0.9.1.
- Drop patches that have been integrated upstream.
* Wed Apr 11 2007 stbinner@suse.de
- fix misplaced guards in rfb.h
* Fri Mar 16 2007 ccoffing@novell.com
- Fix incorrect usage of condition variables, which was causing
a crash during heavy updates. (#246100)
* Fri Jul 28 2006 garloff@suse.de
- Update to version 0.8.2:
* Support for VNC protocol version 3.8.
* Many UltraVNC encodings and features added: FileTransfer,
SetSingleWindow, ServerInput, TextChat, UltraZip, etc.
* Support for PalmVNC and UltraVNC style 1/n server-side scaling.
* Improved Statistics reporting.
* KeyboardLedState encoding.
* LibVNCClient and x11vnc enhancements.
* Many bugs and leaks fixed.
* CVE-2006-2450 fix is already included, drop patch.
- Use -allinput in x11vnc_ssh script.
* Mon Jun 19 2006 garloff@suse.de
- Update to version 0.8.
- Enable -fstack-protector for auth relevant files.
- Fix some compiler warnings.
- Disallow NoneAuth if password is set (#184418, CVE-2006-2450).
* Fri Feb 24 2006 garloff@suse.de
- Optimize event loop in LibVNCserver (from intel for Xen).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 30 2005 garloff@suse.de
- Don't enable -threads by default; it's performance is nice, but
the stability is not that great.
- Include x11vnc_ssh in distribution.
* Thu Dec 22 2005 garloff@suse.de
- Workaround for -thread mode: Wait for a client being fully
authenticated before sending data.
* Wed Dec 21 2005 garloff@suse.de
- Update to LibVNCServer-0.7.99
- Fix compiler detected bugs (uninitialized var, buffer overflow).
- Package documentation.
* Tue Dec 20 2005 ro@suse.de
- do not try to detect LINUX by presence of /dev/vcsa1
* Sun Aug 21 2005 garloff@suse.de
- Initial creation of package LibVNCServer-0.7.1.