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