File project.diff of Package mingw32-libpng
--- mingw32-libpng.spec.orig
+++ mingw32-libpng.spec
@@ -24,6 +24,8 @@ License: Zlib
Group: Development/Libraries/C and C++
Url: http://www.libpng.org/pub/png/
Source: ftp://ftp.simplesystems.org/pub/png/src/libpng-%{version}.tar.xz
+Patch1000: libpng-1.6.19-wix.patch
+
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
@@ -35,6 +37,9 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
%_mingw32_package_header_debug
BuildArch: noarch
+BuildRequires: autoconf automake libtool
+BuildRequires: wixwine
+
%description
MinGW Windows libpng library. Libpng is the official reference library for the
Portable Network Graphics (PNG) format.
@@ -69,8 +74,10 @@ Portable Network Graphics (PNG) format.
%prep
%setup -q -n libpng-%{version}
+%patch1000 -p1 -b .wix
%build
+autoreconf -f -i
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} \
as_ln_s='cp -p' \
@@ -98,6 +105,7 @@ make DESTDIR=%{buildroot} install %{?_sm
%{_mingw32_libdir}/pkgconfig/libpng16.pc
%exclude %{_mingw32_mandir}/man3
%exclude %{_mingw32_mandir}/man5
+%{_mingw32_datadir}/wixlib/libpng.wixlib
%files tools
%defattr(-,root,root)