1 Summary: A GTK+ widget for VNC clients
2 Summary(pl.UTF-8): Widget GTK+ dla klientów VNC
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.4/%{name}-%{version}.tar.bz2
9 # Source0-md5: 38d3fbacb5d00e630f939e88858206f1
10 Patch0: %{name}-codegen.patch
11 URL: http://live.gnome.org/gtk-vnc
12 BuildRequires: autoconf >= 2.63
13 BuildRequires: automake >= 1:1.10
14 BuildRequires: cairo-devel >= 1.2.0
15 BuildRequires: cyrus-sasl-devel
16 BuildRequires: gdk-pixbuf2-devel >= 2.10.0
17 BuildRequires: gettext-devel
18 BuildRequires: glib2-devel >= 1:2.28.0
19 BuildRequires: gnome-common
20 BuildRequires: gnutls-devel >= 1.4.0
21 BuildRequires: gobject-introspection-devel >= 0.9.4
22 BuildRequires: gtk+2-devel >= 2:2.18.0
23 BuildRequires: gtk+3-devel >= 3.0.0
24 BuildRequires: intltool >= 0.40.0
25 BuildRequires: libtool >= 2.2.6
26 BuildRequires: libview-devel >= 0.6.0
27 BuildRequires: perl-Text-CSV
28 BuildRequires: perl-tools-pod
29 BuildRequires: pkgconfig
30 BuildRequires: python-devel >= 1:2.4
31 BuildRequires: python-pygtk-devel >= 2:2.0.0
32 BuildRequires: rpm-pythonprov
33 BuildRequires: xorg-lib-libX11-devel
34 BuildRequires: zlib-devel
35 Requires: libgvnc = %{version}-%{release}
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 gtk-vnc is a VNC viewer widget for GTK+. It is built using coroutines
40 allowing it to be completely asynchronous while remaining single
43 %description -l pl.UTF-8
44 gtk-vnc to widget przeglądarki VNC dla GTK+. Jest skonstruowany z
45 użyciem korutyn, dzięki czemu mogą być w pełni asynchroniczne
46 pozostając jednowątkowymi.
49 Summary: Header files for gtk-vnc library
50 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gtk-vnc
51 Group: X11/Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Requires: gnutls-devel >= 1.4.0
54 Requires: gtk+2-devel >= 2:2.18.0
55 Requires: libgvnc-devel = %{version}-%{release}
58 Header files for gtk-vnc library.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki gtk-vnc.
64 Summary: Static gtk-vnc library
65 Summary(pl.UTF-8): Statyczna biblioteka gtk-vnc
66 Group: X11/Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
68 Requires: libgvnc-static = %{version}-%{release}
71 Static gtk-vnc library.
73 %description static -l pl.UTF-8
74 Statyczna biblioteka gtk-vnc.
77 Summary: A GTK+ widget for VNC clients
78 Summary(pl.UTF-8): Widget GTK+ dla klientów VNC
80 Requires: libgvnc = %{version}-%{release}
82 %description -n gtk3-vnc
83 gtk-vnc is a VNC viewer widget for GTK+ 3.x. It is built using
84 coroutines allowing it to be completely asynchronous while remaining
87 %description -n gtk3-vnc -l pl.UTF-8
88 gtk-vnc to widget przeglądarki VNC dla GTK+ 3.x. Jest skonstruowany z
89 użyciem korutyn, dzięki czemu mogą być w pełni asynchroniczne
90 pozostając jednowątkowymi.
92 %package -n gtk3-vnc-devel
93 Summary: Header files for gtk-vnc library - GTK+ 3.x version
94 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gtk-vnc - wersja dla GTK+ 3.x
95 Group: X11/Development/Libraries
96 Requires: %{name} = %{version}-%{release}
97 Requires: gnutls-devel >= 1.4.0
98 Requires: gtk+3-devel >= 3.0.0
99 Requires: libgvnc-devel = %{version}-%{release}
101 %description -n gtk3-vnc-devel
102 Header files for gtk-vnc library - GTK+ 3.x version.
104 %description -n gtk3-vnc-devel -l pl.UTF-8
105 Pliki nagłówkowe biblioteki gtk-vnc - wersja dla GTK+ 3.x.
107 %package -n gtk3-vnc-static
108 Summary: Static gtk-vnc library - GTK+ 3.x version
109 Summary(pl.UTF-8): Statyczna biblioteka gtk-vnc - wersja dla GTK+ 3.x
110 Group: X11/Development/Libraries
111 Requires: gtk3-vnc-devel = %{version}-%{release}
112 Requires: libgvnc-static = %{version}-%{release}
114 %description -n gtk3-vnc-static
115 Static gtk-vnc library - GTK+ 3.x version.
117 %description -n gtk3-vnc-static -l pl.UTF-8
118 Statyczna biblioteka gtk-vnc - wersja dla GTK+ 3.x.
121 Summary: A library for VNC clients
122 Summary(pl.UTF-8): Biblioteka dla klientów VNC
125 %description -n libgvnc
126 A library for VNC clients.
128 %description -n libgvnc -l pl.UTF-8
129 Biblioteka dla klientów VNC.
131 %package -n libgvnc-devel
132 Summary: Header files for libgvnc library
133 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgvnc
134 Group: X11/Development/Libraries
135 Requires: libgvnc = %{version}-%{release}
137 %description -n libgvnc-devel
138 Header files for libgvnc library.
140 %description -n libgvnc-devel -l pl.UTF-8
141 Pliki nagłówkowe biblioteki libgvnc.
143 %package -n libgvnc-static
144 Summary: Static libgvnc library
145 Summary(pl.UTF-8): Statyczna biblioteka libgvnc
146 Group: X11/Development/Libraries
147 Requires: libgvnc-devel = %{version}-%{release}
149 %description -n libgvnc-static
150 Static libgvnc library.
152 %description -n libgvnc-static -l pl.UTF-8
153 Statyczna biblioteka libgvnc.
155 %package -n python-gtk-vnc
156 Summary: Python bindings for the gtk-vnc library
157 Summary(pl.UTF-8): Wiązania Pythona do biblioteki gtk-vnc
158 Group: Libraries/Python
159 Requires: %{name} = %{version}-%{release}
160 %requires_eq python-libs
162 %description -n python-gtk-vnc
163 A module allowing use of the GTK+ VNC widget from Python.
165 %description -n python-gtk-vnc -l pl.UTF-8
166 Moduł pozwalający na używanie widgetu GTK+ VNC z poziomu Pythona.
169 Summary: Command line tools for VNC
170 Summary(pl.UTF-8): Narzędzia linii poleceń dla VNC
171 Group: Applications/Networking
172 Requires: %{name} = %{version}-%{release}
175 Command line utilities for interacting with VNC servers.
177 %description tools -l pl.UTF-8
178 Narzędzia linii poleceń do interakcji z serwerami VNC.
190 # force enums regeneration
191 touch src/vncconnection.h src/vncdisplay.h
199 --disable-silent-rules
202 # libview not ported to gtk+3
208 --disable-silent-rules
213 rm -rf $RPM_BUILD_ROOT
216 %{__make} -j1 install \
217 DESTDIR=$RPM_BUILD_ROOT
219 %{__make} -j1 install \
220 DESTDIR=$RPM_BUILD_ROOT
223 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
224 $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
226 install examples/gvncviewer.{c,js} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
227 install examples/gvncviewer.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
229 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} \
230 $RPM_BUILD_ROOT%{_libdir}/*.la
235 rm -rf $RPM_BUILD_ROOT
237 %post -p /sbin/ldconfig
238 %postun -p /sbin/ldconfig
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so.*.*.*
243 %attr(755,root,root) %ghost %{_libdir}/libgtk-vnc-1.0.so.0
244 %{_libdir}/girepository-1.0/GtkVnc-1.0.typelib
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so
249 %{_includedir}/%{name}-1.0
250 %{_datadir}/gir-1.0/GtkVnc-1.0.gir
251 %{_pkgconfigdir}/%{name}-1.0.pc
252 %{_examplesdir}/%{name}-%{version}
255 %defattr(644,root,root,755)
256 %{_libdir}/libgtk-vnc-1.0.a
259 %defattr(644,root,root,755)
260 %attr(755,root,root) %{_libdir}/libgtk-vnc-2.0.so.0
261 %attr(755,root,root) %{_libdir}/libgtk-vnc-2.0.so.0.0.2
262 %{_libdir}/girepository-1.0/GtkVnc-2.0.typelib
264 %files -n gtk3-vnc-devel
265 %defattr(644,root,root,755)
266 %attr(755,root,root) %{_libdir}/libgtk-vnc-2.0.so
267 %{_includedir}/gtk-vnc-2.0
268 %{_pkgconfigdir}/gtk-vnc-2.0.pc
269 %{_datadir}/gir-1.0/GtkVnc-2.0.gir
271 %files -n gtk3-vnc-static
272 %defattr(644,root,root,755)
273 %{_libdir}/libgtk-vnc-2.0.a
275 %files -n libgvnc -f %{name}.lang
276 %defattr(644,root,root,755)
277 %doc AUTHORS ChangeLog NEWS README
278 %attr(755,root,root) %{_libdir}/libgvnc-1.0.so.*.*.*
279 %attr(755,root,root) %ghost %{_libdir}/libgvnc-1.0.so.0
280 %{_libdir}/girepository-1.0/GVnc-1.0.typelib
282 %files -n libgvnc-devel
283 %defattr(644,root,root,755)
284 %attr(755,root,root) %{_libdir}/libgvnc-1.0.so
285 %{_datadir}/gir-1.0/GVnc-1.0.gir
286 %{_includedir}/gvnc-1.0
287 %{_pkgconfigdir}/gvnc-1.0.pc
289 %files -n libgvnc-static
290 %defattr(644,root,root,755)
291 %{_libdir}/libgvnc-1.0.a
293 %files -n python-gtk-vnc
294 %defattr(644,root,root,755)
295 %attr(755,root,root) %{py_sitedir}/gtkvnc.so
296 %{_examplesdir}/python-%{name}-%{version}
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_bindir}/gvnccapture
301 %{_mandir}/man1/gvnccapture.1*