File project.diff of Package mingw32-libffi
--- mingw32-libffi.spec.orig
+++ mingw32-libffi.spec
@@ -24,6 +24,7 @@ License: MIT
Group: Development/Languages/C and C++
Url: http://sourceware.org/libffi/
Source: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
+Patch1000: libffi-3.0.13-wix.patch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
@@ -33,6 +34,9 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
%_mingw32_package_header_debug
BuildArch: noarch
+BuildRequires: automake autoconf libtool
+BuildRequires: wixwine
+
%description
The libffi library provides a portable, high level programming interface to various calling conventions. This allows a
programmer to call any function specified by a call interface description at run-time.
@@ -58,8 +62,10 @@ programmer to call any function specifie
%prep
%setup -q -n libffi-%{version}
+%patch1000 -p1
%build
+autoreconf -fi
%{_mingw32_configure} \
--enable-shared --disable-static
make %{?_smp_mflags} || make
@@ -78,5 +84,6 @@ make DESTDIR=%{buildroot} install %{?_sm
%{_mingw32_libdir}/pkgconfig/libffi.pc
%{_mingw32_datadir}/info/
%{_mingw32_mandir}/man3/
+%{_mingw32_datadir}/wixlib/libffi.wixlib
%changelog