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