|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
%global VER 6.8.5
|
|
|
|
|
%global Patchlevel 10
|
|
|
|
|
%global VER 6.8.6
|
|
|
|
|
%global Patchlevel 3
|
|
|
|
|
|
|
|
|
|
Name: ImageMagick
|
|
|
|
|
Version: %{VER}.%{Patchlevel}
|
|
|
|
@ -136,13 +136,14 @@ sed -i 's/libltdl.la/libltdl.so/g' configure
|
|
|
|
|
iconv -f ISO-8859-1 -t UTF-8 README.txt > README.txt.tmp
|
|
|
|
|
touch -r README.txt README.txt.tmp
|
|
|
|
|
mv README.txt.tmp README.txt
|
|
|
|
|
# for %doc
|
|
|
|
|
# for %%doc
|
|
|
|
|
mkdir Magick++/examples
|
|
|
|
|
cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-shared \
|
|
|
|
|
%configure \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--with-modules \
|
|
|
|
|
--with-perl \
|
|
|
|
@ -160,6 +161,7 @@ cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples
|
|
|
|
|
--without-dps \
|
|
|
|
|
--without-included-ltdl --with-ltdl-include=%{_includedir} \
|
|
|
|
|
--with-ltdl-lib=%{_libdir}
|
|
|
|
|
|
|
|
|
|
# Disable rpath
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
@ -200,7 +202,7 @@ if [ -z perl-pkg-files ] ; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# fix multilib issues
|
|
|
|
|
%ifarch x86_64 s390x ia64 ppc64 alpha sparc64
|
|
|
|
|
%ifarch x86_64 s390x ia64 ppc64 alpha sparc64 aarch64
|
|
|
|
|
%define wordsize 64
|
|
|
|
|
%else
|
|
|
|
|
%define wordsize 32
|
|
|
|
@ -229,8 +231,6 @@ EOF
|
|
|
|
|
# Fonts must be packaged separately. It does nothave matter and demos work without it.
|
|
|
|
|
rm PerlMagick/demo/Generic.ttf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
@ -319,6 +319,10 @@ rm -rf %{buildroot}
|
|
|
|
|
%doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 1 2013 Pavel Alexeev <Pahan@Hubbitus.info> - 6.8.6.3-1
|
|
|
|
|
- Update to 6.8.6-3.
|
|
|
|
|
- Added aarch64 to list of 64bit arches (bz#978339).
|
|
|
|
|
|
|
|
|
|
* Wed Jun 12 2013 Pavel Alexeev <Pahan@Hubbitus.info> - 6.5.5.10-1
|
|
|
|
|
- Update to 6.8.5-10 upstream version (bz#720285).
|
|
|
|
|
- By Remi Collet request (bz#969760) enable those features in ImageMagick:
|
|
|
|
|