9 |
# V E R S I O N P A R T S |
# V E R S I O N P A R T S |
10 |
|
|
11 |
# their "official" version |
# their "official" version |
12 |
%define rversion 6.7.5 |
%define rversion 6.7.7 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 10 |
%define minor_rev 2 |
16 |
|
|
17 |
# some other funny version |
# some other funny version |
18 |
# (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel |
# (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel |
33 |
Summary: An X application for displaying and manipulating images |
Summary: An X application for displaying and manipulating images |
34 |
Name: imagemagick |
Name: imagemagick |
35 |
Version: %{rversion}.%{minor_rev} |
Version: %{rversion}.%{minor_rev} |
36 |
Release: %mkrel 2 |
Release: %mkrel 1 |
37 |
License: BSD-like |
License: BSD-like |
38 |
Group: Graphics |
Group: Graphics |
39 |
URL: http://www.imagemagick.org/ |
URL: http://www.imagemagick.org/ |
44 |
Source11: magick-icon_32x32.png |
Source11: magick-icon_32x32.png |
45 |
Source12: magick-icon_48x48.png |
Source12: magick-icon_48x48.png |
46 |
Source13: magick-icon_64x64.png |
Source13: magick-icon_64x64.png |
|
Patch0: imagemagick-docdir.diff |
|
47 |
#gw fix format strings, but it doesn't work for the perl-Magick |
#gw fix format strings, but it doesn't work for the perl-Magick |
48 |
Patch1: ImageMagick-6.4.8-9-format-strings.patch |
Patch1: ImageMagick-6.4.8-9-format-strings.patch |
49 |
Patch2: ImageMagick-6.7.4-force-so.patch |
Patch2: ImageMagick-6.7.4-force-so.patch |
51 |
Patch17: imagemagick-fpx.diff |
Patch17: imagemagick-fpx.diff |
52 |
Patch19: ImageMagick-libpath.diff |
Patch19: ImageMagick-libpath.diff |
53 |
Patch20: ImageMagick-6.4.8-9-fix-montageimages-test.patch |
Patch20: ImageMagick-6.4.8-9-fix-montageimages-test.patch |
|
Patch21: ImageMagick-6.7.5-10-CVE-2012-0259-CVE-2012-0260-CVE-2012-1798.patch |
|
|
Patch22: ImageMagick-6.7.5-10-CVE-2012-1610.patch |
|
54 |
|
|
55 |
Requires: %{libname} = %{version} |
Requires: %{libname} = %{version} |
56 |
Obsoletes: ImageMagick < 6.3.2.9-6 |
Obsoletes: ImageMagick < 6.3.2.9-6 |
167 |
|
|
168 |
%setup -q -n ImageMagick-%{rversion}-%minor_rev |
%setup -q -n ImageMagick-%{rversion}-%minor_rev |
169 |
|
|
|
%patch0 -p1 -b .docdir |
|
170 |
#patch1 -p1 |
#patch1 -p1 |
171 |
%patch2 -p0 -b .so |
%patch2 -p0 -b .so |
172 |
%patch7 -p0 -b .urw |
%patch7 -p0 -b .urw |
173 |
%patch17 -p0 -b .fpx |
%patch17 -p0 -b .fpx |
174 |
%patch19 -p1 -b .libpath |
%patch19 -p1 -b .libpath |
175 |
%patch20 -p1 -b .ppc |
%patch20 -p1 -b .ppc |
|
%patch21 -p1 -b .exif-tag-crash |
|
|
%patch22 -p1 -b .exif-tag-crash-fix |
|
176 |
|
|
177 |
bzcat %{SOURCE1} > ImageMagick.pdf |
bzcat %{SOURCE1} > ImageMagick.pdf |
178 |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |