1# Note that this is NOT a relocatable package 2Name: @PACKAGE@ 3Version: @VERSION@ 4Release: 2 5Summary: a library to make writing a vnc server easy 6Copyright: GPL 7Group: Libraries/Network 8Packager: Johannes.Schindelin <Johannes.Schindelin@gmx.de> 9Source: %{name}-%{version}.tar.gz 10BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 11 12%description 13LibVNCServer makes writing a VNC server (or more correctly, a program 14exporting a framebuffer via the Remote Frame Buffer protocol) easy. 15 16It is based on OSXvnc, which in turn is based on the original Xvnc by 17ORL, later AT&T research labs in UK. 18 19It hides the programmer from the tedious task of managing clients and 20compression schemata. 21 22LibVNCServer was put together and is (actively ;-) maintained by 23Johannes Schindelin <Johannes.Schindelin@gmx.de> 24 25%package devel 26Requires: %{name} = %{version} 27Summary: Static Libraries and Header Files for LibVNCServer 28Group: Libraries/Network 29Requires: %{name} = %{version} 30 31%description devel 32Static Libraries and Header Files for LibVNCServer. 33 34%package x11vnc 35Requires: %{name} = %{version} 36Summary: VNC server for the current X11 session 37Group: User Interface/X 38Requires: %{name} = %{version} 39 40%description x11vnc 41x11vnc is to X Window System what WinVNC is to Windows, i.e. a server 42which serves the current X Window System desktop via RFB (VNC) 43protocol to the user. 44 45Based on the ideas of x0rfbserver and on LibVNCServer, it has evolved 46into a versatile and performant while still easy to use program. 47 48%prep 49%setup -n %{name}-%{version} 50 51%build 52# CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} 53%configure 54make 55 56%install 57[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} 58# make install prefix=%{buildroot}%{_prefix} 59%makeinstall includedir="%{buildroot}%{_includedir}/rfb" 60 61%{__install} -d -m0755 %{buildroot}%{_datadir}/x11vnc/classes 62%{__install} webclients/VncViewer.jar webclients/index.vnc \ 63 %{buildroot}%{_datadir}/x11vnc/classes 64 65%clean 66[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} 67 68%pre 69%post 70%preun 71%postun 72 73%files 74%defattr(-,root,root) 75%doc README INSTALL AUTHORS ChangeLog NEWS TODO 76%{_bindir}/LinuxVNC 77%{_bindir}/libvncserver-config 78%{_libdir}/libvncclient.* 79%{_libdir}/libvncserver.* 80 81%files devel 82%defattr(-,root,root) 83%{_includedir}/rfb/* 84 85%files x11vnc 86%defattr(-,root,root) 87%{_bindir}/x11vnc 88%{_mandir}/man1/x11vnc.1* 89%{_datadir}/x11vnc/classes 90 91%changelog 92* Fri Aug 19 2005 Alberto Lusiani <alusiani@gmail.com> release 2 93- create separate package for x11vnc to prevent conflicts with x11vnc rpm 94- create devel package, needed to compile but not needed for running 95* Sun Feb 9 2003 Johannes Schindelin 96- created libvncserver.spec.in 97 98