Name: liblcms Version: 1.19 Release: 4mamba 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 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libjpeg-devel BuildRequires: libpython26-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libz-devel ## 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} = %{version} %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 = %{version} %description static Little cms intends to be a small-footprint, speed optimized color management engine in open source form. This package contains static libraries need for development. %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 = %{version} %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 need for development. %prep %setup -q -n lcms-%{version} #%patch0 -p2 -b .type4 #%patch1 -p1 -b .s390 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 %build autoreconf -if sed -i "s|python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0|python2.6|" configure %configure \ --with-pic \ %if "%{stage1}" != "1" --with-python %endif (cd python; ./swig_lcms) %make %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}" %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/*.so.* %{_mandir}/man1/* %doc AUTHORS ChangeLog COPYING NEWS README.1ST %doc doc/TUTORIAL.TXT %files devel %defattr(-,root,root) #%{_bindir}/fribidi-config %{_libdir}/*.so %{_libdir}/pkgconfig/lcms.pc %{_includedir}/* %doc doc/LCMSAPI.TXT %files static %defattr(-,root,root) %{_libdir}/*.a %{_libdir}/*.la %if "%{stage1}" != "1" %files -n python-lcms %defattr(-,root,root) %{python26_sitearch}/_lcms.so %{python26_sitearch}/lcms.py %files -n python-lcms-static %defattr(-,root,root) %{python26_sitearch}/_lcms.a %{python26_sitearch}/_lcms.la %endif %changelog * Sun Jun 06 2010 gil 1.19-4mamba - ... add a changelog entry * Sun Jun 06 2010 gil 1.19-3mamba - rebuilt with python 2.6 (milestone 1) * Mon Feb 08 2010 gil 1.19-2mamba - rebuilt with python 2.4 (milestone 1) * 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