%bcond_without cxx # without Magick++
#
%include /usr/lib/rpm/macros.perl
-%define ver 6.2.5
-%define pver 4
+%define ver 6.2.6
+%define pver 0
%define QuantumDepth 16
Summary: Image display, conversion, and manipulation under X
Summary(de): Darstellen, Konvertieren und Bearbeiten von Grafiken unter X
Summary(uk): ðÅÒÅÇÌÑÄ, ËÏÎ×ÅÒÔÕ×ÁÎÎÑ ÔÁ ÏÂÒÏÂËÁ ÚÏÂÒÁÖÅÎØ Ð¦Ä X Window
Name: ImageMagick
Version: %{ver}%{?pver:.%{pver}}
-Release: 2
+Release: 1
Epoch: 1
License: Apache-like
Group: X11/Applications/Graphics
Source0: http://www.imagemagick.org/download/%{name}-%{ver}-%{pver}.tar.bz2
-# Source0-md5: 0c89ca5bc773ea41f77afb6f4099f7bd
+# Source0-md5: 4ff40a92bba825d8cb9447ca454698a0
#Source0: http://dl.sourceforge.net/imagemagick/%{name}-%{ver}.tar.bz2
Patch0: %{name}-libpath.patch
Patch1: %{name}-ac.patch
Patch2: %{name}-system-libltdl.patch
-Patch3: %{name}-free.patch
URL: http://www.imagemagick.org/
BuildRequires: XFree86-DPS-devel
BuildRequires: XFree86-devel
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
%{__perl} -pi -e 's,lib/graphviz,%{_lib}/graphviz,' configure.ac
find -type f -exec perl -pi -e 's=!/usr/local/bin/perl=!/usr/bin/perl=' {} \;