File mingw64-imagemagick.spec of Package mingw64-imagemagick
#
# spec file for package mingw64-imagemagick
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-imagemagick
Version: 6.8.2.2
Release: 0
Summary: Viewer and Converter for Images
License: APL-1.0
Group: Productivity/Graphics/Other
Url: http://www.imagemagick.org
Source: http://www.imagemagick.org/download/ImageMagick-6.8.2-2.tar.xz
Patch0: ImageMagick-6.8.2.2-mingw.patch
Patch1: ImageMagick-6.7.6.1-no-dist-lzip.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gnome-common
BuildRequires: libtool
BuildRequires: m4
BuildRequires: mingw64-cairo-devel
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-fftw3-devel
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-fontconfig-devel
BuildRequires: mingw64-freetype-devel
BuildRequires: mingw64-libbz2-devel
BuildRequires: mingw64-libdjvulibre-devel
BuildRequires: mingw64-libjasper-devel
BuildRequires: mingw64-libjpeg-devel
BuildRequires: mingw64-liblcms2-devel
BuildRequires: mingw64-lzma-devel
BuildRequires: mingw64-libpng-devel
BuildRequires: mingw64-librsvg-devel
BuildRequires: mingw64-libtiff-devel
BuildRequires: mingw64-libxml2-devel
BuildRequires: mingw64-pango-devel
BuildRequires: mingw64-zlib-devel
BuildRequires: xz
%_mingw64_package_header_debug
BuildArch: noarch
%description
ImageMagick is a robust collection of tools and libraries to read,
write, and manipulate an image in many image formats, including popular
formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick,
you can create images dynamically, making it suitable for Web
applications. You can also resize, rotate, sharpen, color-reduce, or
add special effects to an image and save your completed work in many
different image formats. Image processing operations are available from
the command line as well as through C and C++ programming interfaces.
%package devel
Summary: Include Files and Libraries Mandatory for Development
Group: Development/Libraries/C and C++
%description devel
ImageMagick is a robust collection of tools and libraries to read,
write, and manipulate an image in many image formats, including popular
formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick,
you can create images dynamically, making it suitable for Web
applications. You can also resize, rotate, sharpen, color-reduce, or
add special effects to an image and save your completed work in many
different image formats. Image processing operations are available from
the command line as well as through C and C++ programming interfaces.
%package -n mingw64-libmagickcore
Summary: Viewer and Converter for Images - runtime library
Group: System/Libraries
%description -n mingw64-libmagickcore
ImageMagick is a robust collection of tools and libraries to read,
write, and manipulate an image in many image formats, including popular
formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick,
you can create images dynamically, making it suitable for Web
applications. You can also resize, rotate, sharpen, color-reduce, or
add special effects to an image and save your completed work in many
different image formats. Image processing operations are available from
the command line as well as through C and C++ programming interfaces.
%package -n mingw64-libMagickWand-Q16-7
Summary: Viewer and Converter for Images - runtime library
Group: System/Libraries
Obsoletes: mingw64-libmagickwand
Provides: mingw64-libmagickwand
%description -n mingw64-libMagickWand-Q16-7
ImageMagick is a robust collection of tools and libraries to read,
write, and manipulate an image in many image formats, including popular
formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. With ImageMagick,
you can create images dynamically, making it suitable for Web
applications. You can also resize, rotate, sharpen, color-reduce, or
add special effects to an image and save your completed work in many
different image formats. Image processing operations are available from
the command line as well as through C and C++ programming interfaces.
%package -n mingw64-libMagick++-Q16-7
Summary: C++ Interface for ImageMagick - runtime library
Group: System/Libraries
Obsoletes: mingw64-libmagick++
Provides: mingw64-libmagick++
%description -n mingw64-libMagick++-Q16-7
This is Magick++, the object-oriented C++ API for the ImageMagick
image-processing library.
Magick++ supports an object model inspired by PerlMagick. Magick++
should be faster than PerlMagick since it is written in a compiled
language which is not parsed at run-time. This makes it suitable for
Web CGI programs. Images support implicit reference counting so that
copy constructors and assignment incur almost no cost. The cost of
actually copying an image (if necessary) is done just before
modification and this copy is managed automatically by Magick++.
De-referenced copies are automatically deleted. The image objects
support value (rather than pointer) semantics so it is trivial to
support multiple generations of an image in memory at one time.
%package -n mingw64-libmagick++-devel
Summary: C++ Interface for ImageMagick - files mandatory for development
Group: Development/Libraries/C and C++
%description -n mingw64-libmagick++-devel
This is Magick++, the object-oriented C++ API for the ImageMagick
image-processing library.
Magick++ supports an object model inspired by PerlMagick. Magick++
should be faster than PerlMagick since it is written in a compiled
language which is not parsed at run-time. This makes it suitable for
Web CGI programs. Images support implicit reference counting so that
copy constructors and assignment incur almost no cost. The cost of
actually copying an image (if necessary) is done just before
modification and this copy is managed automatically by Magick++.
De-referenced copies are automatically deleted. The image objects
support value (rather than pointer) semantics so it is trivial to
support multiple generations of an image in memory at one time.
%_mingw64_debug_package
%lang_package
%prep
%setup -q -n ImageMagick-6.8.2-2
%patch -P 0 -p1 -b .mingw
%patch -P 1 -p1 -b .no-dist-lzip
%build
NOCONFIGURE=indeed AUTOMAKE=`which automake` gnome-autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
MINGW64_CFLAGS="%_mingw64_cflags -fcommon"
%{_mingw64_configure} \
--disable-static --enable-shared \
--with-gslib --with-rsvg --without-wmf --without-perl \
PATH="%{_mingw64_bindir}:$PATH"
make %{?_smp_mflags} || make V=1
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%{_mingw64_bindir}/stream.exe
%{_mingw64_bindir}/montage.exe
%{_mingw64_bindir}/convert.exe
%{_mingw64_bindir}/mogrify.exe
%{_mingw64_bindir}/identify.exe
%{_mingw64_bindir}/animate.exe
%{_mingw64_bindir}/import.exe
%{_mingw64_bindir}/compare.exe
%{_mingw64_bindir}/composite.exe
%{_mingw64_bindir}/conjure.exe
%{_mingw64_bindir}/display.exe
%dir %{_mingw64_datadir}/doc
%{_mingw64_datadir}/doc/*
%dir %{_mingw64_datadir}/ImageMagick-6.8.2
%{_mingw64_datadir}/ImageMagick-6.8.2/*
%{_mingw64_mandir}/man1/animate.1*
%{_mingw64_mandir}/man1/compare.1*
%{_mingw64_mandir}/man1/composite.1*
%{_mingw64_mandir}/man1/conjure.1*
%{_mingw64_mandir}/man1/convert.1*
%{_mingw64_mandir}/man1/display.1*
%{_mingw64_mandir}/man1/identify.1*
%{_mingw64_mandir}/man1/import.1*
%{_mingw64_mandir}/man1/mogrify.1*
%{_mingw64_mandir}/man1/montage.1*
%{_mingw64_mandir}/man1/stream.1*
%files devel
%defattr(-,root,root)
%{_mingw64_bindir}/Magick-config
%{_mingw64_bindir}/MagickCore-config
%{_mingw64_bindir}/MagickWand-config
%{_mingw64_bindir}/Wand-config
%dir %{_mingw64_includedir}/ImageMagick/magick
%{_mingw64_includedir}/ImageMagick/magick/*
%dir %{_mingw64_includedir}/ImageMagick/wand
%{_mingw64_includedir}/ImageMagick/wand/*
%{_mingw64_libdir}/libMagickCore-Q16.dll.a
%{_mingw64_libdir}/libMagickWand-Q16.dll.a
%{_mingw64_libdir}/pkgconfig/ImageMagick.pc
%{_mingw64_libdir}/pkgconfig/ImageMagick-Q16.pc
%{_mingw64_libdir}/pkgconfig/MagickCore.pc
%{_mingw64_libdir}/pkgconfig/MagickCore-Q16.pc
%{_mingw64_libdir}/pkgconfig/MagickWand.pc
%{_mingw64_libdir}/pkgconfig/MagickWand-Q16.pc
%{_mingw64_libdir}/pkgconfig/Wand.pc
%{_mingw64_libdir}/pkgconfig/Wand-Q16.pc
%{_mingw64_mandir}/man1/ImageMagick.1*
%{_mingw64_mandir}/man1/Magick-config.1*
%{_mingw64_mandir}/man1/MagickCore-config.1*
%{_mingw64_mandir}/man1/MagickWand-config.1*
%{_mingw64_mandir}/man1/Wand-config.1*
%files -n mingw64-libmagickcore
%defattr(-,root,root)
%{_mingw64_bindir}/libMagickCore-Q16-7.dll
%{_mingw64_libdir}/ImageMagick-6.8.2/config-Q16/configure.xml
%dir %{_mingw64_sysconfdir}/ImageMagick
%{_mingw64_sysconfdir}/ImageMagick/*
%files -n mingw64-libMagickWand-Q16-7
%defattr(-,root,root)
%{_mingw64_bindir}/libMagickWand-Q16-7.dll
%files -n mingw64-libMagick++-Q16-7
%defattr(-,root,root)
%{_mingw64_bindir}/libMagick++-Q16-7.dll
%files -n mingw64-libmagick++-devel
%defattr(-,root,root)
%{_mingw64_bindir}/Magick++-config
%{_mingw64_includedir}/ImageMagick/Magick++.h
%dir %{_mingw64_includedir}/ImageMagick/Magick++
%{_mingw64_includedir}/ImageMagick/Magick++/*
%{_mingw64_libdir}/libMagick++-Q16.dll.a
%{_mingw64_libdir}/pkgconfig/ImageMagick++.pc
%{_mingw64_libdir}/pkgconfig/ImageMagick++-Q16.pc
%{_mingw64_libdir}/pkgconfig/Magick++.pc
%{_mingw64_libdir}/pkgconfig/Magick++-Q16.pc
%{_mingw64_mandir}/man1/Magick++-config.1*
%changelog