File project.diff of Package mingw32-libxml2
--- mingw32-libxml2.spec.orig
+++ mingw32-libxml2.spec
@@ -25,12 +25,17 @@ Group: Development/Libraries/C
Url: http://xmlsoft.org/
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
Patch0: fix-global-catalog-access.diff
+Patch1000: libxml2-2.9.0-wix.patch
#!BuildIgnore: post-build-checks
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-zlib-devel
+BuildRequires: wixwine
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%_mingw32_package_header_debug
BuildArch: noarch
@@ -65,8 +70,11 @@ Libxml2 is the XML C parser and toolkit
%prep
%setup -q -n libxml2-%{version}
%patch0
+%patch1000 -p1 -b .wix
%build
+libtoolize --force --copy
+autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
MINGW32_CFLAGS="-DHAVE_COMPILER_TLS %{_mingw32_cflags}" \
%{_mingw32_configure} \
@@ -93,6 +101,7 @@ make DESTDIR=%{buildroot} install %{?_sm
%{_mingw32_datadir}/gtk-doc/html/libxml2/
%{_mingw32_mandir}/man1/xml2-config.1*
%{_mingw32_mandir}/man3/libxml.3*
+%{_mingw32_datadir}/wixlib/libxml2.wixlib
%files tools
%defattr(-,root,root)