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.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 1 |
Release: %mkrel 2 |
37 |
License: BSD-like |
License: BSD-like |
38 |
Group: Graphics |
Group: Graphics |
39 |
URL: http://www.imagemagick.org/ |
URL: http://www.imagemagick.org/ |
52 |
Patch17: imagemagick-fpx.diff |
Patch17: imagemagick-fpx.diff |
53 |
Patch19: ImageMagick-libpath.diff |
Patch19: ImageMagick-libpath.diff |
54 |
Patch20: ImageMagick-6.4.8-9-fix-montageimages-test.patch |
Patch20: ImageMagick-6.4.8-9-fix-montageimages-test.patch |
55 |
|
Patch21: ImageMagick-6.7.5-10-CVE-2012-0259-CVE-2012-0260-CVE-2012-1798.patch |
56 |
|
Patch22: ImageMagick-6.7.5-10-CVE-2012-1610.patch |
57 |
|
|
58 |
Requires: %{libname} = %{version} |
Requires: %{libname} = %{version} |
59 |
Obsoletes: ImageMagick < 6.3.2.9-6 |
Obsoletes: ImageMagick < 6.3.2.9-6 |
94 |
|
|
95 |
ImageMagick can make use of the following delegate programs, available as |
ImageMagick can make use of the following delegate programs, available as |
96 |
packages in %{_vendor}: curl enscript ffmpeg ghostscript ghostscript-X gimp |
packages in %{_vendor}: curl enscript ffmpeg ghostscript ghostscript-X gimp |
97 |
gnuplot graphviz html2ps mplayer ncompress netpbm sane-backends tetex-dvips |
gnuplot graphviz html2ps mplayer ncompress netpbm sane-backends texlive-texmf |
98 |
transfig ufraw xdg-utils zip autotrace povray |
transfig ufraw xdg-utils zip autotrace povray |
99 |
|
|
100 |
%package desktop |
%package desktop |
128 |
Obsoletes: ImageMagick-devel |
Obsoletes: ImageMagick-devel |
129 |
Provides: libMagick5-devel = %{version}-%{release} |
Provides: libMagick5-devel = %{version}-%{release} |
130 |
Obsoletes: libMagick5-devel |
Obsoletes: libMagick5-devel |
131 |
|
Conflicts: %{name} < 6.7.5.0-2 |
132 |
# 2006 |
# 2006 |
133 |
Obsoletes: %{mklibname Magick 8.3.2 -d} |
Obsoletes: %{mklibname Magick 8.3.2 -d} |
134 |
# 2007.0 |
# 2007.0 |
152 |
Requires: %{name} = %{version} |
Requires: %{name} = %{version} |
153 |
Provides: perl-Magick = %{version}-%{release} |
Provides: perl-Magick = %{version}-%{release} |
154 |
Obsoletes: perl-Magick |
Obsoletes: perl-Magick |
|
Requires: graphviz |
|
|
Requires: libwmf |
|
155 |
|
|
156 |
%description -n perl-Image-Magick |
%description -n perl-Image-Magick |
157 |
This is the ImageMagick perl support package. It includes perl modules and |
This is the ImageMagick perl support package. It includes perl modules and |
177 |
%patch17 -p0 -b .fpx |
%patch17 -p0 -b .fpx |
178 |
%patch19 -p1 -b .libpath |
%patch19 -p1 -b .libpath |
179 |
%patch20 -p1 -b .ppc |
%patch20 -p1 -b .ppc |
180 |
|
%patch21 -p1 -b .exif-tag-crash |
181 |
|
%patch22 -p1 -b .exif-tag-crash-fix |
182 |
|
|
183 |
bzcat %{SOURCE1} > ImageMagick.pdf |
bzcat %{SOURCE1} > ImageMagick.pdf |
184 |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |
install -m 644 %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} . |
241 |
%endif |
%endif |
242 |
|
|
243 |
%install |
%install |
|
rm -rf %{buildroot} |
|
|
|
|
244 |
# (Abel) set LD_RUN_PATH to null, to avoid adding rpath to perlmagick module |
# (Abel) set LD_RUN_PATH to null, to avoid adding rpath to perlmagick module |
245 |
%makeinstall_std LD_RUN_PATH="" pkgdocdir=/installed_docs |
%makeinstall_std LD_RUN_PATH="" pkgdocdir=/installed_docs |
246 |
|
|
283 |
Categories=Graphics;Viewer; |
Categories=Graphics;Viewer; |
284 |
EOF |
EOF |
285 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
286 |
%files |
%files |
|
%defattr(-,root,root) |
|
287 |
%doc README.txt |
%doc README.txt |
288 |
%{_sysconfdir}/ImageMagick |
%{_sysconfdir}/ImageMagick |
289 |
%{_bindir}/animate |
%{_bindir}/animate |
300 |
%{_libdir}/ImageMagick-%{rversion} |
%{_libdir}/ImageMagick-%{rversion} |
301 |
%{_datadir}/ImageMagick-%{rversion} |
%{_datadir}/ImageMagick-%{rversion} |
302 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
303 |
%{_mandir}/man3/* |
%exclude %{_mandir}/man1/*-config.* |
|
%exclude %{_mandir}/man3/*::*.3pm* |
|
304 |
|
|
305 |
%files desktop |
%files desktop |
|
%defattr(-,root,root) |
|
306 |
%{_datadir}/applications/* |
%{_datadir}/applications/* |
307 |
%{_iconsdir}/%{name}.png |
%{_iconsdir}/%{name}.png |
308 |
%{_liconsdir}/%{name}.png |
%{_liconsdir}/%{name}.png |
310 |
%{_iconsdir}/hicolor/64x64/apps/%{name}.png |
%{_iconsdir}/hicolor/64x64/apps/%{name}.png |
311 |
|
|
312 |
%files -n %{libname} |
%files -n %{libname} |
|
%defattr(-,root,root,0755) |
|
313 |
%{_libdir}/libMagick++.so.%{major}* |
%{_libdir}/libMagick++.so.%{major}* |
314 |
%{_libdir}/libMagickCore.so.%{major}* |
%{_libdir}/libMagickCore.so.%{major}* |
315 |
%{_libdir}/libMagickWand.so.%{major}* |
%{_libdir}/libMagickWand.so.%{major}* |
316 |
|
|
317 |
%files -n %{develname} |
%files -n %{develname} |
|
%defattr(-,root,root) |
|
318 |
%{_includedir}/ImageMagick |
%{_includedir}/ImageMagick |
319 |
%multiarch %{multiarch_bindir}/Magick-config |
%multiarch %{multiarch_bindir}/Magick-config |
320 |
%multiarch %{multiarch_bindir}/Magick++-config |
%multiarch %{multiarch_bindir}/Magick++-config |
331 |
%{_bindir}/Wand-config |
%{_bindir}/Wand-config |
332 |
%{_libdir}/*.so |
%{_libdir}/*.so |
333 |
%{_libdir}/pkgconfig/*.pc |
%{_libdir}/pkgconfig/*.pc |
334 |
|
%{_mandir}/man1/*-config.* |
335 |
|
|
336 |
%files -n perl-Image-Magick |
%files -n perl-Image-Magick |
|
%defattr(-,root,root) |
|
337 |
%{perl_vendorarch}/Image |
%{perl_vendorarch}/Image |
338 |
%{perl_vendorarch}/auto/Image |
%{perl_vendorarch}/auto/Image |
339 |
%{_mandir}/man3*/*::*.3pm* |
%{_mandir}/man3*/*::*.3pm* |
340 |
|
|
341 |
%files doc |
%files doc |
|
%defattr(-,root,root) |
|
342 |
%doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE |
%doc ImageMagick.pdf ChangeLog LICENSE NEWS* NOTICE |
343 |
%doc QuickStart.txt installed_docs/* |
%doc QuickStart.txt installed_docs/* |