1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
7 %define _default_patch_fuzz 2
11 Release: 0.1.20081030hg%{?dist}
12 Summary: MinGW Windows port of VNC client GTK widget
15 Group: Development/Libraries
16 URL: http://gtk-vnc.sf.net/
17 Source0: gtk-vnc-0.3.8-20081030.tar.gz
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 # Patches submitted upstream 2008-10-28/29/30:
21 Patch100: gtk-vnc-00-win32.patch
22 Patch101: gtk-vnc-01-recv.patch
23 Patch102: gtk-vnc-02-ioctl.patch
24 Patch103: gtk-vnc-03-wsastartup.patch
25 #Patch104: gtk-vnc-hgignore.patch
26 Patch105: gtk-vnc-ldflags-confusion.patch
30 BuildRequires: mingw32-filesystem >= 30
31 BuildRequires: mingw32-gcc
32 BuildRequires: mingw32-binutils
33 BuildRequires: mingw32-gtk2
34 BuildRequires: mingw32-gnutls
35 BuildRequires: autoconf
36 BuildRequires: automake
37 BuildRequires: libtool
38 BuildRequires: pkgconfig
42 gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
43 allowing it to be completely asynchronous while remaining single threaded.
47 %setup -q -n gtk-vnc-0.3.7
60 %{_mingw32_configure} --without-python --with-examples
65 rm -rf $RPM_BUILD_ROOT
66 make DESTDIR=$RPM_BUILD_ROOT install
68 # Remove static libraries but DON'T remove *.dll.a files.
69 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a
71 # automake gives gvncviewer a strange name ...
72 mv $RPM_BUILD_ROOT%{_mingw32_bindir}/i686-pc-mingw32-gvncviewer.exe \
73 $RPM_BUILD_ROOT%{_mingw32_bindir}/gvncviewer.exe \
77 rm -rf $RPM_BUILD_ROOT
82 %{_mingw32_bindir}/gvncviewer.exe
83 %{_mingw32_bindir}/libgtk-vnc-1.0-0.dll
84 %{_mingw32_libdir}/libgtk-vnc-1.0.dll.a
85 %{_mingw32_libdir}/libgtk-vnc-1.0.la
86 %{_mingw32_libdir}/pkgconfig/gtk-vnc-1.0.pc
87 %{_mingw32_includedir}/gtk-vnc-1.0
91 * Thu Oct 30 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.8-0.1.20081030hg
92 - Upgrade to current version in Mercurial (pre-release of 0.3.8).
95 * Fri Oct 10 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.7-3
96 - Missing BRs discovered by mock.
97 - Added description section.
99 * Thu Oct 9 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.7-2
100 - Initial RPM release.