From ba073a20cd50a69b65ee845098475ffd1510f15c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 5 Aug 2017 08:31:24 +0200 Subject: v6.9.9-5 --- ImageMagick6.spec | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) (limited to 'ImageMagick6.spec') diff --git a/ImageMagick6.spec b/ImageMagick6.spec index f4195f2..68dd521 100644 --- a/ImageMagick6.spec +++ b/ImageMagick6.spec @@ -8,8 +8,8 @@ # # Please preserve changelog entries # -%global VER 6.9.8 -%global Patchlevel 10 +%global VER 6.9.9 +%global Patchlevel 5 %global incsuffixe -6 %global libsuffixe -6.Q16 %global with_tests 0%{!?_without_tests:1} @@ -30,6 +30,12 @@ %global with_gslib 0 %endif +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +%global with_raw 1 +%else +%global with_raw 0 +%endif + %if 0%{?fedora} >= 22 || 0%{?rhel} >= 7 %global with_raqm 1 %else @@ -51,7 +57,7 @@ %endif %global libname ImageMagick -%if 0%{?fedora} > 99 +%if 0%{?fedora} > 26 Name: %{libname} %else Name: %{libname}6 @@ -81,6 +87,9 @@ BuildRequires: libxml2-devel, librsvg2-devel BuildRequires: fftw-devel BuildRequires: OpenEXR-devel BuildRequires: lcms2-devel +%if %{with_raw} +BuildRequires: LibRaw-devel >= 0.14.8 +%endif %if %{with_webp} BuildRequires: libwebp-devel %endif @@ -312,6 +321,11 @@ cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples --with-wmf \ --with-lcms \ --with-openexr \ +%if %{with_raw} + --with-raw \ +%else + --without-raw \ +%endif --with-rsvg \ --with-xml \ %if %{with_webp} @@ -404,7 +418,7 @@ multilibFileVersions %{buildroot}%{_includedir}/%{libname}-6/magick/version.h # Fonts must be packaged separately. It does not have matter and demos work without it. -rm PerlMagick/demo/Generic.ttf +rm -f PerlMagick/demo/Generic.ttf %if %{with_tests} @@ -445,8 +459,8 @@ fi %files libs %doc ChangeLog %doc README.txt LICENSE NOTICE AUTHORS.txt NEWS.txt -%{_libdir}/libMagickCore%{?libsuffixe}.so.4* -%{_libdir}/libMagickWand%{?libsuffixe}.so.4* +%{_libdir}/libMagickCore%{?libsuffixe}.so.5* +%{_libdir}/libMagickWand%{?libsuffixe}.so.5* %{_libdir}/%{libname}-%{VER} %if "%{name}" != "%{libname}" %dir %{_datadir}/%{name} @@ -501,7 +515,7 @@ fi %files c++ %doc Magick++/AUTHORS Magick++/ChangeLog Magick++/NEWS Magick++/README %doc www/Magick++/COPYING -%{_libdir}/libMagick++%{?libsuffixe}.so.7* +%{_libdir}/libMagick++%{?libsuffixe}.so.8* %files c++-devel %doc Magick++/examples @@ -521,6 +535,13 @@ fi %changelog +* Sat Aug 5 2017 Remi Collet - 6.9.9.5-1 +- update to version 6.9.9 patch level 5 +- libMagickCore soname bump to 5 +- libMagickWand soname bump to 5 +- libMagick++ soname bump to 8 +- enable raw support + * Mon Jun 12 2017 Remi Collet - 6.9.8.10-1 - update to version 6.9.8 patch level 10 -- cgit