File project.diff of Package mingw64-glib2
--- mingw64-glib2.spec.orig
+++ mingw64-glib2.spec
@@ -19,6 +19,7 @@ Source1: %{name}-rpmlintrc
#This patch is needed by gnumeric
#Patch0: glib-goption-disable-localization.patch
Patch100: 0001-Add-data-based-content-type-guessing-for-win32.patch
+Patch1000: glib-2.30.2-wix.patch
Patch1001: glib-2.30.0-Add-g_option_context_parse_utf8.patch
Patch1002: glib-2.30.0-Add-g_win32_get_utf8_argv.patch
Patch1003: glib-2.30.0-Add-g_option_context_parse_command_line.patch
@@ -49,6 +50,7 @@ BuildRequires: autoconf automake libtoo
Requires: %{name}-lang = %{version}
BuildRequires: autoconf, automake, libtool
+BuildRequires: wixwine
%description
GLib provides the core application building blocks for libraries and applications written in C. It provides the core
object system used in GNOME, the main loop implementation, and a large set of utility functions for strings and common
@@ -83,6 +85,7 @@ Development files needed for building ap
#%%patch0 -p0 -b .delocalize
%patch100 -p1
+%patch1000 -p1 -b .wix
%patch1001 -p1 -b .utf8
%patch1002 -p1 -b .argv
%patch1003 -p1 -b .commandline
@@ -92,8 +95,8 @@ Development files needed for building ap
autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure}
-make %{?_smp_mflags} || make
-
+#make %{?_smp_mflags} || make
+make
%install
make DESTDIR=$RPM_BUILD_ROOT install
@@ -183,4 +186,12 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw64_mandir}/man1/gtester.1*
%{_mingw64_mandir}/man1/gdbus-codegen.1.gz
+%{_mingw64_datadir}/wixlib/gio-2.0.wixlib
+%{_mingw64_datadir}/wixlib/glib-2.0.wixlib
+%{_mingw64_datadir}/wixlib/gmodule-2.0.wixlib
+%{_mingw64_datadir}/wixlib/gobject-2.0.wixlib
+%{_mingw64_datadir}/wixlib/gthread-2.0.wixlib
+%{_mingw64_datadir}/wixlib/glib-2.0-lang.wixlib
+
+
%changelog