|
@@ -1,8 +1,8 @@
|
|
# ImageMagick has adopted a new Version.Patchlevel version numbering system...
|
|
# ImageMagick has adopted a new Version.Patchlevel version numbering system...
|
|
# 6.2.9.7 is actually version 6.2.9, Patchlevel 0.
|
|
# 6.2.9.7 is actually version 6.2.9, Patchlevel 0.
|
|
|
|
|
|
-%define VER 6.6.8
|
|
+%define VER 6.7.5
|
|
-%define Patchlevel 5
|
|
+%define Patchlevel 10
|
|
|
|
|
|
Name: ImageMagick
|
|
Name: ImageMagick
|
|
Summary: X application for displaying and manipulating images.
|
|
Summary: X application for displaying and manipulating images.
|
|
@@ -13,14 +13,14 @@ Version: %{VER}.%{Patchlevel}
|
|
%else
|
|
%else
|
|
Version: %{VER}
|
|
Version: %{VER}
|
|
%endif
|
|
%endif
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
License: freeware
|
|
License: freeware
|
|
Group: Applications/Graphics
|
|
Group: Applications/Graphics
|
|
%if "%{Patchlevel}" != ""
|
|
%if "%{Patchlevel}" != ""
|
|
-Source: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%{VER}-%{Patchlevel}.tar.bz2
|
|
+Source: ftp://ftp.ImageMagick.org/pub/ImageMagick/ImageMagick-%{VER}-%{Patchlevel}.tar.xz
|
|
%else
|
|
%else
|
|
-Source: ftp://ftp.ImageMagick.org/ImageMagick/ImageMagick-%{version}.tar.bz2
|
|
+Source: ftp://ftp.ImageMagick.org/ImageMagick/ImageMagick-%{version}.tar.xz
|
|
%endif
|
|
%endif
|
|
#Patch1: ImageMagick-6.2.9-CVE-2006-5456_2007-0770.patch
|
|
#Patch1: ImageMagick-6.2.9-CVE-2006-5456_2007-0770.patch
|
|
URL: http://www.imagemagick.org/
|
|
URL: http://www.imagemagick.org/
|
|
@@ -28,11 +28,12 @@ URL: http://www.imagemagick.org/
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: bzip2-devel
|
|
BuildRequires: cairo-devel
|
|
BuildRequires: cairo-devel
|
|
|
|
+BuildRequires: pango-devel
|
|
BuildRequires: freetype2-devel >= 2.1.7
|
|
BuildRequires: freetype2-devel >= 2.1.7
|
|
BuildRequires: fontconfig-devel
|
|
BuildRequires: fontconfig-devel
|
|
BuildRequires: giflib-devel
|
|
BuildRequires: giflib-devel
|
|
BuildRequires: graphviz-devel
|
|
BuildRequires: graphviz-devel
|
|
-BuildRequires: lcms-devel
|
|
+BuildRequires: lcms2-devel
|
|
BuildRequires: libjpeg-turbo-devel
|
|
BuildRequires: libjpeg-turbo-devel
|
|
BuildRequires: libpng-devel >= 1.2.5
|
|
BuildRequires: libpng-devel >= 1.2.5
|
|
BuildRequires: librsvg2-devel
|
|
BuildRequires: librsvg2-devel
|
|
@@ -54,7 +55,7 @@ Requires: bzip2
|
|
Requires: freetype2
|
|
Requires: freetype2
|
|
Requires: giflib
|
|
Requires: giflib
|
|
Requires: graphviz
|
|
Requires: graphviz
|
|
-Requires: lcms
|
|
+Requires: lcms2
|
|
Requires: libjpeg-turbo
|
|
Requires: libjpeg-turbo
|
|
Requires: libpng
|
|
Requires: libpng
|
|
Requires: libtiff
|
|
Requires: libtiff
|
|
@@ -214,7 +215,7 @@ ImageMagick-perl パッケージをインストールして下さい.
|
|
--without-fftw \
|
|
--without-fftw \
|
|
--without-jbig \
|
|
--without-jbig \
|
|
--without-jp2 \
|
|
--without-jp2 \
|
|
- --without-lcms2 \
|
|
+ --with-lcms2 \
|
|
--without-wmf \
|
|
--without-wmf \
|
|
--with-perl \
|
|
--with-perl \
|
|
--with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'"
|
|
--with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'"
|
|
@@ -243,6 +244,7 @@ sed -e s,$RPM_BUILD_ROOT,, perl-pkg-files.orig > perl-pkg-files
|
|
|
|
|
|
# remove duplicated doc files
|
|
# remove duplicated doc files
|
|
rm -f `find $RPM_BUILD_ROOT%{_datadir}/%{name}-%{VER} -maxdepth 1 -type f`
|
|
rm -f `find $RPM_BUILD_ROOT%{_datadir}/%{name}-%{VER} -maxdepth 1 -type f`
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
|
|
# remove files conflict with libtools
|
|
# remove files conflict with libtools
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libltdl.*a
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/libltdl.*a
|
|
@@ -266,7 +268,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc www images
|
|
%doc www images
|
|
-%doc ChangeLog LICENSE NOTICE QuickStart.txt README.txt index.html
|
|
+%doc ChangeLog LICENSE NOTICE QuickStart.txt README.txt NEWS.txt index.html
|
|
%dir %{_libdir}/ImageMagick-%{VER}
|
|
%dir %{_libdir}/ImageMagick-%{VER}
|
|
%{_libdir}/ImageMagick-%{VER}/config
|
|
%{_libdir}/ImageMagick-%{VER}/config
|
|
%dir %{_libdir}/ImageMagick-%{VER}/modules-Q16
|
|
%dir %{_libdir}/ImageMagick-%{VER}/modules-Q16
|
|
@@ -276,10 +278,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/libMagickCore.so.*
|
|
%{_libdir}/libMagickCore.so.*
|
|
%{_libdir}/libMagickWand.so.*
|
|
%{_libdir}/libMagickWand.so.*
|
|
%{_bindir}/[a-z]*
|
|
%{_bindir}/[a-z]*
|
|
-%dir %{_datadir}/ImageMagick-%{VER}
|
|
+%{_sysconfdir}/%{name}/*.xml
|
|
-%dir %{_datadir}/ImageMagick-%{VER}/config
|
|
+%{_sysconfdir}/%{name}/*.icc
|
|
-%{_datadir}/ImageMagick-%{VER}/config/*.xml
|
|
|
|
-%{_datadir}/ImageMagick-%{VER}/config/*.icm
|
|
|
|
%{_mandir}/man1/ImageMagick.*
|
|
%{_mandir}/man1/ImageMagick.*
|
|
%{_mandir}/man1/[a-z]*
|
|
%{_mandir}/man1/[a-z]*
|
|
|
|
|
|
@@ -325,6 +325,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_mandir}/man3/*
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.7.5.10-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add BuildRequires: pango-devel
|
|
|
|
+- change BuildRequires: lcms2-devel instead of lcms-devel
|
|
|
|
+
|
|
* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.6.8.5-3
|
|
* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.6.8.5-3
|
|
- add BuildRequires: libXt-devel, xz-devel, xz-lzma-compat, libtool-ltdl-devel
|
|
- add BuildRequires: libXt-devel, xz-devel, xz-lzma-compat, libtool-ltdl-devel
|
|
|
|
|