File project.diff of Package mingw32-fontconfig

--- mingw32-fontconfig.spec.orig
+++ mingw32-fontconfig.spec
@@ -24,6 +24,7 @@ License:        MIT
 Group:          Development/Libraries
 Url:            http://fontconfig.org/
 Source:         http://www.freedesktop.org/software/fontconfig/release/fontconfig-%{version}.tar.bz2
+Patch1000:      fontconfig-2.10.92-wix.patch
 #!BuildIgnore: post-build-checks
 BuildRequires:  mingw32-cross-binutils
 BuildRequires:  mingw32-cross-gcc
@@ -36,6 +37,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 %_mingw32_package_header_debug
 BuildArch:      noarch
 
+BuildRequires:  autoconf automake libtool
+BuildRequires:  wixwine
+
 %description
 Fontconfig is a library designed to provide system-wide font configuration, customization and application access.
 
@@ -62,8 +66,10 @@ This package contains several tools for
 
 %prep
 %setup -q -n fontconfig-%{version}
+%patch1000 -p1 -b .wix
 
 %build
+autoreconf -f -i
 echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
 %{_mingw32_configure} \
 	--with-freetype-config=%{_mingw32_bindir}/freetype-config \
@@ -71,7 +77,7 @@ echo "lt_cv_deplibs_check_method='pass_a
 	--disable-docs \
 	--enable-libxml2 \
 	--enable-shared --disable-static
-make %{?_smp_mflags} || make
+make
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
@@ -91,6 +97,7 @@ chmod -x %{buildroot}%{_mingw32_libdir}/
 %{_mingw32_libdir}/pkgconfig/fontconfig.pc
 %{_mingw32_includedir}/fontconfig/
 %{_mingw32_datadir}/xml/fontconfig/
+%{_mingw32_datadir}/wixlib/fontconfig.wixlib
 
 %files tools
 %defattr(-,root,root)
openSUSE Build Service is sponsored by