File project.diff of Package mingw32-pango

--- mingw32-pango.spec.orig
+++ mingw32-pango.spec
@@ -24,6 +24,8 @@ License:        LGPL-2.1+
 Group:          Development/Libraries/GNOME
 Url:            http://www.pango.org
 Source:         http://ftp.gnome.org/pub/gnome/sources/pango/1.30/pango-%{version}.tar.xz
+Patch1000:      pango-1.34.0-wix.patch
+
 #!BuildIgnore: post-build-checks
 BuildRequires:  glib2-devel
 BuildRequires:  mingw32-cairo-devel >= 1.8.0
@@ -43,6 +45,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 %_mingw32_package_header_debug
 BuildArch:      noarch
 
+BuildRequires:  automake autoconf gnome-common gtk-doc
+BuildRequires:  wixwine
+
 %description
 Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It can be used
 anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+
@@ -85,7 +90,10 @@ graphics rendering.
 %prep
 %setup -q -n pango-%{version}
 
+%patch1000 -p1 -b .wix
+
 %build
+NOCONFIGURE=indeed AUTOMAKE=`which automake` ./autogen.sh
 # Need to run the correct version of glib-mkenums.
 export PATH="%{_mingw32_bindir}:$PATH"
 echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
@@ -121,5 +129,9 @@ make DESTDIR=%{buildroot} install %{?_sm
 %{_mingw32_libdir}/pkgconfig/pangowin32.pc
 %{_mingw32_libdir}/pkgconfig/pangoft2.pc
 %{_mingw32_datadir}/gtk-doc/html/pango/
+%{_mingw32_datadir}/wixlib/pango.wixlib
+%{_mingw32_datadir}/wixlib/pangocairo.wixlib
+%{_mingw32_datadir}/wixlib/pangoft2.wixlib
+%{_mingw32_datadir}/wixlib/pangowin32.wixlib
 
 %changelog
openSUSE Build Service is sponsored by