]>
Commit | Line | Data |
---|---|---|
aced0e84 JR |
1 | # TODO: |
2 | # - tigervnc.init | |
3 | ||
4 | %define snap r4159 | |
5 | ||
6 | Summary: TigerVNC - application based on the VNC version 3.3.3r2 | |
7 | Summary(pl.UTF-8): TigerVNC - aplikacja bazująca na VNC w wersji 3.3.3r2 | |
8 | Name: tigervnc | |
9 | Version: 1.0.90 | |
10 | Release: 0.1 | |
11 | License: GPL v2 | |
12 | Group: X11/Applications/Networking | |
13 | #Source0: http://dl.sourceforge.net/tigervnc/%{name}-%{version}.tar.gz | |
14 | Source0: %{name}-%{version}-%{snap}.tar.bz2 | |
15 | # Source0-md5: bd83717c960fb9e585387948b5cb41e2 | |
16 | Source1: %{name}.desktop | |
17 | URL: http://www.tigervnc.com/ | |
18 | BuildRequires: cpp | |
19 | BuildRequires: libjpeg-devel | |
20 | BuildRequires: zlib-devel | |
21 | BuildRequires: xorg-xserver-server-source >= 1.9 | |
22 | # xserver BRs, should match xorg-xserver-server.spec | |
23 | BuildRequires: Mesa-libGL-devel >= 7.8.1 | |
24 | # for glx headers | |
25 | BuildRequires: OpenGL-GLX-devel | |
26 | BuildRequires: autoconf >= 2.57 | |
27 | BuildRequires: automake | |
28 | BuildRequires: libdrm-devel >= 2.4.5 | |
29 | BuildRequires: libtool | |
30 | BuildRequires: ncurses-devel | |
31 | BuildRequires: pam-devel | |
32 | BuildRequires: perl-base | |
33 | BuildRequires: pixman-devel >= 0.16.0 | |
34 | BuildRequires: pkgconfig >= 1:0.19 | |
35 | BuildRequires: xorg-app-mkfontscale | |
36 | BuildRequires: xorg-font-font-util >= 1.1 | |
37 | BuildRequires: xorg-lib-libX11-devel | |
38 | BuildRequires: xorg-lib-libXau-devel | |
39 | BuildRequires: xorg-lib-libXaw-devel | |
40 | BuildRequires: xorg-lib-libXdamage-devel | |
41 | BuildRequires: xorg-lib-libXdmcp-devel | |
42 | BuildRequires: xorg-lib-libXext-devel >= 1.0.99.4 | |
43 | BuildRequires: xorg-lib-libXfont-devel >= 1.4.2 | |
44 | BuildRequires: xorg-lib-libXi-devel >= 1.2.99.1 | |
45 | BuildRequires: xorg-lib-libXmu-devel | |
46 | BuildRequires: xorg-lib-libXpm-devel | |
47 | BuildRequires: xorg-lib-libXrender-devel | |
48 | BuildRequires: xorg-lib-libXres-devel | |
49 | BuildRequires: xorg-lib-libXt-devel >= 1.0.0 | |
50 | BuildRequires: xorg-lib-libXtst-devel >= 1.0.99.2 | |
51 | BuildRequires: xorg-lib-libXv-devel | |
52 | BuildRequires: xorg-lib-libXxf86dga-devel | |
53 | BuildRequires: xorg-lib-libXxf86misc-devel | |
54 | BuildRequires: xorg-lib-libXxf86vm-devel | |
55 | BuildRequires: xorg-lib-libfontenc-devel | |
56 | BuildRequires: xorg-lib-libpciaccess-devel >= 0.8.0 | |
57 | BuildRequires: xorg-lib-libxkbfile-devel | |
58 | BuildRequires: xorg-lib-libxkbui-devel >= 1.0.2 | |
59 | BuildRequires: xorg-lib-xtrans-devel >= 1.2.2 | |
60 | BuildRequires: xorg-proto-bigreqsproto-devel >= 1.1.0 | |
61 | BuildRequires: xorg-proto-damageproto-devel >= 1.1 | |
62 | BuildRequires: xorg-proto-fixesproto-devel >= 4.1 | |
63 | BuildRequires: xorg-proto-fontcacheproto-devel | |
64 | BuildRequires: xorg-proto-fontsproto-devel | |
65 | BuildRequires: xorg-proto-glproto-devel >= 1.4.10 | |
66 | BuildRequires: xorg-proto-inputproto-devel >= 1.9.99.902 | |
67 | BuildRequires: xorg-proto-kbproto-devel >= 1.0.3 | |
68 | BuildRequires: xorg-proto-printproto-devel | |
69 | BuildRequires: xorg-proto-randrproto-devel >= 1.2.99.3 | |
70 | %{?with_record:BuildRequires: xorg-proto-recordproto-devel} | |
71 | BuildRequires: xorg-proto-renderproto-devel >= 0.11 | |
72 | BuildRequires: xorg-proto-resourceproto-devel | |
73 | BuildRequires: xorg-proto-scrnsaverproto-devel >= 1.1.0 | |
74 | BuildRequires: xorg-proto-videoproto-devel | |
75 | BuildRequires: xorg-proto-xcmiscproto-devel >= 1.2.0 | |
76 | BuildRequires: xorg-proto-xextproto-devel >= 1:7.0.99.3 | |
77 | BuildRequires: xorg-proto-xf86bigfontproto-devel >= 1.2.0 | |
78 | BuildRequires: xorg-proto-xf86dgaproto-devel >= 2.0.99.1 | |
79 | BuildRequires: xorg-proto-xf86driproto-devel >= 2.1.0 | |
80 | BuildRequires: xorg-proto-xf86miscproto-devel | |
81 | BuildRequires: xorg-proto-xf86vidmodeproto-devel >= 2.2.99.1 | |
82 | BuildRequires: xorg-proto-xproto-devel >= 7.0.17 | |
83 | BuildRequires: xorg-util-util-macros >= 1.10 | |
84 | Provides: vnc-client | |
85 | Conflicts: vnc | |
86 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
87 | ||
88 | %description | |
89 | VNC is a great client/server software package allowing remote network | |
90 | access to graphical desktops. TightVNC is optimized to work over slow | |
91 | network connections such as low-speed modem links. While oroginal VNC | |
92 | may be verry slow when your connection is not fast enough, with | |
93 | TightVNC you can work remotely almost in real time in most | |
94 | environments. | |
95 | ||
96 | %description -l pl.UTF-8 | |
97 | VNC jest wspaniałym programem klient/serwer umożliwiającym zdalny | |
98 | dostęp do graficznych pulpitów. TightVNC jest zoptymalizowany do pracy | |
99 | przy wolniejszych połączeniach sieciowych takich jak połączenia | |
100 | modemowe. Oryginalne VNC może pracować wolno kiedy połączenie nie jest | |
101 | wystarczająco szybkie, natomiast z TightVNC możesz pracować zdalnie | |
102 | niemal w czasie rzeczywistym. | |
103 | ||
104 | %package server | |
105 | Summary: VNC X server - tightvnc version | |
106 | Summary(pl.UTF-8): X serwer VNC - wersja tightvnc | |
107 | Group: X11/Applications/Networking | |
108 | Requires: xorg-app-rgb | |
109 | # for vncpasswd tool | |
110 | Requires: %{name}-utils = %{version}-%{release} | |
111 | # for mcookie | |
112 | Requires: util-linux | |
113 | Obsoletes: vnc-server | |
114 | ||
115 | %description server | |
116 | This package contains VNC X server in tightvnc version. | |
117 | ||
118 | %description server -l pl.UTF-8 | |
119 | Ten pakiet zawiera X serwer VNC w wersji tightvnc. | |
120 | ||
121 | %package utils | |
122 | Summary: Additional utilities for tightvnc | |
123 | Summary(pl.UTF-8): Dodatkowe narzędzia do tightvnc | |
124 | Group: X11/Applications/Networking | |
125 | Obsoletes: vnc-utils | |
126 | ||
127 | %description utils | |
128 | This package contains additional tightvnc utilities: vncconnect and | |
129 | vncpasswd. vncconnect tells Xvnc server to connect to a listening | |
130 | tightvnc viewer. vncpasswd generates password file (both on server and | |
131 | viewer side). | |
132 | ||
133 | %description utils -l pl.UTF-8 | |
134 | Ten pakiet zawiera dodatkowe narzędzia do tightvnc: vncconnect i | |
135 | vncpasswd. vncconnect służy do połączenia serwera Xvnc z nasłuchującym | |
136 | vncviewerem. vncpasswd służy to tworzenia pliku z hasłem (zarówno po | |
137 | stronie serwera, jak i przeglądarki). | |
138 | ||
139 | %prep | |
140 | %setup -q -n %{name} | |
141 | %{__sed} -i -e 's|^po/Makefile.in||' configure.ac | |
142 | ||
143 | %build | |
144 | %{__gettextize} | |
145 | %{__libtoolize} | |
146 | %{__aclocal} | |
147 | %{__autoconf} | |
148 | %{__autoheader} | |
149 | %{__automake} | |
150 | ||
151 | %{configure} \ | |
152 | --with-system-jpeg | |
153 | ||
154 | %{__make} | |
155 | ||
156 | %install | |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}} | |
159 | ||
160 | cd unix | |
161 | %{__make} install \ | |
162 | DESTDIR=$RPM_BUILD_ROOT | |
163 | ||
164 | %clean | |
165 | rm -rf $RPM_BUILD_ROOT | |
166 | ||
167 | %files | |
168 | %defattr(644,root,root,755) | |
169 | %doc doc/* | |
170 | %attr(755,root,root) %{_bindir}/vncviewer | |
171 | %{_mandir}/man1/vncviewer.1* | |
172 | %{_desktopdir}/tightvnc.desktop | |
173 | %{_pixmapsdir}/tightvnc.png | |
174 | ||
175 | %files server | |
176 | %defattr(644,root,root,755) | |
177 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tightvncserver.conf | |
178 | %attr(755,root,root) %{_bindir}/x0vncserver | |
179 | %attr(755,root,root) %{_bindir}/vncserver | |
180 | %{_datadir}/vnc | |
181 | %{_mandir}/man1/x0vncserver.1* | |
182 | %{_mandir}/man1/vncserver.1* | |
183 | ||
184 | %files utils | |
185 | %defattr(644,root,root,755) | |
186 | %attr(755,root,root) %{_bindir}/vncconnect | |
187 | %attr(755,root,root) %{_bindir}/vncpasswd | |
188 | %{_mandir}/man1/vncconnect.1* | |
189 | %{_mandir}/man1/vncpasswd.1* |