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.3 |
%define rversion 6.7.4 |
13 |
|
|
14 |
# their "minor" version |
# their "minor" version |
15 |
%define minor_rev 6 |
%define minor_rev 10 |
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 |
37 |
License: BSD-like |
License: BSD-like |
38 |
Group: Graphics |
Group: Graphics |
39 |
URL: http://www.imagemagick.org/ |
URL: http://www.imagemagick.org/ |
40 |
Source0: ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ImageMagick-%{dversion}.tar.xz |
Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/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 |
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 |
205 |
--with-xml \ |
--with-xml \ |
206 |
--without-dps \ |
--without-dps \ |
207 |
--without-windows-font-dir \ |
--without-windows-font-dir \ |
208 |
--without-modules \ |
--with-modules \ |
209 |
--with-perl \ |
--with-perl \ |
210 |
|
--without-included-ltdl --with-ltdl-include=%{_includedir} \ |
211 |
|
--with-ltdl-lib=%{_libdir} \ |
212 |
--with-perl-options="INSTALLDIRS=vendor CC='%{__cc} -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \ |
--with-perl-options="INSTALLDIRS=vendor CC='%{__cc} -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \ |
213 |
--with-jp2 \ |
--with-jp2 \ |
214 |
--with-gvc \ |
--with-gvc \ |
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 |
find %{buildroot} -name '*.la' | xargs rm |
find %{buildroot} -name '*.la' -delete |
|
rm -f %{buildroot}%{_libdir}/libltdl* |
|
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 |
300 |
%{_bindir}/mogrify |
%{_bindir}/mogrify |
301 |
%{_bindir}/montage |
%{_bindir}/montage |
302 |
%{_bindir}/stream |
%{_bindir}/stream |
303 |
%dir %{_libdir}/ImageMagick-%{rversion} |
%{_libdir}/ImageMagick-%{rversion} |
|
%dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev} |
|
|
%dir %{_libdir}/ImageMagick-%{rversion}/modules-%{qlev}/coders |
|
|
%dir %{_libdir}/ImageMagick-%{rversion}/config |
|
|
%{_libdir}/ImageMagick-%{rversion}/config/*.xml |
|
304 |
%{_datadir}/ImageMagick-%{rversion} |
%{_datadir}/ImageMagick-%{rversion} |
305 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
306 |
%{_mandir}/man3/* |
%{_mandir}/man3/* |