6 %define xversion 1.9.0.901
8 Summary: A TigerVNC remote display system
9 Summary(pl.UTF-8): System zdalnego dostępu TigerVNC
14 Group: X11/Applications/Networking
15 #Source0: http://dl.sourceforge.net/tigervnc/%{name}-%{version}.tar.gz
16 Source0: %{name}-%{version}-%{snap}.tar.bz2
17 # Source0-md5: bd83717c960fb9e585387948b5cb41e2
18 Source1: %{name}.desktop
19 URL: http://www.tigervnc.com/
21 BuildRequires: libjpeg-devel
22 BuildRequires: zlib-devel
23 BuildRequires: xorg-xserver-server-source = %{xversion}
24 # xserver BRs, should match xorg-xserver-server.spec
25 BuildRequires: Mesa-libGL-devel >= 7.8.1
27 BuildRequires: OpenGL-GLX-devel
28 BuildRequires: autoconf >= 2.57
29 BuildRequires: automake
30 BuildRequires: libdrm-devel >= 2.4.5
31 BuildRequires: libtool
32 BuildRequires: ncurses-devel
33 BuildRequires: pam-devel
34 BuildRequires: perl-base
35 BuildRequires: pixman-devel >= 0.16.0
36 BuildRequires: pkgconfig >= 1:0.19
37 BuildRequires: xorg-app-mkfontscale
38 BuildRequires: xorg-font-font-util >= 1.1
39 BuildRequires: xorg-lib-libX11-devel
40 BuildRequires: xorg-lib-libXau-devel
41 BuildRequires: xorg-lib-libXaw-devel
42 BuildRequires: xorg-lib-libXdamage-devel
43 BuildRequires: xorg-lib-libXdmcp-devel
44 BuildRequires: xorg-lib-libXext-devel >= 1.0.99.4
45 BuildRequires: xorg-lib-libXfont-devel >= 1.4.2
46 BuildRequires: xorg-lib-libXi-devel >= 1.2.99.1
47 BuildRequires: xorg-lib-libXmu-devel
48 BuildRequires: xorg-lib-libXpm-devel
49 BuildRequires: xorg-lib-libXrender-devel
50 BuildRequires: xorg-lib-libXres-devel
51 BuildRequires: xorg-lib-libXt-devel >= 1.0.0
52 BuildRequires: xorg-lib-libXtst-devel >= 1.0.99.2
53 BuildRequires: xorg-lib-libXv-devel
54 BuildRequires: xorg-lib-libXxf86dga-devel
55 BuildRequires: xorg-lib-libXxf86misc-devel
56 BuildRequires: xorg-lib-libXxf86vm-devel
57 BuildRequires: xorg-lib-libfontenc-devel
58 BuildRequires: xorg-lib-libpciaccess-devel >= 0.8.0
59 BuildRequires: xorg-lib-libxkbfile-devel
60 BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2
61 BuildRequires: xorg-lib-xtrans-devel >= 1.2.2
62 BuildRequires: xorg-proto-bigreqsproto-devel >= 1.1.0
63 BuildRequires: xorg-proto-damageproto-devel >= 1.1
64 BuildRequires: xorg-proto-fixesproto-devel >= 4.1
65 BuildRequires: xorg-proto-fontcacheproto-devel
66 BuildRequires: xorg-proto-fontsproto-devel
67 BuildRequires: xorg-proto-glproto-devel >= 1.4.10
68 BuildRequires: xorg-proto-inputproto-devel >= 1.9.99.902
69 BuildRequires: xorg-proto-kbproto-devel >= 1.0.3
70 BuildRequires: xorg-proto-printproto-devel
71 BuildRequires: xorg-proto-randrproto-devel >= 1.2.99.3
72 %{?with_record:BuildRequires: xorg-proto-recordproto-devel}
73 BuildRequires: xorg-proto-renderproto-devel >= 0.11
74 BuildRequires: xorg-proto-resourceproto-devel
75 BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0
76 BuildRequires: xorg-proto-videoproto-devel
77 BuildRequires: xorg-proto-xcmiscproto-devel >= 1.2.0
78 BuildRequires: xorg-proto-xextproto-devel >= 1:7.0.99.3
79 BuildRequires: xorg-proto-xf86bigfontproto-devel >= 1.2.0
80 BuildRequires: xorg-proto-xf86dgaproto-devel >= 2.0.99.1
81 BuildRequires: xorg-proto-xf86driproto-devel >= 2.1.0
82 BuildRequires: xorg-proto-xf86miscproto-devel
83 BuildRequires: xorg-proto-xf86vidmodeproto-devel >= 2.2.99.1
84 BuildRequires: xorg-proto-xproto-devel >= 7.0.17
85 BuildRequires: xorg-util-util-macros >= 1.10
88 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 VNC is a great client/server software package allowing remote network
92 access to graphical desktops. TightVNC is optimized to work over slow
93 network connections such as low-speed modem links. While oroginal VNC
94 may be verry slow when your connection is not fast enough, with
95 TightVNC you can work remotely almost in real time in most
98 %description -l pl.UTF-8
99 VNC jest wspaniałym programem klient/serwer umożliwiającym zdalny
100 dostęp do graficznych pulpitów. TightVNC jest zoptymalizowany do pracy
101 przy wolniejszych połączeniach sieciowych takich jak połączenia
102 modemowe. Oryginalne VNC może pracować wolno kiedy połączenie nie jest
103 wystarczająco szybkie, natomiast z TightVNC możesz pracować zdalnie
104 niemal w czasie rzeczywistym.
107 Summary: VNC X server - TigerVNC version
108 Summary(pl.UTF-8): X serwer VNC - wersja TigerVNC
109 Group: X11/Applications/Networking
110 Requires: xorg-app-rgb
112 Requires: %{name}-utils = %{version}-%{release}
115 Obsoletes: vnc-server
118 This package contains VNC X server in tightvnc version.
120 %description server -l pl.UTF-8
121 Ten pakiet zawiera X serwer VNC w wersji tightvnc.
124 Summary: Additional utilities for TigerVNC
125 Summary(pl.UTF-8): Dodatkowe narzędzia do TigerVNC
126 Group: X11/Applications/Networking
130 This package contains additional tightvnc utilities: vncconnect and
131 vncpasswd. vncconnect tells Xvnc server to connect to a listening
132 tightvnc viewer. vncpasswd generates password file (both on server and
135 %description utils -l pl.UTF-8
136 Ten pakiet zawiera dodatkowe narzędzia do tightvnc: vncconnect i
137 vncpasswd. vncconnect służy do połączenia serwera Xvnc z nasłuchującym
138 vncviewerem. vncpasswd służy to tworzenia pliku z hasłem (zarówno po
139 stronie serwera, jak i przeglądarki).
141 %package -n xorg-xserver-libvnc
142 Summary: TigerVNC module for X.org server
144 Requires: xorg-xserver-server = %{xversion}
145 Provides: xorg-xserver-module(vnc)
147 %description -n xorg-xserver-libvnc
148 This package contains libvnc.so module for X.org server,
149 allowing others to access the desktop on your machine.
153 %{__sed} -i -e 's|^po/Makefile.in||' configure.ac
155 cp -a %{_usrsrc}/xorg-xserver-server-%{xversion}/* unix/xserver
157 patch -p1 <../xserver19.patch
187 --disable-composite \
188 --with-default-font-path="catalogue:%{_sysconfdir}/X11/fontpath.d,built-ins" \
189 --with-fontdir=%{_datadir}/X11/fonts \
190 --with-xkb-output=%{_localstatedir}/lib/xkb \
191 --enable-install-libxf86config \
194 --disable-config-dbus \
195 --disable-config-hal \
196 --disable-config-udev \
197 --with-dri-driver-path=%{_libdir}/dri \
201 --disable-devel-docs \
212 rm -rf $RPM_BUILD_ROOT
213 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
216 DESTDIR=$RPM_BUILD_ROOT
218 cd unix/xserver/hw/vnc
220 DESTDIR=$RPM_BUILD_ROOT
224 rm -rf $RPM_BUILD_ROOT
227 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_bindir}/vncviewer
230 %{_mandir}/man1/vncviewer.1*
231 %{_desktopdir}/tightvnc.desktop
232 %{_pixmapsdir}/tightvnc.png
235 %defattr(644,root,root,755)
236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tightvncserver.conf
237 %attr(755,root,root) %{_bindir}/Xvnc
238 %attr(755,root,root) %{_bindir}/x0vncserver
239 %attr(755,root,root) %{_bindir}/vncserver
241 %{_mandir}/man1/Xvnc.1*
242 %{_mandir}/man1/x0vncserver.1*
243 %{_mandir}/man1/vncserver.1*
246 %defattr(644,root,root,755)
247 %attr(755,root,root) %{_bindir}/vncpasswd
248 %{_mandir}/man1/vncpasswd.1*
250 %files -n xorg-xserver-libvnc
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_libdir}/xorg/modules/extensions/libvnc.so