File mingw64-lcms2.spec of Package mingw64-lcms2
#
# spec file for package mingw64-lcms2
#
# 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-lcms2
Version: 2.8
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/lcms2-%{version}.tar.gz
#!BuildIgnore: post-build-checks
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-liblcms2-2
Summary: Libraries for the Little CMS Engine
Group: System/Libraries
Obsoletes: mingw64-liblcms2
%description -n mingw64-liblcms2-2
Little cms is a small speed optimized color management engine.
%package -n mingw64-liblcms2-devel
Summary: Include Files and Libraries Mandatory for Development
Group: Development/Libraries/C and C++
%description -n mingw64-liblcms2-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%_mingw64_debug_package
%prep
%setup -q -n lcms2-%{version}
%build
%{_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}/jpgicc.exe
%{_mingw64_bindir}/linkicc.exe
%{_mingw64_bindir}/psicc.exe
%{_mingw64_bindir}/tificc.exe
%{_mingw64_bindir}/transicc.exe
%{_mingw64_mandir}/man1/jpgicc.1.gz
%{_mingw64_mandir}/man1/tificc.1.gz
%files -n mingw64-liblcms2-2
%defattr(-,root,root)
%{_mingw64_bindir}/liblcms2-2.dll
%files -n mingw64-liblcms2-devel
%defattr(-,root,root)
%{_mingw64_includedir}/lcms2.h
%{_mingw64_includedir}/lcms2_plugin.h
%{_mingw64_libdir}/liblcms2.dll.a
%{_mingw64_libdir}/pkgconfig/lcms2.pc
%changelog