###############################################################################
name = ImageMagick
-version = 6.9.3
+version = 7.1.0
+patchlevel = 56
release = 1
-patchlevel = 7
groups = Application/Multimedia
-url = http://www.imagemagick.org/
+url = https://www.imagemagick.org/
license = ImageMagick
summary = Command line programm to create and convert several image formats.
thisapp = %{name}-%{version}-%{patchlevel}
-source_dl = ftp://ftp.ImageMagick.org/pub/%{name}/
+source_dl = https://imagemagick.org/archive/releases/
sources = %{thisapp}.tar.xz
build
requires
+ bzip2-devel
+ fontconfig-devel
+ freetype-devel
+ ghostscript-devel
+ graphviz-devel
+ lcms2-devel
libjpeg-devel
libpng-devel
- librsvg2-devel
libtiff-devel
libxml2-devel
+ pango-devel
+ xz-devel
+ zlib-devel
+ zstd-devel
end
configure_options += \
- --sysconfdir=/etc \
--enable-shared \
--disable-static \
- --with-threads
+ --with-threads \
+ --with-bzlib=yes \
+ --with-fontconfig=yes \
+ --with-freetype=yes \
+ --with-gslib=yes \
+ --with-gvc=yes \
+ --with-jpeg=yes \
+ --with-lcms=yes \
+ --with-lzma=yes \
+ --with-pango=yes \
+ --with-png=yes \
+ --with-tiff=yes \
+ --with-xml=yes \
+ --with-zlib=yes \
+ --with-zstd=yes
end
packages
package %{name}
+ package %{name}-libs
+ template LIBS
+ end
+
package %{name}-devel
template DEVEL
+
+ requires
+ ImageMagick-libs = %{thisver}
+ end
end
package %{name}-debuginfo