+Summary: A VNC server for the current X11 session
+Summary(pl.UTF-8): Program serwujący aktualną sesję X11 poprzez VNC
Name: x11vnc
-Summary: a VNC server for the current X11 session
-Summary(pl): Program serwuj±cy aktualn± sesjê X11 poprzez VNC
-Version: 0.6.1
+Version: 0.9.3
Release: 1
License: GPL
Group: X11/Applications/Networking
-Source0: http://dl.sourceforge.net/libvncserver/%{name}-%{version}.tar.gz
-BuildRequires: XFree86-devel
+Source0: http://www.karlrunge.com/x11vnc/%{name}-%{version}.tar.gz
+# Source0-md5: 868d2be5c8d4f116e89b8573db435889
+URL: http://www.karlrunge.com/x11vnc/
+BuildRequires: autoconf >= 2.59-9
+BuildRequires: automake
BuildRequires: libjpeg-devel
+BuildRequires: openssl-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXTrap-devel
+BuildRequires: xorg-lib-libXdamage-devel
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXfixes-devel
+BuildRequires: xorg-lib-libXinerama-devel
+BuildRequires: xorg-lib-libXrandr-devel
+BuildRequires: xorg-lib-libXtst-devel
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-x11vnc is to Xwindows what WinVNC is to Windows, i.e. a server which
-serves the current Xwindows desktop via RFB (VNC) protocol to the
-user.
+x11vnc is to X Window System what WinVNC is to Windows, i.e. a server
+which serves the current X Window System desktop via RFB (VNC)
+protocol to the user.
+
Based on the ideas of x0rfbserver and on LibVNCServer, it has evolved
into a versatile and performant while still easy to use program.
-%description -l pl
-x11vnc jest tym czym czym jest WinVNC dla windows, czyli programem
-udostêpniaj±cym aktualny ekran Xwindow poprzez protokó³ RFB (VNC) dla
-u¿ytkownika.
-Bazuje na pomysle x0rfbserver i LibVNCServer, zosta³ stworzony jako
-wszechstronny i wydajny, ale tak¿e ³atwy w u¿yciu.
+%description -l pl.UTF-8
+x11vnc jest dla X Window System tym, czym jest WinVNC dla Windows,
+czyli programem udostępniającym aktualny ekran X Window System poprzez
+protokół RFB (VNC) dla użytkownika.
+
+Bazuje na pomyśle x0rfbserver i LibVNCServer, został stworzony jako
+wszechstronny i wydajny, ale także łatwy w użyciu.
%prep
%setup -q
%build
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --with-x
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc README NEWS TODO ChangeLog AUTHORS
%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_mandir}/man1/%{name}.1*