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 |
Release: %mkrel 2 |
37 |
License: BSD-like |
License: BSD-like |
38 |
Group: Graphics/Editors |
Group: Graphics/Editors and Converters |
39 |
URL: http://www.imagemagick.org/ |
URL: http://www.imagemagick.org/ |
40 |
Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{dversion}.tar.xz |
Source0: http://www.imagemagick.org/download/ImageMagick-%{dversion}.tar.xz |
41 |
Source1: ImageMagick.pdf.bz2 |
Source1: ImageMagick.pdf.bz2 |
42 |
# 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 |
43 |
Source10: magick-icon_16x16.png |
Source10: magick-icon_16x16.png |
101 |
|
|
102 |
%package desktop |
%package desktop |
103 |
Summary: ImageMagick menus |
Summary: ImageMagick menus |
104 |
Group: Graphics/Editors |
Group: Graphics/Editors and Converters |
105 |
Requires: xterm |
Requires: xterm |
106 |
Obsoletes: ImageMagick-desktop < 6.3.2.9-6 |
Obsoletes: ImageMagick-desktop < 6.3.2.9-6 |
107 |
|
|
244 |
# Remove unpackaged files |
# Remove unpackaged files |
245 |
find %{buildroot} -name '*.la' -delete |
find %{buildroot} -name '*.la' -delete |
246 |
|
|
247 |
|
# create compatible symlinks |
248 |
|
ln -s libMagick++-%{qlev}.so %{buildroot}%{_libdir}/libMagick++.so |
249 |
|
ln -s libMagickCore-%{qlev}.so %{buildroot}%{_libdir}/libMagickCore.so |
250 |
|
ln -s libMagickWand-%{qlev}.so %{buildroot}%{_libdir}/libMagickWand.so |
251 |
|
|
252 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick-config |
253 |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
%multiarch_binaries %{buildroot}%{_bindir}/Magick++-config |
254 |
%multiarch_binaries %{buildroot}%{_bindir}/MagickCore-config |
%multiarch_binaries %{buildroot}%{_bindir}/MagickCore-config |