Name: liblcms Version: 1.19 Release: 6mamba Summary: A free color management engine in 100K Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.littlecms.com Source: http://www.littlecms.com/lcms-%{version}.tar.gz Patch0: liblcms-1.17-coverity-boundchecking-cmsio1.patch Patch1: liblcms-1.17-fix_s390_lcms_h.patch Patch2: liblcms-1.19-cve-2013-4276.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libgcc BuildRequires: libjbig-devel BuildRequires: libjpeg-devel BuildRequires: liblzma-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libz-devel BuildRequires: libzstd-devel BuildRequires: python3 ## AUTOBUILDREQ-END BuildRequires: swig BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Little cms intends to be a small-footprint, speed optimized color management engine in open source form. %package devel Group: Development/Libraries Summary: Libraries and header for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Little cms intends to be a small-footprint, speed optimized color management engine in open source form. This package contains libraries and header files need for development. %package static Group: Development/Libraries Summary: Static libraries for %{name} Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static Little cms intends to be a small-footprint, speed optimized color management engine in open source form. This package contains static libraries needed for development. %package tools Group: System/Tools Summary: Tools provided with %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools Little cms intends to be a small-footprint, speed optimized color management engine in open source form. This package contains the tools provided with %{name}. %package -n python-lcms Summary: Python interface to %{name} Group: Development/Libraries %description -n python-lcms Little cms intends to be a small-footprint, speed optimized color management engine in open source form. This package contains Python interface to %{name}. %package -n python-lcms-static Summary: Python interface to %{name} Group: Development/Libraries Requires: python-lcms = %{?epoch:%epoch:}%{version}-%{release} %description -n python-lcms-static Little cms intends to be a small-footprint, speed optimized color management engine in open source form. This package contains static libraries needed for development. %debug_package %prep %setup -q -n lcms-%{version} #%patch0 -p2 -b .type4 #%patch1 -p1 -b .s390 %patch2 -p1 find . -name \*.[ch] | xargs chmod -x # fix docs format pushd doc mkdir -p doctemp for f in LCMSAPI.TXT TUTORIAL.TXT ;do cp -p $f doctemp/$f iconv -f ISO-8859-1 -t UTF-8 doctemp/$f > $f touch -r doctemp/$f $f done rm -rf doctemp popd autoreconf -fi %build %configure \ --with-pic \ %if "%{stage1}" != "1" --with-python %endif #(cd python; ./swig_lcms) # PYTHON=%{__python3} %make make -C python #%if "%{_host}" == "%{_build}" #% make check #%endif %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall chmod 0644 AUTHORS COPYING ChangeLog NEWS README.1ST doc/TUTORIAL.TXT doc/LCMSAPI.TXT %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/liblcms.so.* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/liblcms.la %{_libdir}/liblcms.so %{_libdir}/pkgconfig/lcms.pc %doc doc/LCMSAPI.TXT %doc ChangeLog NEWS README.1ST %doc doc/TUTORIAL.TXT %files static %defattr(-,root,root) %{_libdir}/liblcms.a %files tools %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %if "%{stage1}" != "1" %files -n python-lcms %defattr(-,root,root) %{python_sitearch}/_lcms.so %{python_sitearch}/lcms.py %files -n python-lcms-static %defattr(-,root,root) %{python_sitearch}/_lcms.a %{python_sitearch}/_lcms.la %endif %changelog * Thu Dec 03 2020 Silvan Calarco 1.19-6mamba - rebuilt with debug package; added -tools subpackage; disable tests failing * Fri May 17 2013 Silvan Calarco 1.19-5mamba - rebuilt with python 2.7 * Sun Sep 19 2010 Davide Madrisan 1.19-4mamba - run ldconfig after package install/remove * Tue Aug 10 2010 Silvan Calarco 1.19-3mamba - move libtool file .la to -devel package from -static * Fri Jul 02 2010 Silvan Calarco 1.19-2mamba - rebuilt with libjpeg 8 * Wed Nov 25 2009 Silvan Calarco 1.19-1mamba - update to 1.19 * Sat Jan 31 2009 Silvan Calarco 1.17-3mamba - rebuilt with python 2.6 * Sat Jan 31 2009 gil 1.17-2mamba - fix for: https://bugzilla.redhat.com/show_bug.cgi?id=468245; https://bugzilla.redhat.com/show_bug.cgi?id=448066 - added packages static: , python * Sat Oct 11 2008 gil 1.17-1mamba - update to 1.17 * Wed Sep 26 2007 Silvan Calarco 1.16-1mamba - update to 1.16 * Tue Apr 11 2006 Davide Madrisan 1.15-1qilnx - update to version 1.15 by autospec * Wed Nov 23 2005 Stefano Cotta Ramusino 1.14-1qilnx - update to version 1.14 by autospec * Wed Jul 14 2004 Davide Madrisan 1.13-1qilnx - first build