Name: GraphicsMagick Version: 1.3.19 Release: 1mamba Summary: The swiss army knife of image processing Group: Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.graphicsmagick.org/ Source: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: ghostscript-devel BuildRequires: glibc-devel BuildRequires: libbzip2-devel BuildRequires: libe2fs-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgomp-devel BuildRequires: libICE-devel BuildRequires: libjasper-devel BuildRequires: libjpeg-devel BuildRequires: liblcms-devel BuildRequires: libltdl-devel BuildRequires: libpng-devel BuildRequires: libSM-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libwmf-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: perl-devel ## AUTOBUILDREQ-END #BuildRequires: libtrio-devel BuildRequires: autotrace BuildRequires: graphviz BuildRequires: tetex-dvips BuildRequires: transfig BuildRequires: gnuplot BuildRequires: netpbm BuildRequires: ncompress BuildRequires: libgimp-devel BuildRequires: libsane-backends BuildRequires: wget BuildRequires: ghostscript-fonts BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GraphicsMagick is the swiss army knife of image processing. It provides a robust collection of tools and libraries which support reading, writing, and manipulating an image in over 88 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, SVG, and TIFF. GraphicsMagick supports huge images on systems that support large files, and has been tested with gigapixel-size images. GraphicsMagick can create new images on the fly, making it suitable for building dynamic Web applications. GraphicsMagick may be used to resize, rotate, sharpen, color reduce, or add special effects to an image and save the result in the same or differing image format. Image processing operations are available from the command line, as well as through C, C++, Perl, or Windows COM programming interfaces. Extensions are available from third-parties to support programming in Python, Tcl, and Ruby. With some modification, language extensions for ImageMagick may be used. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel GraphicsMagick is the swiss army knife of image processing. This package contains static libraries and header files need for development. %package perl Summary: PerlMagick - An objected-oriented Perl interface to GraphicsMagick Group: Development/Libraries/Perl Requires: %{name} = %{version}-%{release} Requires: perl >= %{perl_major_ver} %description perl PerlMagick is an objected-oriented Perl interface to GraphicsMagick. Use the module to read, manipulate, or write an image or image sequence from within a Perl script. This makes it very suitable for Web CGI scripts. %prep %setup -q %build #Option Configure option Configured value #----------------------------------------------------------------- #DPS --with-dps=yes no #FlashPIX --with-fpx=yes no #JBIG --with-jbig=no no #TRIO --with-trio=yes no # Note: configure says: If vsnprintf is missing, look for TRIO %configure \ --enable-shared \ --with-modules=yes \ --with-bzlib \ --with-dps \ --with-fpx \ --with-ttf \ --without-jbig \ --with-jpeg \ --with-jp2 \ --with-lcms \ --with-magick-plus-plus \ --with-perl \ --with-perl-options="PREFIX=%{_prefix} INSTALLDIRS=vendor" \ --with-png \ --with-tiff \ --with-gs-font-dir=%{_datadir}/ghostscript/fonts/ \ --with-windows-font-dir=%{_datadir}/fonts/msttcorefonts \ --with-gslib=yes \ --with-wmf \ --with-x \ --with-xml \ --with-zlib \ --with-threads %make %make perl-build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %makeinstall -C PerlMagick find %{buildroot} -name "perllocal.pod" | xargs rm -f packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist-perl && rm -f $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist-perl done chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/gm %dir %{_datadir}/GraphicsMagick-%{version}/config %{_datadir}/GraphicsMagick-%{version}/config/*.mgk %dir %{_libdir}/GraphicsMagick-%{version} %dir %{_libdir}/GraphicsMagick-%{version}/config %{_libdir}/GraphicsMagick-%{version}/config/*.mgk %dir %{_libdir}/GraphicsMagick-%{version}/modules-Q8 %{_libdir}/GraphicsMagick-%{version}/modules-Q8/coders/*.la %{_libdir}/GraphicsMagick-%{version}/modules-Q8/coders/*.so %dir %{_libdir}/GraphicsMagick-%{version}/modules-Q8/filters %{_libdir}/GraphicsMagick-%{version}/modules-Q8/filters/*.la %{_libdir}/GraphicsMagick-%{version}/modules-Q8/filters/*.so %{_libdir}/lib*.so.* %{_docdir}/GraphicsMagick/ChangeLog* %{_docdir}/GraphicsMagick/Copyright.txt %{_docdir}/GraphicsMagick/NEWS.txt %{_mandir}/man1/gm.* %{_mandir}/man4/miff.* %{_mandir}/man5/quantize.* %doc TODO.txt README.txt %files devel %defattr(-,root,root) %{_bindir}/GraphicsMagick++-config %{_bindir}/GraphicsMagick-config %{_bindir}/GraphicsMagickWand-config %dir %{_docdir}/GraphicsMagick/www %{_docdir}/GraphicsMagick/www/* %dir %{_includedir}/GraphicsMagick %{_includedir}/GraphicsMagick/*.h %dir %{_includedir}/GraphicsMagick/Magick++ %{_includedir}/GraphicsMagick/Magick++/*.h %dir %{_includedir}/GraphicsMagick/magick %{_includedir}/GraphicsMagick/magick/*.h %dir %{_includedir}/GraphicsMagick/wand %{_includedir}/GraphicsMagick/wand/*.h %{_libdir}/lib*.so %{_libdir}/lib*.a %{_libdir}/lib*.la #%{_libdir}/GraphicsMagick-%{version}/modules-Q8/coders/*.a #%{_libdir}/GraphicsMagick-%{version}/modules-Q8/filters/*.a %{_libdir}/pkgconfig/*.pc %{_mandir}/man1/GraphicsMagick-config.* %{_mandir}/man1/GraphicsMagick++-config.* %{_mandir}/man1/GraphicsMagickWand-config.* %files perl -f .packlist-perl %defattr(-,root,root) %changelog * Sun Jan 05 2014 Automatic Build System 1.3.19-1mamba - automatic update by autodist * Fri Mar 15 2013 Automatic Build System 1.3.18-1mamba - automatic version update by autodist * Mon Nov 12 2012 Silvan Calarco 1.3.17-2mamba - perl 5.16 mass rebuild * Fri Oct 26 2012 Automatic Build System 1.3.17-1mamba - automatic version update by autodist * Wed Aug 08 2012 Automatic Build System 1.3.16-1mamba - automatic version update by autodist * Sun Jan 01 2012 Automatic Build System 1.3.13-1mamba - automatic version update by autodist * Sat Feb 19 2011 Silvan Calarco 1.3.12-2mamba - rebuilt with ghostscript 9.01 * Sun May 16 2010 Automatic Build System 1.3.12-1mamba - automatic update by autodist * Thu Dec 03 2009 Davide Madrisan 1.3.7-2mamba - build and provide perl bindings * Thu Oct 15 2009 Automatic Build System 1.3.7-1mamba - automatic update by autodist * Tue Sep 01 2009 Automatic Build System 1.3.6-1mamba - automatic update by autodist * Mon Jun 15 2009 Silvan Calarco 1.3.5-2mamba - don't package perllocal.pod * Tue Jun 09 2009 Silvan Calarco 1.3.5-1mamba - update to 1.3.5 * Tue Jun 09 2009 Silvan Calarco 1.1.15-1mamba - update to 1.1.15 * Tue Oct 17 2006 Davide Madrisan 1.1.7-1qilnx - package created by autospec