-
Notifications
You must be signed in to change notification settings - Fork 0
/
php-imagick.spec
92 lines (74 loc) · 2.33 KB
/
php-imagick.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
# Using build pattern: phpize
# autospec version: v20
# autospec commit: 412ce5e
#
Name : php-imagick
Version : 3.7.0
Release : 80
URL : https://pecl.php.net/get/imagick-3.7.0.tgz
Source0 : https://pecl.php.net/get/imagick-3.7.0.tgz
Summary : No detailed summary available
Group : Development/Tools
License : PHP-3.01
Requires: php-imagick-lib = %{version}-%{release}
Requires: php-imagick-license = %{version}-%{release}
BuildRequires : ImageMagick-dev
BuildRequires : buildreq-php
BuildRequires : file
BuildRequires : perl(Getopt::Long)
# Suppress stripping binaries
%define __strip /bin/true
%define debug_package %{nil}
%description
No detailed description available
%package dev
Summary: dev components for the php-imagick package.
Group: Development
Requires: php-imagick-lib = %{version}-%{release}
Provides: php-imagick-devel = %{version}-%{release}
Requires: php-imagick = %{version}-%{release}
%description dev
dev components for the php-imagick package.
%package lib
Summary: lib components for the php-imagick package.
Group: Libraries
Requires: php-imagick-license = %{version}-%{release}
%description lib
lib components for the php-imagick package.
%package license
Summary: license components for the php-imagick package.
Group: Default
%description license
license components for the php-imagick package.
%prep
%setup -q -n imagick-3.7.0
cd %{_builddir}/imagick-3.7.0
pushd ..
cp -a imagick-3.7.0 buildavx2
popd
%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
phpize
%configure --disable-static
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}/usr/share/package-licenses/php-imagick
cp %{_builddir}/imagick-%{version}/LICENSE %{buildroot}/usr/share/package-licenses/php-imagick/a1858e1db242bfbb45d60188d32289465bdc3c59 || :
%make_install
/usr/bin/elf-move.py avx2 %{buildroot}-v3 %{buildroot} %{buildroot}/usr/share/clear/filemap/filemap-%{name}
%files
%defattr(-,root,root,-)
%files dev
%defattr(-,root,root,-)
/usr/include/php/ext/imagick/php_imagick_shared.h
%files lib
%defattr(-,root,root,-)
/usr/lib64/extensions/no-debug-non-zts-20230831/imagick.so
%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/php-imagick/a1858e1db242bfbb45d60188d32289465bdc3c59