cristy | 0b55dd3 | 2010-06-13 19:04:44 +0000 | [diff] [blame] | 1 | %global VERSION @PACKAGE_VERSION@ |
cristy | 496c090 | 2013-02-26 12:57:44 +0000 | [diff] [blame] | 2 | %global MAJOR_VERSION @MAGICK_MAJOR_VERSION@ |
cristy | 0b55dd3 | 2010-06-13 19:04:44 +0000 | [diff] [blame] | 3 | %global Patchlevel @PACKAGE_RELEASE@ |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 4 | |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 5 | Name: @PACKAGE_NAME@ |
cristy | 7593c40 | 2012-04-08 02:03:24 +0000 | [diff] [blame] | 6 | Version: %{VERSION} |
| 7 | Release: %{Patchlevel} |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 8 | Summary: Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition resize, rotate, shear, distort and transform images. |
| 9 | Group: Applications/Multimedia |
| 10 | License: http://www.imagemagick.org/script/license.php |
| 11 | Url: http://www.imagemagick.org/ |
| 12 | Source0: http://www.imagemagick.org/download/%{name}/%{name}-%{VERSION}-%{Patchlevel}.tar.bz2 |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 13 | |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
| 15 | BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel |
| 16 | BuildRequires: libtiff-devel, giflib-devel, zlib-devel, perl-devel >= 5.8.1 |
| 17 | BuildRequires: ghostscript-devel, djvulibre-devel |
| 18 | BuildRequires: libwmf-devel, jasper-devel, libtool-ltdl-devel |
| 19 | BuildRequires: libX11-devel, libXext-devel, libXt-devel |
| 20 | BuildRequires: lcms-devel, libxml2-devel, librsvg2-devel, OpenEXR-devel |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 21 | |
| 22 | %description |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 23 | ImageMagick is a software suite to create, edit, and compose bitmap images. It |
| 24 | can read, convert and write images in a variety of formats (about 100) |
| 25 | including DPX, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, |
| 26 | and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear |
| 27 | and transform images, adjust image colors, apply various special effects, |
| 28 | or draw text, lines, polygons, ellipses and Bézier curves. |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 29 | |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 30 | The functionality of ImageMagick is typically utilized from the command line |
| 31 | or you can use the features from programs written in your favorite programming |
| 32 | language. Choose from these interfaces: G2F (Ada), MagickCore (C), MagickWand |
| 33 | (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), nMagick |
| 34 | (Neko/haXe), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP |
| 35 | (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a |
| 36 | language interface, use ImageMagick to modify or create images automagically |
| 37 | and dynamically. |
| 38 | |
| 39 | ImageMagick is free software delivered as a ready-to-run binary distribution |
| 40 | or as source code that you may freely use, copy, modify, and distribute in |
| 41 | both open and proprietary applications. It is distributed under an Apache |
| 42 | 2.0-style license, approved by the OSI. |
| 43 | |
| 44 | The ImageMagick development process ensures a stable API and ABI. Before |
| 45 | each ImageMagick release, we perform a comprehensive security assessment that |
| 46 | includes memory and thread error detection to help prevent exploits.ImageMagick |
| 47 | is free software delivered as a ready-to-run binary distribution or as source |
| 48 | code that you may freely use, copy, modify, and distribute in both open and |
| 49 | proprietary applications. It is distributed under an Apache 2.0-style license, |
| 50 | approved by the OSI. |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 51 | |
cristy | 4a47847 | 2010-06-05 01:59:10 +0000 | [diff] [blame] | 52 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 53 | %package devel |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 54 | Summary: Library links and header files for ImageMagick application development |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 55 | Group: Development/Libraries |
| 56 | Requires: %{name} = %{version}-%{release} |
| 57 | Requires: libX11-devel, libXext-devel, libXt-devel |
| 58 | Requires: ghostscript-devel |
| 59 | Requires: bzip2-devel |
| 60 | Requires: freetype-devel |
| 61 | Requires: libtiff-devel |
| 62 | Requires: libjpeg-devel |
| 63 | Requires: lcms-devel |
| 64 | Requires: jasper-devel |
| 65 | Requires: pkgconfig |
cristy | 72c167c | 2013-03-20 00:42:46 +0000 | [diff] [blame] | 66 | Requires: %{name}-libs = %{version}-%{release} |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 67 | |
| 68 | %description devel |
| 69 | ImageMagick-devel contains the library links and header files you'll |
| 70 | need to develop ImageMagick applications. ImageMagick is an image |
| 71 | manipulation program. |
| 72 | |
| 73 | If you want to create applications that will use ImageMagick code or |
| 74 | APIs, you need to install ImageMagick-devel as well as ImageMagick. |
| 75 | You do not need to install it if you just want to use ImageMagick, |
| 76 | however. |
| 77 | |
cristy | 72c167c | 2013-03-20 00:42:46 +0000 | [diff] [blame] | 78 | %package libs |
| 79 | Summary: ImageMagick libraries to link with |
| 80 | Group: Applications/Multimedia |
| 81 | |
| 82 | %description libs |
| 83 | This packages contains a shared libraries to use within other applications. |
| 84 | |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 85 | %package djvu |
| 86 | Summary: DjVu plugin for ImageMagick |
| 87 | Group: Applications/Multimedia |
| 88 | Requires: %{name} = %{version}-%{release} |
| 89 | |
| 90 | %description djvu |
| 91 | This packages contains a plugin for ImageMagick which makes it possible to |
| 92 | save and load DjvU files from ImageMagick and libMagickCore using applications. |
| 93 | |
| 94 | |
cristy | 4e65ec2 | 2012-04-08 01:33:27 +0000 | [diff] [blame] | 95 | %package doc |
| 96 | Summary: ImageMagick HTML documentation |
| 97 | Group: Documentation |
| 98 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 99 | %description doc |
| 100 | ImageMagick documentation, this package contains usage (for the |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 101 | commandline tools) and API (for the libraries) documentation in HTML format. |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 102 | Note this documentation can also be found on the ImageMagick website: |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 103 | http://www.imagemagick.org/. |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 104 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 105 | |
cristy | aafc192 | 2011-03-04 16:59:40 +0000 | [diff] [blame] | 106 | %package perl |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 107 | Summary: ImageMagick perl bindings |
| 108 | Group: System Environment/Libraries |
| 109 | Requires: %{name} = %{version}-%{release} |
| 110 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
| 111 | |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 112 | |
cristy | aafc192 | 2011-03-04 16:59:40 +0000 | [diff] [blame] | 113 | %description perl |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 114 | Perl bindings to ImageMagick. |
| 115 | |
| 116 | Install ImageMagick-perl if you want to use any perl scripts that use |
| 117 | ImageMagick. |
| 118 | |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 119 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 120 | %package c++ |
| 121 | Summary: ImageMagick Magick++ library (C++ bindings) |
| 122 | Group: System Environment/Libraries |
| 123 | Requires: %{name} = %{version}-%{release} |
| 124 | |
| 125 | %description c++ |
| 126 | This package contains the Magick++ library, a C++ binding to the ImageMagick |
| 127 | graphics manipulation library. |
| 128 | |
| 129 | Install ImageMagick-c++ if you want to use any applications that use Magick++. |
| 130 | |
| 131 | |
| 132 | %package c++-devel |
| 133 | Summary: C++ bindings for the ImageMagick library |
| 134 | Group: Development/Libraries |
| 135 | Requires: %{name}-c++ = %{version}-%{release} |
| 136 | Requires: %{name}-devel = %{version}-%{release} |
| 137 | |
| 138 | %description c++-devel |
| 139 | ImageMagick-devel contains the static libraries and header files you'll |
| 140 | need to develop ImageMagick applications using the Magick++ C++ bindings. |
| 141 | ImageMagick is an image manipulation program. |
| 142 | |
| 143 | If you want to create applications that will use Magick++ code |
| 144 | or APIs, you'll need to install ImageMagick-c++-devel, ImageMagick-devel and |
| 145 | ImageMagick. |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 146 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 147 | You don't need to install it if you just want to use ImageMagick, or if you |
| 148 | want to develop/compile applications using the ImageMagick C interface, |
| 149 | however. |
| 150 | |
| 151 | |
| 152 | %prep |
| 153 | %setup -q -n %{name}-%{VERSION}-%{Patchlevel} |
| 154 | sed -i 's/libltdl.la/libltdl.so/g' configure |
cristy | e99fd5c | 2009-12-02 01:54:25 +0000 | [diff] [blame] | 155 | iconv -f ISO-8859-1 -t UTF-8 README.txt > README.txt.tmp |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 156 | touch -r README.txt README.txt.tmp |
| 157 | mv README.txt.tmp README.txt |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 158 | # for %%doc |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 159 | mkdir Magick++/examples |
| 160 | cp -p Magick++/demo/*.cpp Magick++/demo/*.miff Magick++/examples |
| 161 | |
| 162 | %build |
| 163 | %configure --enable-shared \ |
| 164 | --disable-static \ |
| 165 | --with-modules \ |
| 166 | --with-perl \ |
| 167 | --with-x \ |
| 168 | --with-threads \ |
| 169 | --with-magick_plus_plus \ |
| 170 | --with-gslib \ |
| 171 | --with-wmf \ |
| 172 | --with-lcms \ |
| 173 | --with-rsvg \ |
| 174 | --with-xml \ |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 175 | --with-perl-options="INSTALLDIRS=vendor %{?perl_prefix} CC='%__cc -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \ |
cristy | 78772dd | 2012-12-07 12:09:26 +0000 | [diff] [blame] | 176 | --without-dps |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 177 | # Disable rpath |
| 178 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
| 179 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 180 | # Do *NOT* use %%{?_smp_mflags}, this causes PerlMagick to be silently misbuild |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 181 | make |
| 182 | |
| 183 | |
| 184 | %install |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 185 | rm -rf %{buildroot} |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 186 | |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 187 | make install DESTDIR=%{buildroot} INSTALL="install -p" |
cristy | bdabdd6 | 2013-03-04 17:43:36 +0000 | [diff] [blame] | 188 | cp -a www/source %{buildroot}%{_datadir}/doc/%{name}-%{MAJOR_VERSION} |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 189 | rm %{buildroot}%{_libdir}/*.la |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 190 | |
| 191 | # fix weird perl Magick.so permissions |
cristy | 10067ee | 2013-03-20 11:59:05 +0000 | [diff] [blame] | 192 | chmod 755 %{buildroot}%{perl_vendorarch}/auto/Image/Magick/*/*.so |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 193 | |
| 194 | # perlmagick: fix perl path of demo files |
| 195 | %{__perl} -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl |
| 196 | |
| 197 | # perlmagick: cleanup various perl tempfiles from the build which get installed |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 198 | find %{buildroot} -name "*.bs" |xargs rm -f |
| 199 | find %{buildroot} -name ".packlist" |xargs rm -f |
| 200 | find %{buildroot} -name "perllocal.pod" |xargs rm -f |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 201 | |
| 202 | # perlmagick: build files list |
| 203 | echo "%defattr(-,root,root,-)" > perl-pkg-files |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 204 | find %{buildroot}/%{_libdir}/perl* -type f -print \ |
| 205 | | sed "s@^%{buildroot}@@g" > perl-pkg-files |
| 206 | find %{buildroot}%{perl_vendorarch} -type d -print \ |
| 207 | | sed "s@^%{buildroot}@%dir @g" \ |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 208 | | grep -v '^%dir %{perl_vendorarch}$' \ |
| 209 | | grep -v '/auto$' >> perl-pkg-files |
| 210 | if [ -z perl-pkg-files ] ; then |
| 211 | echo "ERROR: EMPTY FILE LIST" |
| 212 | exit -1 |
| 213 | fi |
| 214 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 215 | %clean |
cristy | 72182d8 | 2012-03-19 00:37:22 +0000 | [diff] [blame] | 216 | rm -rf %{buildroot} |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 217 | |
cristy | 72c167c | 2013-03-20 00:42:46 +0000 | [diff] [blame] | 218 | %post libs -p /sbin/ldconfig |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 219 | |
| 220 | %post c++ -p /sbin/ldconfig |
| 221 | |
cristy | 72c167c | 2013-03-20 00:42:46 +0000 | [diff] [blame] | 222 | %postun libs -p /sbin/ldconfig |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 223 | |
| 224 | %postun c++ -p /sbin/ldconfig |
| 225 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 226 | %files |
| 227 | %defattr(-,root,root,-) |
| 228 | %doc QuickStart.txt ChangeLog Platforms.txt |
| 229 | %doc README.txt LICENSE NOTICE AUTHORS.txt NEWS.txt |
cristy | 78772dd | 2012-12-07 12:09:26 +0000 | [diff] [blame] | 230 | %{_libdir}/libMagickCore*so* |
| 231 | %{_libdir}/libMagickWand*so* |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 232 | %{_bindir}/[a-z]* |
cristy | 4e65ec2 | 2012-04-08 01:33:27 +0000 | [diff] [blame] | 233 | %{_libdir}/%{name}-%{VERSION} |
cristy | bdabdd6 | 2013-03-04 17:43:36 +0000 | [diff] [blame] | 234 | %{_datadir}/%{name}-%{MAJOR_VERSION} |
cristy | bcbacef | 2012-04-08 01:57:35 +0000 | [diff] [blame] | 235 | %{_mandir}/man[145]/[a-z]* |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 236 | %{_mandir}/man1/%{name}.* |
cristy | 141b754 | 2013-02-26 21:35:32 +0000 | [diff] [blame] | 237 | %exclude %{_libdir}/%{name}-%{VERSION}/modules-*/coders/djvu.* |
cristy | bdabdd6 | 2013-03-04 17:43:36 +0000 | [diff] [blame] | 238 | %{_sysconfdir}/%{name}-%{MAJOR_VERSION} |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 239 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 240 | |
| 241 | %files devel |
| 242 | %defattr(-,root,root,-) |
| 243 | %{_bindir}/MagickCore-config |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 244 | %{_bindir}/MagickWand-config |
cristy | 78772dd | 2012-12-07 12:09:26 +0000 | [diff] [blame] | 245 | %{_libdir}/libMagickCore*so* |
| 246 | %{_libdir}/libMagickWand*so* |
cristy | cd47330 | 2012-12-10 14:32:52 +0000 | [diff] [blame] | 247 | %{_libdir}/pkgconfig/MagickCore*.pc |
| 248 | %{_libdir}/pkgconfig/ImageMagick*.pc |
| 249 | %{_libdir}/pkgconfig/MagickWand*.pc |
cristy | bdabdd6 | 2013-03-04 17:43:36 +0000 | [diff] [blame] | 250 | %dir %{_includedir}/%{name}-%{MAJOR_VERSION} |
| 251 | %{_includedir}/%{name}-%{MAJOR_VERSION}/MagickCore |
| 252 | %{_includedir}/%{name}-%{MAJOR_VERSION}/MagickWand |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 253 | %{_mandir}/man1/MagickCore-config.* |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 254 | %{_mandir}/man1/MagickWand-config.* |
| 255 | |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 256 | %files djvu |
| 257 | %defattr(-,root,root,-) |
cristy | a70b60d | 2013-04-12 01:44:47 +0000 | [diff] [blame] | 258 | %{_libdir}/%{name}-%{version}/modules-Q*/coders/djvu.* |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 259 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 260 | %files doc |
| 261 | %defattr(-,root,root,-) |
cristy | bdabdd6 | 2013-03-04 17:43:36 +0000 | [diff] [blame] | 262 | %doc %{_datadir}/doc/%{name}-%{MAJOR_VERSION} |
cristy | 8ae77f5 | 2011-02-26 15:20:00 +0000 | [diff] [blame] | 263 | %doc LICENSE |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 264 | |
| 265 | %files c++ |
| 266 | %defattr(-,root,root,-) |
| 267 | %doc Magick++/AUTHORS Magick++/ChangeLog Magick++/NEWS Magick++/README |
| 268 | %doc www/Magick++/COPYING |
cristy | 78772dd | 2012-12-07 12:09:26 +0000 | [diff] [blame] | 269 | %{_libdir}/libMagick++*so* |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 270 | |
| 271 | %files c++-devel |
| 272 | %defattr(-,root,root,-) |
| 273 | %doc Magick++/examples |
| 274 | %{_bindir}/Magick++-config |
cristy | bdabdd6 | 2013-03-04 17:43:36 +0000 | [diff] [blame] | 275 | %{_includedir}/%{name}-%{MAJOR_VERSION}/Magick++ |
| 276 | %{_includedir}/%{name}-%{MAJOR_VERSION}/Magick++.h |
cristy | 78772dd | 2012-12-07 12:09:26 +0000 | [diff] [blame] | 277 | %{_libdir}/libMagick++*so* |
cristy | cd47330 | 2012-12-10 14:32:52 +0000 | [diff] [blame] | 278 | %{_libdir}/pkgconfig/Magick++*.pc |
| 279 | %{_libdir}/pkgconfig/ImageMagick++*.pc |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 280 | %{_mandir}/man1/Magick++-config.* |
| 281 | |
| 282 | %files perl -f perl-pkg-files |
| 283 | %defattr(-,root,root,-) |
| 284 | %{_mandir}/man3/* |
| 285 | %doc PerlMagick/demo/ PerlMagick/Changelog PerlMagick/README.txt |
| 286 | |
cristy | 32e7824 | 2012-03-06 02:42:46 +0000 | [diff] [blame] | 287 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 288 | %changelog |
| 289 | * Sun May 01 2005 Cristy <cristy@mystic.es.dupont.com> 1.0-0 |
cristy | f8d59ee | 2011-02-20 18:21:31 +0000 | [diff] [blame] | 290 | - Port of Redhat's RPM script to support ImageMagick. |