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.3/%{name}-%{version}.tar.bz2
9 # Source0-md5: 9aa9d830b219255c8d6753ef55802932
10 Patch0: %{name}-codegen.patch
11 URL: http://live.gnome.org/gtk-vnc
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: cyrus-sasl-devel
15 BuildRequires: gettext-devel
16 BuildRequires: gnutls-devel >= 1.4.0
17 BuildRequires: gtk+2-devel >= 2:2.10.0
18 BuildRequires: intltool >= 0.35.0
19 BuildRequires: libtool
20 BuildRequires: pkgconfig
21 BuildRequires: python-devel >= 1:2.4
22 BuildRequires: python-pygtk-devel >= 2:2.0.0
23 BuildRequires: rpm-pythonprov
24 BuildRequires: zlib-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 gtk-vnc is a VNC viewer widget for GTK+. It is built using coroutines
29 allowing it to be completely asynchronous while remaining single
32 %description -l pl.UTF-8
33 gtk-vnc to widget przeglądarki VNC dla GTK+. Jest skonstruowany z
34 użyciem korutyn, dzięki czemu mogą być w pełni asynchroniczne
35 pozostając jednowątkowymi.
38 Summary: Header files for gtk-vnc library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gtk-vnc
40 Group: X11/Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: gnutls-devel >= 1.4.0
43 Requires: gtk+2-devel >= 2:2.10.0
46 Header files for gtk-vnc library.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki gtk-vnc.
52 Summary: Static gtk-vnc library
53 Summary(pl.UTF-8): Statyczna biblioteka gtk-vnc
54 Group: X11/Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 Static gtk-vnc library.
60 %description static -l pl.UTF-8
61 Statyczna biblioteka gtk-vnc.
63 %package -n python-gtk-vnc
64 Summary: Python bindings for the gtk-vnc library
65 Summary(pl.UTF-8): Wiązania Pythona do biblioteki gtk-vnc
66 Group: Libraries/Python
67 Requires: %{name} = %{version}-%{release}
68 %requires_eq python-libs
70 %description -n python-gtk-vnc
71 A module allowing use of the GTK+ VNC widget from Python.
73 %description -n python-gtk-vnc -l pl.UTF-8
74 Moduł pozwalający na używanie widgetu GTK+ VNC z poziomu Pythona.
82 %{__aclocal} -I gnulib/m4
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
96 $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
98 install examples/gvncviewer.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
99 install examples/gvncviewer.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
101 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
106 rm -fr $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS ChangeLog NEWS README
114 %attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so.*.*.*
115 %attr(755,root,root) %ghost %{_libdir}/libgtk-vnc-1.0.so.0
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so
120 %{_libdir}/libgtk-vnc-1.0.la
121 %{_includedir}/%{name}-1.0
122 %{_pkgconfigdir}/%{name}-1.0.pc
123 %{_examplesdir}/%{name}-%{version}
126 %defattr(644,root,root,755)
127 %{_libdir}/libgtk-vnc-1.0.a
129 %files -n python-gtk-vnc
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{py_sitedir}/gtkvnc.so
132 %{_examplesdir}/python-%{name}-%{version}