1 Summary: A VNC server for the current X11 session
2 Summary(pl.UTF-8): Program serwujący aktualną sesję X11 poprzez VNC
7 Group: X11/Applications/Networking
8 # look for new releases at:
9 #Source0: https://github.com/LibVNC/x11vnc/archive/%{name}-%{version}.tar.gz
10 Source0: http://downloads.sourceforge.net/libvncserver/%{name}-%{version}.tar.gz
11 # Source0-md5: a372ec4fe8211221547b1c108cf56e4c
12 Source1: %{name}-x11vncd
13 Source2: %{name}-x11vncd.init
14 Source3: %{name}-x11vncd.sysconfig
15 Source4: %{name}-x11vncd_passwd
16 URL: https://github.com/LibVNC/x11vnc/
17 BuildRequires: autoconf >= 2.59-9
18 BuildRequires: automake
19 BuildRequires: libjpeg-devel
20 BuildRequires: openssl-devel
21 BuildRequires: xorg-lib-libX11-devel
22 BuildRequires: xorg-lib-libXdamage-devel
23 BuildRequires: xorg-lib-libXext-devel
24 BuildRequires: xorg-lib-libXfixes-devel
25 BuildRequires: xorg-lib-libXinerama-devel
26 BuildRequires: xorg-lib-libXrandr-devel
27 BuildRequires: xorg-lib-libXtst-devel
28 BuildRequires: zlib-devel
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 x11vnc is to X Window System what WinVNC is to Windows, i.e. a server
33 which serves the current X Window System desktop via RFB (VNC)
36 Based on the ideas of x0rfbserver and on LibVNCServer, it has evolved
37 into a versatile and performant while still easy to use program.
39 %description -l pl.UTF-8
40 x11vnc jest dla X Window System tym, czym jest WinVNC dla Windows,
41 czyli programem udostępniającym aktualny ekran X Window System poprzez
42 protokół RFB (VNC) dla użytkownika.
44 Bazuje na pomyśle x0rfbserver i LibVNCServer, został stworzony jako
45 wszechstronny i wydajny, ale także łatwy w użyciu.
48 Summary: Init scripts for VNC server
49 Summary(pl.UTF-8): Skrytpy startowe dla servera VNC.
50 Group: X11/Applications/Networking
54 Init scripts for VNC server.
56 %description init -l pl.UTF-8
57 Skrytpy startowe dla servera VNC.
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_sbindir} \
79 $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
81 cp %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/x11vncd
82 cp %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/x11vncd
83 cp %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/x11vncd
84 cp %{SOURCE4} $RPM_BUILD_ROOT/etc/x11vncd_passwd
87 rm -rf $RPM_BUILD_ROOT
90 /sbin/chkconfig --add x11vncd
91 %service x11vncd restart "VNC Server"
94 if [ "$1" = "0" ]; then
96 /sbin/chkconfig --del x11vncd
100 %defattr(644,root,root,755)
101 %doc README NEWS TODO ChangeLog AUTHORS
102 %attr(755,root,root) %{_bindir}/*
104 %{_desktopdir}/%{name}.desktop
105 %{_mandir}/man1/%{name}.1*
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_sbindir}/x11vncd
110 %attr(754,root,root) /etc/rc.d/init.d/x11vncd
111 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/x11vncd
112 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/x11vncd_passwd