diff --git a/GraphicsMagick.spec b/GraphicsMagick.spec index d930ed1..8261918 100644 --- a/GraphicsMagick.spec +++ b/GraphicsMagick.spec @@ -1,13 +1,14 @@ -%if 0%{?fedora} > 15 -# should seriously consider using this as default everywhere -- Rex %global quantum_depth 16 + +%if 0%{?fedora} > 16 +%global lcms lcms2 %endif Summary: An ImageMagick fork, offering faster image generation and better quality Name: GraphicsMagick Version: 1.3.16 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT Group: Applications/Multimedia Source0: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.xz @@ -23,7 +24,7 @@ Patch50: GraphicsMagick-1.3.14-perl_linkage.patch BuildRequires: bzip2-devel BuildRequires: freetype-devel BuildRequires: jasper-devel -BuildRequires: lcms-devel +BuildRequires: %{lcms}-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: librsvg2-devel @@ -123,7 +124,7 @@ sed -i -e "s|BrowseDelegateDefault=.*|BrowseDelegateDefault=\'xdg-open\'|" confi %build %configure --enable-shared --disable-static \ - --with-lcms \ + --with-%{lcms} \ --with-magick_plus_plus \ --with-modules \ --with-perl \ @@ -262,6 +263,9 @@ rm -rf %{buildroot} %changelog +* Mon Aug 20 2012 Rex Dieter 1.3.16-4 +- link GraphicsMagick against lcms2 instead of lcms1 (#849778) + * Wed Jul 18 2012 Fedora Release Engineering - 1.3.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild