File mingw64-lcms.spec of Package mingw64-lcms
#
# spec file for package mingw64-lcms
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-lcms
Version: 1.19
Release: 0
Summary: Utilities for the Little CMS Engine
License: X11
Group: Development/Libraries/C and C++
Url: http://www.littlecms.com
Source: http://www.littlecms.com/lcms-%{version}.tar.gz
Patch1: lcms-1.19-windows.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-libjpeg-devel
BuildRequires: mingw64-libtiff-devel
BuildRequires: mingw64-zlib-devel
%_mingw64_package_header_debug
BuildArch: noarch
%description
Little cms is a small speed optimized color management engine.
%package -n mingw64-liblcms1
Summary: Libraries for the Little CMS Engine
Group: System/Libraries
Obsoletes: mingw64-liblcms
%description -n mingw64-liblcms1
Little cms is a small speed optimized color management engine.
%package -n mingw64-liblcms-devel
Summary: Include Files and Libraries Mandatory for Development
Group: Development/Libraries/C and C++
%description -n mingw64-liblcms-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%_mingw64_debug_package
%prep
%setup -q -n lcms-%{version}
%patch -P 1 -p1 -b .windows
%build
autoreconf -f -i
%{_mingw64_configure} \
--with-jpeg --with-zlib --with-tiff \
--enable-shared --disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_mingw64_bindir}/tiffdiff.exe
%{_mingw64_bindir}/tifficc.exe
%{_mingw64_bindir}/wtpt.exe
%{_mingw64_bindir}/icclink.exe
%{_mingw64_bindir}/icc2ps.exe
%{_mingw64_bindir}/jpegicc.exe
%{_mingw64_bindir}/icctrans.exe
%{_mingw64_mandir}/man1/wtpt.1*
%{_mingw64_mandir}/man1/tifficc.1*
%{_mingw64_mandir}/man1/icc2ps.1*
%{_mingw64_mandir}/man1/icclink.1*
%{_mingw64_mandir}/man1/jpegicc.1*
%files -n mingw64-liblcms1
%defattr(-,root,root)
%{_mingw64_bindir}/liblcms-1.dll
%files -n mingw64-liblcms-devel
%defattr(-,root,root)
%{_mingw64_includedir}/lcms.h
%{_mingw64_includedir}/icc34.h
%{_mingw64_libdir}/liblcms.dll.a
%{_mingw64_libdir}/pkgconfig/lcms.pc
%changelog