Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
imagemagick
> imagemagick.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File imagemagick.spec of Package imagemagick
# # spec file for package 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: ImageMagick BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libexif-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel >= 4.0.3 BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: pango-devel BuildRequires: pkgconfig BuildRequires: xdg-utils BuildRequires: xz libtool-ltdl-devel BuildRequires: zip libgpg-error %define maj 7 %define mfr_version %{maj}.0.8 %define mfr_revision 14 %define source_version %{mfr_version}-%{mfr_revision} Version: %{mfr_version}.%{mfr_revision} Release: 3 Summary: Viewer and Converter for Images License: ImageMagick Group: Productivity/Graphics/Other Url: http://www.imagemagick.org Source: http://www.imagemagick.org/download/ImageMagick-%{source_version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %package devel Requires: ImageMagick = %{version} Requires: libMagickCore = %{version} Requires: libMagickWand = %{version} Summary: Include Files and Libraries Mandatory for Development Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: bzip2-devel %package -n libMagickCore Summary: Viewer and Converter for Images - runtime library Group: Productivity/Graphics/Other %package -n libMagickWand Summary: Viewer and Converter for Images - runtime library Group: Productivity/Graphics/Other %package doc Summary: Document Files for ImageMagick Library Group: Development/Libraries/C and C++ %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, C++, and PERL-based programming interfaces. %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, C++, and PERL-based programming interfaces. %description -n 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, C++, and PERL-based programming interfaces. %description -n libMagickWand 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, C++, and PERL-based programming interfaces. %description doc HTML documentation for ImageMagick library and scene examples. %prep %setup -q -n ImageMagick-%{source_version} %build ./configure --enable-shared \ --without-magick_plus_plus \ --with-modules \ --without-threads \ --without-perl \ --disable-static \ --with-djvu=no \ --with-wmf=no \ --with-rsvg=no \ --without-x \ --prefix=/usr \ --sysconfdir=/etc \ --enable-zero-configuration make all %install make install \ DESTDIR=%{buildroot} \ pkgdocdir=%{_defaultdocdir}/%{name}-doc/ %fdupes -s %{buildroot}%{_defaultdocdir}/%{name}-doc/www/api touch %{buildroot}%{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/magic.xml touch %{buildroot}%{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/type.xml touch %{buildroot}%{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/delegates.xml touch %{buildroot}%{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/colors.xml %post -n libMagickCore -p /sbin/ldconfig %postun -n libMagickCore -p /sbin/ldconfig %post -n libMagickWand -p /sbin/ldconfig %postun -n libMagickWand -p /sbin/ldconfig %files %defattr(-,root,root) %doc QuickStart.txt README.txt NEWS.txt ChangeLog LICENSE %{_bindir}/magick %{_bindir}/magick-script %{_bindir}/animate %{_bindir}/compare %{_bindir}/composite %{_bindir}/conjure %{_bindir}/convert %{_bindir}/display %{_bindir}/identify %{_bindir}/import %{_bindir}/mogrify %{_bindir}/montage %{_bindir}/stream %{_datadir}/man/man1/* %{_datadir}/ImageMagick-7/*.xml %{_datadir}/doc/ImageMagick-7/* %files -n libMagickCore %defattr(-,root,root) %doc LICENSE %{_sysconfdir}/ImageMagick-7/* %dir %{_libdir}/ImageMagick* %{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/configure.xml %{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/colors.xml %{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/delegates.xml %{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/magic.xml %{_libdir}/%{name}-%{mfr_version}/config-Q16HDRI/type.xml %{_libdir}/%{name}-%{mfr_version}/modules-Q16HDRI/coders/*.la %{_libdir}/%{name}-%{mfr_version}/modules-Q16HDRI/coders/*.so %{_libdir}/%{name}-%{mfr_version}/modules-Q16HDRI/filters/*.la %{_libdir}/%{name}-%{mfr_version}/modules-Q16HDRI/filters/*.so %files -n libMagickWand %defattr(-,root,root) %doc LICENSE %{_libdir}/libMagickCore-7.Q16HDRI.so.* %{_libdir}/libMagickWand-7.Q16HDRI.so.6* %files devel %defattr(-,root,root) %doc LICENSE %{_bindir}/MagickCore-config %{_bindir}/MagickWand-config %{_libdir}/pkgconfig/* %{_includedir}/ImageMagick-7/MagickCore/*.h %{_includedir}/ImageMagick-7/MagickWand/*.h %{_libdir}/libMagickCore*.so %{_libdir}/libMagickWand*.so %{_libdir}/*.la %files doc %defattr(-,root,root) %{_docdir}/%{name}-doc %exclude %{_libdir}/debug %changelog