File project.diff of Package mingw64-libspectre
--- mingw64-libspectre.spec.orig
+++ mingw64-libspectre.spec
@@ -16,6 +16,7 @@ Group: Development/Libraries
URL: http://libspectre.freedesktop.org/wiki/
Source: http://libspectre.freedesktop.org/releases/libspectre-%{version}.tar.gz
Patch0: libspectre-0.2.4-vscprintf.patch
+Patch1000: libspectre-0.2.3-wix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -26,6 +27,8 @@ BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-libgs-devel
+BuildRequires: automake autoconf libtool
+BuildRequires: wixwine
%description
libspectre is a small library for rendering Postscript documents. It
@@ -48,12 +51,14 @@ Postscript documents (development files)
%prep
%setup -q -n libspectre-%{version}
%patch0 -p1 -b .vscprintf
+%patch1000 -p1 -b .wix
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
+autoreconf -f -i
%{_mingw64_configure} --enable-shared --disable-static
-make %{?_smp_mflags} || make
+make
%install
@@ -74,6 +79,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw64_includedir}/libspectre
%{_mingw64_libdir}/libspectre.dll.a
%{_mingw64_libdir}/pkgconfig/libspectre.pc
+%{_mingw64_datadir}/wixlib/libspectre.wixlib
%changelog