File project.diff of Package mingw64-lcms
--- mingw64-lcms.spec.orig
+++ mingw64-lcms.spec
@@ -18,6 +18,7 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
Source: http://www.littlecms.com/lcms-%{version}.tar.gz
Patch1: lcms-1.17-windows.patch
+Patch1000: lcms-1.18-wix.patch
BuildArch: noarch
#!BuildIgnore: post-build-checks
@@ -31,6 +32,8 @@ BuildRequires: mingw64-zlib-devel
BuildRequires: mingw64-libjpeg-devel
BuildRequires: autoconf automake libtool
+BuildRequires: wixwine
+
%description
Little cms is a small speed optimized color management engine.
@@ -55,13 +58,14 @@ to develop applications that require the
%setup -q -n lcms-%{version}
%patch1 -p1 -b .windows
+%patch1000 -p1 -b .windows
%build
autoreconf -f -i
%{_mingw64_configure} \
--with-jpeg --with-zlib --with-tiff \
--enable-shared --disable-static
-make %{?_smp_mflags} || make
+make
%install
@@ -96,6 +100,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw64_includedir}/icc34.h
%{_mingw64_libdir}/liblcms.dll.a
%{_mingw64_libdir}/pkgconfig/lcms.pc
+%{_mingw64_datadir}/wixlib/lcms.wixlib
%changelog