Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
libvncserver
> LibVNCServer.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File LibVNCServer.spec of Package libvncserver
Name: LibVNCServer Version: 0.9.9 Release: 0 Summary: VNC Development Library License: GPL-2.0+ Group: Development/Libraries/X11 Source0: %{name}-%{version}.tar.gz Source1: baselibs.conf Patch0: LibVNCServer-0.9.9-no_x11vnc.patch BuildRequires: libgcrypt-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtool BuildRequires: lzo-devel BuildRequires: openssl-devel libgpg-error-devel BuildRequires: pkgconfig 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. %package -n linuxvnc Summary: A sample VNC server which exports /dev/vcsaN over RFB Group: Productivity/Networking/Remote Desktop Obsoletes: LibVNCServer < %version-%release Provides: LibVNCServer = %version-%release %description -n linuxvnc LinuxVNC monitors a virtual console (text mode) of Linux by reading /dev/vcsaN, and makes it available via RFB. %package -n libvncclient Summary: Library implementing a VNC client Group: System/Libraries %description -n libvncclient LibVNCServer/LibVNCClient are cross-platform C libraries that allow implementing VNC server or client functionality in your program. %package -n libvncserver Summary: Library implementing a VNC server Group: System/Libraries %description -n libvncserver LibVNCServer/LibVNCClient are cross-platform C libraries that allow implementing VNC server or client functionality in your program. %package devel Requires: gnutls-devel Requires: libvncclient = %version Requires: libvncserver = %version Requires: zlib-devel 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. %prep %setup -q %patch0 -p1 -b .no_x11vnc %build ./autogen.sh ./configure --disable-static --with-pic --enable-shared --with-gnu-ld --without-tightvnc-filetransfer --prefix=/usr make %{?_smp_mflags} install -d -m0755 RPM_BUILD_ROOT%{_datadir}/x11vnc/classes %check make check %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.a %post -n libvncclient -p /sbin/ldconfig %postun -n libvncclient -p /sbin/ldconfig %post -n libvncserver -p /sbin/ldconfig %postun -n libvncserver -p /sbin/ldconfig %files -n linuxvnc %defattr(-,root,root) %doc COPYING vncterm/README %{_bindir}/linuxvnc %files -n libvncserver %defattr(-,root,root) %_libdir/libvncserver.so.0* %files -n libvncclient %defattr(-,root,root) %_libdir/libvncclient.so.0* %files devel %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/libvncserver-config %{_includedir}/rfb/* %dir /usr/include/rfb %{_libdir}/libvncclient.so %{_libdir}/libvncserver.so %{_libdir}/pkgconfig/*.pc %changelog