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.8.0 |
%define rversion 6.8.1 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 9 |
%define minor_rev 1 |
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 1 |
%define subrel 3 |
37 |
|
Release: %mkrel 2 |
38 |
License: BSD-like |
License: BSD-like |
39 |
Group: Graphics/Editors |
Group: Graphics/Editors and Converters |
40 |
URL: http://www.imagemagick.org/ |
URL: http://www.imagemagick.org/ |
41 |
Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{dversion}.tar.xz |
Source0: http://www.imagemagick.org/download/ImageMagick-%{dversion}.tar.xz |
42 |
Source1: ImageMagick.pdf.bz2 |
Source1: ImageMagick.pdf.bz2 |
43 |
# re-scaled from ftp://ftp.imagemagick.org/pub/ImageMagick/images/magick-icon.png |
# re-scaled from ftp://ftp.imagemagick.org/pub/ImageMagick/images/magick-icon.png |
44 |
Source10: magick-icon_16x16.png |
Source10: magick-icon_16x16.png |
53 |
Patch17: imagemagick-fpx.diff |
Patch17: imagemagick-fpx.diff |
54 |
Patch19: ImageMagick-libpath.diff |
Patch19: ImageMagick-libpath.diff |
55 |
Patch20: ImageMagick-6.7.7-9-fix-montageimages-test.patch |
Patch20: ImageMagick-6.7.7-9-fix-montageimages-test.patch |
56 |
|
Patch21: imagemagick-CVE-2014-2030.patch |
57 |
|
Patch22: imagemagick-CVE-2014-1958.patch |
58 |
|
Patch23: imagemagick-CVE-2014-8354.patch |
59 |
|
Patch24: imagemagick-CVE-2014-8355.patch |
60 |
|
Patch25: imagemagick-CVE-2014-8562.patch |
61 |
|
Patch26: imagemagick-CVE-2014-8716.patch |
62 |
|
|
63 |
Requires: %{libname} = %{version} |
Requires: %{libname} = %{version} |
64 |
Obsoletes: ImageMagick < 6.3.2.9-6 |
Obsoletes: ImageMagick < 6.3.2.9-6 |
108 |
|
|
109 |
%package desktop |
%package desktop |
110 |
Summary: ImageMagick menus |
Summary: ImageMagick menus |
111 |
Group: Graphics/Editors |
Group: Graphics/Editors and Converters |
112 |
Requires: xterm |
Requires: xterm |
113 |
Obsoletes: ImageMagick-desktop < 6.3.2.9-6 |
Obsoletes: ImageMagick-desktop < 6.3.2.9-6 |
114 |
|
|
186 |
%patch17 -p0 -b .fpx |
%patch17 -p0 -b .fpx |
187 |
%patch19 -p1 -b .libpath |
%patch19 -p1 -b .libpath |
188 |
%patch20 -p1 -b .ppc |
%patch20 -p1 -b .ppc |
189 |
|
%patch21 -p4 -b .CVE-2014-2030 |
190 |
|
%patch22 -p4 -b .CVE-2014-1958 |
191 |
|
%patch23 -p1 -b .CVE-2014-8354 |
192 |
|
%patch24 -p1 -b .CVE-2014-8355 |
193 |
|
%patch25 -p1 -b .CVE-2014-8562 |
194 |
|
%patch26 -p1 -b .CVE-2014-8716 |
195 |
|
|
196 |
bzcat %{SOURCE1} > ImageMagick.pdf |
bzcat %{SOURCE1} > ImageMagick.pdf |
197 |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |
257 |
# Remove unpackaged files |
# Remove unpackaged files |
258 |
find %{buildroot} -name '*.la' -delete |
find %{buildroot} -name '*.la' -delete |
259 |
|
|
260 |
|
# create compatible symlinks |
261 |
|
ln -s libMagick++-%{qlev}.so %{buildroot}%{_libdir}/libMagick++.so |
262 |
|
ln -s libMagickCore-%{qlev}.so %{buildroot}%{_libdir}/libMagickCore.so |
263 |
|
ln -s libMagickWand-%{qlev}.so %{buildroot}%{_libdir}/libMagickWand.so |
264 |
|
|
265 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
266 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
267 |
%multiarch_binaries %{buildroot}%{_bindir}/MagickCore-config |
%multiarch_binaries %{buildroot}%{_bindir}/MagickCore-config |
322 |
%{_iconsdir}/hicolor/64x64/apps/%{name}.png |
%{_iconsdir}/hicolor/64x64/apps/%{name}.png |
323 |
|
|
324 |
%files -n %{libname} |
%files -n %{libname} |
325 |
%{_libdir}/libMagick++.so.%{major}* |
%{_libdir}/libMagick++-%{qlev}.so.%{major}* |
326 |
%{_libdir}/libMagickCore.so.%{major}* |
%{_libdir}/libMagickCore-%{qlev}.so.%{major}* |
327 |
%{_libdir}/libMagickWand.so.%{major}* |
%{_libdir}/libMagickWand-%{qlev}.so.%{major}* |
328 |
|
|
329 |
%files -n %{develname} |
%files -n %{develname} |
330 |
%{_includedir}/ImageMagick |
%{_includedir}/ImageMagick |