File project.diff of Package mingw64-libxml2
--- mingw64-libxml2.spec.orig
+++ mingw64-libxml2.spec
@@ -16,6 +16,7 @@ Group: System/Libraries
Url: http://xmlsoft.org/
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch1000: libxml2-2.7.6-wix.patch
BuildArch: noarch
#!BuildIgnore: post-build-checks
@@ -26,6 +27,10 @@ BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-zlib-devel
+#BuildRequires: mingw64-gettext-tools
+BuildRequires: autoconf automake libtool
+BuildRequires: wixwine
+
%description
Libxml2 is the XML C parser and toolkit developed for the Gnome project.
@@ -51,9 +56,12 @@ Libxml2 is the XML C parser and toolkit
%prep
%setup -q -n libxml2-%{version}
+%patch1000 -p1 -b .wix
%build
+libtoolize --force --copy
+autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
MINGW64_CFLAGS="-DHAVE_COMPILER_TLS %{_mingw64_cflags}" \
%{_mingw64_configure} \
@@ -86,6 +94,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw64_datadir}/gtk-doc/html/libxml2/
%{_mingw64_mandir}/man1/xml2-config.1*
%{_mingw64_mandir}/man3/libxml.3*
+%{_mingw64_datadir}/wixlib/libxml2.wixlib
%files tools
%defattr(-,root,root)