File project.diff of Package mingw32-goffice

--- mingw32-goffice.spec.orig
+++ mingw32-goffice.spec
@@ -26,9 +26,14 @@ Url:            http://www.gnumeric.org/
 Source:         http://ftp.gnome.org/pub/GNOME/sources/goffice/0.8/goffice-%{version}.tar.bz2
 Patch0:         goffice-0.8.17-win32.patch
 Patch1:         goffice-0.8.17-pcre16.patch
+Patch1000:      goffice-0.8.17-wix.patch
 #!BuildIgnore: post-build-checks
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  glib2-devel
+BuildRequires:  gtk-doc
 BuildRequires:  intltool
+BuildRequires:  libtool
 BuildRequires:  mingw32-atk-devel
 BuildRequires:  mingw32-cairo-devel
 BuildRequires:  mingw32-cross-binutils
@@ -45,6 +50,7 @@ BuildRequires:  mingw32-libxml2-devel
 BuildRequires:  mingw32-pango-devel
 BuildRequires:  mingw32-pcre-devel
 BuildRequires:  mingw32-zlib-devel
+BuildRequires:  wixwine
 Requires:       %{name}-lang = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %_mingw32_package_header_debug
@@ -73,14 +79,16 @@ A glib/gtk set of document centric objec
 %setup -q -n goffice-%{version}
 %patch0 -p1 -b .win32
 %patch1 -p1 -b .pcre16
+%patch1000 -p1 -b .wix
 
 %build
+autoreconf -f -i
 echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
 %{_mingw32_configure} \
 	--disable-schemas-install \
 	--without-gconf \
 	--enable-shared --disable-static
-make %{?_smp_mflags} || make
+make
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
@@ -105,5 +113,6 @@ rm -rf %{buildroot}%{_mingw32_libdir}/go
 %{_mingw32_libdir}/libgoffice-0.8.dll.a
 %{_mingw32_libdir}/pkgconfig/libgoffice-0.8.pc
 %{_mingw32_datadir}/gtk-doc/html/goffice-0.8
+%{_mingw32_datadir}/wixlib/goffice.wixlib
 
 %changelog
openSUSE Build Service is sponsored by