File project.diff of Package mingw64-gdk-pixbuf

--- mingw64-gdk-pixbuf.spec.orig
+++ mingw64-gdk-pixbuf.spec
@@ -16,6 +16,7 @@ Group:          Development/Libraries
 Url:            http://www.gtk.org/
 Source:         http://download.gnome.org/sources/gdk-pixbuf/2.26/gdk-pixbuf-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Patch1000:      gdk-pixbuf-2.24.0-wix.patch
 
 BuildArch:      noarch
 #!BuildIgnore: post-build-checks
@@ -36,6 +37,8 @@ BuildRequires:  gtk-doc
 BuildRequires:  glib2-devel
 Requires:       %{name}-lang = %{version}
 
+BuildRequires:  automake autoconf libtool
+BuildRequires:  wixwine
 %description
 gdk-pixbuf is an image loading library that can be extended by loadable modules for new image formats.
 It is used by toolkits such as GTK+ or Clutter.
@@ -80,7 +83,9 @@ This package contains development files
 %setup -q -n gdk-pixbuf-%{version}
 
 
+%patch1000 -p1 -b .wix
 %build
+autoreconf -f -i
 # Need to run the correct version of glib-mkenums.
 export PATH="%{_mingw64_bindir}:$PATH"
 
@@ -102,6 +107,9 @@ chmod -x $RPM_BUILD_ROOT%{_mingw64_libdi
 
 %find_lang gdk-pixbuf
 
+# Work around automake >= 11.4 not creating this
+mkdir -p $RPM_BUILD_ROOT%{_mingw64_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -133,6 +141,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw64_libdir}/libgdk_pixbuf-2.0.dll.a
 %{_mingw64_libdir}/gdk_pixbuf-2.0.def
 %{_mingw64_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
+%{_mingw64_datadir}/wixlib/gdk-pixbuf-2.0.wixlib
 
 
 %changelog
openSUSE Build Service is sponsored by