File project.diff of Package mingw64-pango
--- mingw64-pango.spec.orig
+++ mingw64-pango.spec
@@ -16,6 +16,7 @@ Group: System/Libraries
Url: http://www.pango.org
Source: http://ftp.gnome.org/pub/gnome/sources/pango/1.30/pango-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch1000: pango-1.28.4-wix.patch
BuildArch: noarch
#!BuildIgnore: post-build-checks
@@ -34,6 +35,9 @@ BuildRequires: mingw64-glib2-devel
BuildRequires: glib2-devel
BuildRequires: xz
+BuildRequires: automake autoconf gnome-common gtk-doc
+BuildRequires: wixwine
+
%description
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It can be used
anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+
@@ -68,7 +72,10 @@ graphics rendering.
%prep
%setup -q -n pango-%{version}
+%patch1000 -p1 -b .wix
+
%build
+NOCONFIGURE=indeed AUTOMAKE=`which automake` ./autogen.sh
# Need to run the correct version of glib-mkenums.
export PATH="%{_mingw64_bindir}:$PATH"
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
@@ -117,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw64_libdir}/pkgconfig/pangoft2.pc
%{_mingw64_libdir}/pkgconfig/pangowin32.pc
%{_mingw64_datadir}/gtk-doc/html/pango/
+%{_mingw64_datadir}/wixlib/pango.wixlib
+%{_mingw64_datadir}/wixlib/pangocairo.wixlib
+%{_mingw64_datadir}/wixlib/pangoft2.wixlib
+%{_mingw64_datadir}/wixlib/pangowin32.wixlib
%changelog