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.4 |
%define rversion 6.7.5 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 1 |
%define minor_rev 0 |
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 3 |
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/ |
47 |
Patch0: imagemagick-docdir.diff |
Patch0: imagemagick-docdir.diff |
48 |
#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 |
49 |
Patch1: ImageMagick-6.4.8-9-format-strings.patch |
Patch1: ImageMagick-6.4.8-9-format-strings.patch |
50 |
|
Patch2: ImageMagick-6.7.4-force-so.patch |
51 |
Patch7: imagemagick-urw.diff |
Patch7: imagemagick-urw.diff |
52 |
Patch17: imagemagick-fpx.diff |
Patch17: imagemagick-fpx.diff |
53 |
Patch19: ImageMagick-libpath.diff |
Patch19: ImageMagick-libpath.diff |
171 |
|
|
172 |
%patch0 -p1 -b .docdir |
%patch0 -p1 -b .docdir |
173 |
#patch1 -p1 |
#patch1 -p1 |
174 |
|
%patch2 -p0 -b .so |
175 |
%patch7 -p0 -b .urw |
%patch7 -p0 -b .urw |
176 |
%patch17 -p0 -b .fpx |
%patch17 -p0 -b .fpx |
177 |
%patch19 -p1 -b .libpath |
%patch19 -p1 -b .libpath |
247 |
rm -rf installed_docs; mv %{buildroot}/installed_docs . |
rm -rf installed_docs; mv %{buildroot}/installed_docs . |
248 |
|
|
249 |
# Remove unpackaged files |
# Remove unpackaged files |
250 |
rm -f %{buildroot}%{_libdir}/*.la |
find %{buildroot} -name '*.la' -delete |
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 |