From 431840076163628cdb6326297f9d1aecb4442de6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 16 Jan 2024 10:11:21 +0100 Subject: [PATCH] rebuilt with current ImageMagick and php [release 3.7.0-3mamba;Mon Jan 15 2024] --- php-imagick.spec | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/php-imagick.spec b/php-imagick.spec index 6761d15..6a054ac 100644 --- a/php-imagick.spec +++ b/php-imagick.spec @@ -1,7 +1,7 @@ %define php_majver %(php-config --version | cut -d. -f1-2) Name: php-imagick Version: 3.7.0 -Release: 2mamba +Release: 3mamba Summary: PHP wrapper to the ImageMagick library Group: System/Servers Vendor: openmamba @@ -12,11 +12,10 @@ Source: https://pecl.php.net/get/imagick-%{version}.tgz License: PHP License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libMagick-devel BuildRequires: libgomp-devel ## AUTOBUILDREQ-END -BuildRequires: libMagick-devel >= 7.1.0.35-1mamba -BuildRequires: php-devel >= 7.4.6 +BuildRequires: libMagick-devel >= 7.1.1.26 +BuildRequires: php-devel >= 7.4.33 Requires: php >= %{php_majver} Requires: php <= %{php_majver}.99 @@ -31,7 +30,10 @@ PHP wrapper to the ImageMagick library. %build cd imagick-%{version} phpize -%configure +%configure \ + CFLAGS="%{optflags} `pkgconf MagickWand-7.Q16HDRI --cflags`" + LIBS="`pkgconf MagickWand-7.Q16HDRI --libs`" + %make %install @@ -43,6 +45,26 @@ install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d cat > %{buildroot}%{_sysconfdir}/php/php.d/imagick.ini < 1 => 1 + +;imagick.shutdown_sleep_count => 10 => 10 + +; to allow null images +;imagick.allow_zero_dimension_images => 0 => 0 EOF %clean @@ -67,6 +89,9 @@ fi %{_libdir}/php/extensions/imagick.so %changelog +* Mon Jan 15 2024 Silvan Calarco 3.7.0-3mamba +- rebuilt with current ImageMagick and php + * Wed May 25 2022 Silvan Calarco 3.7.0-2mamba - rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba