Update to 6.8.6-3.

- Added aarch64 to list of 64bit arches (bz#978339).
This commit is contained in:
Pavel Alexeev (aka Pahan-Hubbitus) 2013-07-03 10:59:20 +04:00
parent 1a5747de0a
commit 7f30b9d5f9

View File

@ -1,5 +1,5 @@
%global VER 6.8.5 %global VER 6.8.6
%global Patchlevel 10 %global Patchlevel 3
Name: ImageMagick Name: ImageMagick
Version: %{VER}.%{Patchlevel} Version: %{VER}.%{Patchlevel}
@ -136,30 +136,32 @@ sed -i 's/libltdl.la/libltdl.so/g' configure
iconv -f ISO-8859-1 -t UTF-8 README.txt > README.txt.tmp iconv -f ISO-8859-1 -t UTF-8 README.txt > README.txt.tmp
touch -r README.txt README.txt.tmp touch -r README.txt README.txt.tmp
mv README.txt.tmp README.txt mv README.txt.tmp README.txt
# for %doc # for %%doc
mkdir Magick++/examples mkdir Magick++/examples
cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples
%build %build
%configure --enable-shared \ %configure \
--disable-static \ --enable-shared \
--with-modules \ --disable-static \
--with-perl \ --with-modules \
--with-x \ --with-perl \
--with-threads \ --with-x \
--with-magick_plus_plus \ --with-threads \
--with-gslib \ --with-magick_plus_plus \
--with-wmf \ --with-gslib \
--with-lcms2 \ --with-wmf \
--with-webp \ --with-lcms2 \
--with-openexr \ --with-webp \
--with-rsvg \ --with-openexr \
--with-xml \ --with-rsvg \
--with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \ --with-xml \
--without-dps \ --with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \
--without-included-ltdl --with-ltdl-include=%{_includedir} \ --without-dps \
--with-ltdl-lib=%{_libdir} --without-included-ltdl --with-ltdl-include=%{_includedir} \
--with-ltdl-lib=%{_libdir}
# Disable rpath # Disable rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@ -189,25 +191,25 @@ find %{buildroot} -name "perllocal.pod" |xargs rm -f
# perlmagick: build files list # perlmagick: build files list
echo "%defattr(-,root,root,-)" > perl-pkg-files echo "%defattr(-,root,root,-)" > perl-pkg-files
find %{buildroot}/%{_libdir}/perl* -type f -print \ find %{buildroot}/%{_libdir}/perl* -type f -print \
| sed "s@^%{buildroot}@@g" > perl-pkg-files | sed "s@^%{buildroot}@@g" > perl-pkg-files
find %{buildroot}%{perl_vendorarch} -type d -print \ find %{buildroot}%{perl_vendorarch} -type d -print \
| sed "s@^%{buildroot}@%dir @g" \ | sed "s@^%{buildroot}@%dir @g" \
| grep -v '^%dir %{perl_vendorarch}$' \ | grep -v '^%dir %{perl_vendorarch}$' \
| grep -v '/auto$' >> perl-pkg-files | grep -v '/auto$' >> perl-pkg-files
if [ -z perl-pkg-files ] ; then if [ -z perl-pkg-files ] ; then
echo "ERROR: EMPTY FILE LIST" echo "ERROR: EMPTY FILE LIST"
exit -1 exit -1
fi fi
# fix multilib issues # fix multilib issues
%ifarch x86_64 s390x ia64 ppc64 alpha sparc64 %ifarch x86_64 s390x ia64 ppc64 alpha sparc64 aarch64
%define wordsize 64 %define wordsize 64
%else %else
%define wordsize 32 %define wordsize 32
%endif %endif
mv %{buildroot}%{_includedir}/%{name}-6/magick/magick-config.h \ mv %{buildroot}%{_includedir}/%{name}-6/magick/magick-config.h \
%{buildroot}%{_includedir}/%{name}-6/magick/magick-config-%{wordsize}.h %{buildroot}%{_includedir}/%{name}-6/magick/magick-config-%{wordsize}.h
cat >%{buildroot}%{_includedir}/%{name}-6/magick/magick-config.h <<EOF cat >%{buildroot}%{_includedir}/%{name}-6/magick/magick-config.h <<EOF
#ifndef IMAGEMAGICK_MULTILIB #ifndef IMAGEMAGICK_MULTILIB
@ -229,8 +231,6 @@ EOF
# Fonts must be packaged separately. It does nothave matter and demos work without it. # Fonts must be packaged separately. It does nothave matter and demos work without it.
rm PerlMagick/demo/Generic.ttf rm PerlMagick/demo/Generic.ttf
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -319,6 +319,10 @@ rm -rf %{buildroot}
%doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt %doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt
%changelog %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 * Wed Jun 12 2013 Pavel Alexeev <Pahan@Hubbitus.info> - 6.5.5.10-1
- Update to 6.8.5-10 upstream version (bz#720285). - Update to 6.8.5-10 upstream version (bz#720285).
- By Remi Collet request (bz#969760) enable those features in ImageMagick: - By Remi Collet request (bz#969760) enable those features in ImageMagick:
@ -565,7 +569,7 @@ rm -rf %{buildroot}
* Thu May 25 2006 Matthias Clasen <mclasen@redhat.com> - 6.2.5.4-6 * Thu May 25 2006 Matthias Clasen <mclasen@redhat.com> - 6.2.5.4-6
- Fix a heap overflow CVE-2006-2440 (#192279) - Fix a heap overflow CVE-2006-2440 (#192279)
- Include required .la files - Include required .la files
* Mon Mar 20 2006 Matthias Clasen <mclasen@redhat.com> - 6.2.5.4-5 * Mon Mar 20 2006 Matthias Clasen <mclasen@redhat.com> - 6.2.5.4-5
- Don't ship .la and .a files (#185237) - Don't ship .la and .a files (#185237)
@ -613,7 +617,7 @@ rm -rf %{buildroot}
* Tue Apr 26 2005 Matthias Clasen <mclasen@redhat.com> - 6.2.2.0-1 * Tue Apr 26 2005 Matthias Clasen <mclasen@redhat.com> - 6.2.2.0-1
- Update to 6.2.2 to fix a heap corruption issue - Update to 6.2.2 to fix a heap corruption issue
in the pnm coder. in the pnm coder.
* Mon Apr 25 2005 Matthias Clasen <mclasen@redhat.com> - 6.2.1.7-4 * Mon Apr 25 2005 Matthias Clasen <mclasen@redhat.com> - 6.2.1.7-4
- .la files for modules are needed, actually - .la files for modules are needed, actually
@ -623,7 +627,7 @@ rm -rf %{buildroot}
* Mon Apr 25 2005 <mclasen@redhat.com> - 6.2.1.7-1 * Mon Apr 25 2005 <mclasen@redhat.com> - 6.2.1.7-1
- Update to 6.2.1 - Update to 6.2.1
- Include multiple improvements and bugfixes - Include multiple improvements and bugfixes
by Rex Dieter et al (111961, 145466, 151196, 149970, by Rex Dieter et al (111961, 145466, 151196, 149970,
146518, 113951, 145449, 144977, 144570, 139298) 146518, 113951, 145449, 144977, 144570, 139298)
* Sun Apr 24 2005 <mclasen@redhat.com> - 6.2.0.7-3 * Sun Apr 24 2005 <mclasen@redhat.com> - 6.2.0.7-3
@ -643,16 +647,16 @@ rm -rf %{buildroot}
- The devel subpackage requires XFree86-devel (bug #126509). - The devel subpackage requires XFree86-devel (bug #126509).
- Fixed build requirements (bug #120776). From Robert Scheck. - Fixed build requirements (bug #120776). From Robert Scheck.
* Tue Sep 14 2004 Karsten Hopp <karsten@redhat.de> 6.0.7.1-3 * Tue Sep 14 2004 Karsten Hopp <karsten@redhat.de> 6.0.7.1-3
- move *.mgk files (#132007, #131708, #132397) - move *.mgk files (#132007, #131708, #132397)
* Sun Sep 12 2004 Karsten Hopp <karsten@redhat.de> 6.0.7.1-1 * Sun Sep 12 2004 Karsten Hopp <karsten@redhat.de> 6.0.7.1-1
- update to 6.0.7 Patchlevel 1, fixes #132106 - update to 6.0.7 Patchlevel 1, fixes #132106
* Sat Sep 4 2004 Bill Nottingham <notting@redhat.com> 6.0.6.2-2 * Sat Sep 4 2004 Bill Nottingham <notting@redhat.com> 6.0.6.2-2
- move libWand out of -devel, fix requirements (#131767) - move libWand out of -devel, fix requirements (#131767)
* Wed Sep 01 2004 Karsten Hopp <karsten@redhat.de> 6.0.6.2-1 * Wed Sep 01 2004 Karsten Hopp <karsten@redhat.de> 6.0.6.2-1
- update to latest stable version - update to latest stable version
- get rid of obsolete patches - get rid of obsolete patches
- fix remaining patches - fix remaining patches
@ -664,7 +668,7 @@ rm -rf %{buildroot}
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt - rebuilt
* Tue Mar 23 2004 Karsten Hopp <karsten@redhat.de> 5.5.7.15-1.3 * Tue Mar 23 2004 Karsten Hopp <karsten@redhat.de> 5.5.7.15-1.3
- freetype patch to fix convert (#115716) - freetype patch to fix convert (#115716)
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
@ -929,7 +933,7 @@ rm -rf %{buildroot}
* Mon Apr 5 1999 Bill Nottingham <notting@redhat.com> * Mon Apr 5 1999 Bill Nottingham <notting@redhat.com>
- update to 4.2.2 - update to 4.2.2
- change ChangeLog to refer to actual dates. - change ChangeLog to refer to actual dates.
- strip binaries - strip binaries
* Thu Apr 1 1999 Bill Nottingham <notting@redhat.com> * Thu Apr 1 1999 Bill Nottingham <notting@redhat.com>