rebuilt with current ImageMagick and php [release 3.7.0-3mamba;Mon Jan 15 2024]
This commit is contained in:
parent
8273f48946
commit
4318400761
@ -1,7 +1,7 @@
|
|||||||
%define php_majver %(php-config --version | cut -d. -f1-2)
|
%define php_majver %(php-config --version | cut -d. -f1-2)
|
||||||
Name: php-imagick
|
Name: php-imagick
|
||||||
Version: 3.7.0
|
Version: 3.7.0
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: PHP wrapper to the ImageMagick library
|
Summary: PHP wrapper to the ImageMagick library
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -12,11 +12,10 @@ Source: https://pecl.php.net/get/imagick-%{version}.tgz
|
|||||||
License: PHP License
|
License: PHP License
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libMagick-devel
|
|
||||||
BuildRequires: libgomp-devel
|
BuildRequires: libgomp-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libMagick-devel >= 7.1.0.35-1mamba
|
BuildRequires: libMagick-devel >= 7.1.1.26
|
||||||
BuildRequires: php-devel >= 7.4.6
|
BuildRequires: php-devel >= 7.4.33
|
||||||
Requires: php >= %{php_majver}
|
Requires: php >= %{php_majver}
|
||||||
Requires: php <= %{php_majver}.99
|
Requires: php <= %{php_majver}.99
|
||||||
|
|
||||||
@ -31,7 +30,10 @@ PHP wrapper to the ImageMagick library.
|
|||||||
%build
|
%build
|
||||||
cd imagick-%{version}
|
cd imagick-%{version}
|
||||||
phpize
|
phpize
|
||||||
%configure
|
%configure \
|
||||||
|
CFLAGS="%{optflags} `pkgconf MagickWand-7.Q16HDRI --cflags`"
|
||||||
|
LIBS="`pkgconf MagickWand-7.Q16HDRI --libs`"
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -43,6 +45,26 @@ install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d
|
|||||||
cat > %{buildroot}%{_sysconfdir}/php/php.d/imagick.ini <<EOF
|
cat > %{buildroot}%{_sysconfdir}/php/php.d/imagick.ini <<EOF
|
||||||
; Enable imagick extension module
|
; Enable imagick extension module
|
||||||
extension=imagick.so
|
extension=imagick.so
|
||||||
|
|
||||||
|
; Documentation: http://php.net/imagick
|
||||||
|
|
||||||
|
; Don't check builtime and runtime versions of ImageMagick
|
||||||
|
imagick.skip_version_check=1
|
||||||
|
|
||||||
|
; Fixes a drawing bug with locales that use ',' as float separators.
|
||||||
|
;imagick.locale_fix=0
|
||||||
|
|
||||||
|
; Used to enable the image progress monitor.
|
||||||
|
;imagick.progress_monitor=0
|
||||||
|
|
||||||
|
; multi-thread management
|
||||||
|
|
||||||
|
;imagick.set_single_thread => 1 => 1
|
||||||
|
|
||||||
|
;imagick.shutdown_sleep_count => 10 => 10
|
||||||
|
|
||||||
|
; to allow null images
|
||||||
|
;imagick.allow_zero_dimension_images => 0 => 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -67,6 +89,9 @@ fi
|
|||||||
%{_libdir}/php/extensions/imagick.so
|
%{_libdir}/php/extensions/imagick.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-3mamba
|
||||||
|
- rebuilt with current ImageMagick and php
|
||||||
|
|
||||||
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-2mamba
|
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-2mamba
|
||||||
- rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba
|
- rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user