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