%global VERSION 6.6.8
-%global Patchlevel 0
+%global Patchlevel 7
Name: ImageMagick
Version: %{VERSION}
Group: Applications/Multimedia
License: http://www.imagemagick.org/script/license.php
Url: http://www.imagemagick.org/
-Source0: ftp://ftp.imagemagick.org/pub/%{name}/%{name}-%{VERSION}-%{Patchlevel}.tar.xz
+Source0: ftp://ftp.imagemagick.org/pub/%{name}/%{name}-%{VERSION}-%{Patchlevel}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel
http://www.imagemagick.org/.
-%package -n perl-%{name}
+%package perl
Summary: ImageMagick perl bindings
Group: System Environment/Libraries
Requires: perl-base
--with-lcms \
--with-rsvg \
--with-xml \
- --with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \
+ --with-perl-options='INSTALLDIRS=vendor' \
--without-dps \
--without-included-ltdl --with-ltdl-include=%{_includedir} \
--with-ltdl-lib=%{_libdir}
%{_libdir}/libMagickCore.so.4*
%{_libdir}/libMagickWand.so.4*
%{_bindir}/[a-z]*
+%{_sysconfdir}/%{name}-%{VERSION}
+%{_localstatedir}/%{name}-%{VERSION}
%{_libdir}/%{name}-%{VERSION}
%{_datadir}/%{name}-%{VERSION}
-%{_mandir}/man[145]/[a-z]*
+%{_mandir}/man[145]/[a-zA-Z]*
%{_mandir}/man1/%{name}.*
-%exclude %{_libdir}/%{name}-%{VER}/modules-Q16/coders/djvu.*
+%exclude %{_libdir}/%{name}-%{VERSION}/modules-Q16/coders/djvu.*
%files devel
%files djvu
%defattr(-,root,root,-)
-%{_libdir}/%{name}-%{VER}/modules-Q16/coders/djvu.*
+%{_libdir}/%{name}-%{version}/modules-Q16/coders/djvu.*
%files doc
%defattr(-,root,root,-)