]> granicus.if.org Git - imagemagick/blobdiff - ImageMagick.spec
Fix of Segmentation fault in second image during info:
[imagemagick] / ImageMagick.spec
index e3c969e5639fe27861160a73ac7745c6a33b1f5d..e6f05be35c28c535e70b512d79678ac5c612c8f1 100644 (file)
@@ -1,5 +1,5 @@
 %global VERSION  6.6.8
-%global Patchlevel  0
+%global Patchlevel  7
 
 Name:           ImageMagick
 Version:        %{VERSION}
@@ -8,7 +8,7 @@ Summary:        Use ImageMagick to convert, edit, or compose bitmap images in a
 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
@@ -96,7 +96,7 @@ Note this documentation can also be found on the ImageMagick website:
 http://www.imagemagick.org/.
 
 
-%package -n perl-%{name}
+%package perl
 Summary: ImageMagick perl bindings
 Group: System Environment/Libraries
 Requires: perl-base
@@ -166,7 +166,7 @@ cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples
            --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}
@@ -258,11 +258,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
@@ -287,7 +289,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files djvu
 %defattr(-,root,root,-)
-%{_libdir}/%{name}-%{VER}/modules-Q16/coders/djvu.*
+%{_libdir}/%{name}-%{version}/modules-Q16/coders/djvu.*
 
 %files doc
 %defattr(-,root,root,-)