Name: mingw32-gtk-vnc
Version: 0.3.8
-Release: 0.1.20081030hg%{?dist}
+Release: 0.4.20081030hg%{?dist}
Summary: MinGW Windows port of VNC client GTK widget
License: LGPLv2+
Patch103: gtk-vnc-03-wsastartup.patch
#Patch104: gtk-vnc-hgignore.patch
Patch105: gtk-vnc-ldflags-confusion.patch
+Patch106: gtk-vnc-dan-fd-fix.patch
BuildArch: noarch
BuildRequires: libtool
BuildRequires: pkgconfig
+Requires: pkgconfig
+
%description
gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
%patch103 -p1
#%patch104 -p1
%patch105 -p1
+%patch106 -p1
+libtoolize --force --copy
autoreconf
%build
-%{_mingw32_configure} --without-python --with-examples
-make
+%{_mingw32_configure} --without-python --with-examples --disable-static
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-# Remove static libraries but DON'T remove *.dll.a files.
-rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a
-
# automake gives gvncviewer a strange name ...
mv $RPM_BUILD_ROOT%{_mingw32_bindir}/i686-pc-mingw32-gvncviewer.exe \
$RPM_BUILD_ROOT%{_mingw32_bindir}/gvncviewer.exe \
%changelog
+* Fri Jan 30 2009 Richard W.M. Jones <rjones@redhat.com> - 0.3.8-0.4.20081030hg
+- Requires pkgconfig.
+
+* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 0.3.8-0.3.20081030hg
+- Use _smp_mflags.
+- Disable static library.
+- Rebuild libtool.
+
+* Thu Oct 30 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.8-0.2.20081030hg
+- Add Dan's fd/socket fix for Windows.
+
* Thu Oct 30 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.8-0.1.20081030hg
- Upgrade to current version in Mercurial (pre-release of 0.3.8).
- More MinGW patches.