summaryrefslogtreecommitdiffstats
path: root/ImageMagick6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ImageMagick6.spec')
-rw-r--r--ImageMagick6.spec24
1 files changed, 22 insertions, 2 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec
index b631266..baeb522 100644
--- a/ImageMagick6.spec
+++ b/ImageMagick6.spec
@@ -9,7 +9,7 @@
# Please preserve changelog entries
#
%global VER 6.9.12
-%global Patchlevel 34
+%global Patchlevel 35
%global incsuffixe -6
%global libsuffixe -6.Q16
%bcond_without tests
@@ -57,6 +57,8 @@ Url: http://www.imagemagick.org/
#Source0: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%%{VER}-%%{Patchlevel}.tar.xz
Source0: https://www.imagemagick.org/download/ImageMagick-%{VER}-%{Patchlevel}.tar.xz
+Patch0: heic-el7.patch
+
BuildRequires: gcc
BuildRequires: gcc-c++
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
@@ -210,12 +212,20 @@ however.
%package libs
-Summary: Commands for ImageMagick
+Summary: ImageMagick library
Obsoletes: ImageMagick2 < %{epoch}:%{version}
Obsoletes: ImageMagick-last-libs < %{epoch}:%{version}
%if "%{name}" == "%{libname}"
Obsoletes: %{libname}6-libs <= %{epoch}:%{version}-%{release}
%endif
+# default font is OpenSans-Regular
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Recommends: urw-base35-fonts
+Recommends: open-sans-fonts
+%else
+Requires: urw-base35-fonts
+Requires: open-sans-fonts
+%endif
%description libs
Provides the shared libraries and plugins of %{name}.
@@ -353,6 +363,9 @@ however.
%prep
%setup -q -n %{libname}-%{VER}-%{Patchlevel}
+%if 0%{?rhel} == 7
+%patch0 -p1 -R
+%endif
# for %%doc
mkdir Magick++/examples
@@ -611,6 +624,13 @@ fi
%changelog
+* Mon Jan 24 2022 Remi Collet <remi@remirepo.net> - 6.9.12.35-1
+- update to version 6.9.12 patch level 35
+- add weak dependencies on default fonts
+- open https://github.com/ImageMagick/ImageMagick/issues/4747
+ Broken build with old libheif
+ and revert upstream changes on EL7
+
* Thu Dec 23 2021 Remi Collet <remi@remirepo.net> - 6.9.12.34-1
- update to version 6.9.12 patch level 34