Summary: An X application for displaying and manipulating images. Name: ImageMagick Version: 5.4.2 Release: 3 License: IBM_ILA Group: Applications/Multimedia Source: ImageMagick-5.4.2-3.tar.gz Source1: IBM_ILA Patch0: ImageMagick-5.4.2-composite.patch URL: http://www.imagemagick.org Buildroot: /var/tmp/ImageMagick-root # Note: we found that the build fails if an older version of ImageMagick # is currently installed on the system. It builds fine if no ImageMagick # is installed at all, however. BuildConflicts: ImageMagick < %{version} Prefix: %{_prefix} %description ImageMagick(TM) is an image display and manipulation tool for the X Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF and Photo CD image formats. It can resize, rotate, sharpen, color reduce or add special effects to an image, and when finished you can either save the completed work in the original format or a different one. ImageMagick also includes command line programs for creating animated or transparent .gifs, creating composite images, creating thumbnail images, and more. ImageMagick is one of your choices if you need a program to manipulate and display images. If you'd also like to develop your own applications which use ImageMagick code or APIs, you'll need to install ImageMagick-devel as well. %package devel Summary: Header files for ImageMagick app development. Group: Development/Libraries Requires: ImageMagick = %{PACKAGE_VERSION} %description devel Image-Magick-devel contains the header files you'll need to develop ImageMagick applications. ImageMagick is an image manipulation program. If you want to create applications that will use ImageMagick code or APIs, you'll need to install ImageMagick-devel as well as ImageMagick. You don't need to install it if you just want to use ImageMagick, however. %prep %setup -q %patch0 -p1 -b .composite # Add license info cat $RPM_SOURCE_DIR/IBM_ILA > LICENSE cat Copyright.txt >> LICENSE %build # Took out --with-perl ./configure --prefix=%{_prefix} \ --enable-shared --disable-static \ --with-x --with-perl=no make %install rm -rf $RPM_BUILD_ROOT eval `perl '-V:installarchlib'` mkdir -p $RPM_BUILD_ROOT/$installarchlib DESTDIR=$RPM_BUILD_ROOT make install # find the perl files #find $RPM_BUILD_ROOT/usr/lib/perl5 -type f -o -type l | \ #sed -e "s|$RPM_BUILD_ROOT||g" | \ #grep -v "perllocal.pod" > files-perl.list #sed -e "s/.*man.*/&\*/g" files-perl.list >files.perl.list #mv -f files.perl.list files-perl.list /usr/bin/strip $RPM_BUILD_ROOT%{_prefix}/bin/* 2>/dev/null || : ( cd $RPM_BUILD_ROOT for dir in bin include do mkdir -p usr/$dir cd usr/$dir ln -sf ../..%{prefix}/$dir/* . cd - done mkdir -p usr/lib cd usr/lib ln -sf ../..%{prefix}/lib/* . cd - mkdir -p usr/lpp/X11/include/X11 cd usr/lpp/X11/include/X11 ln -sf ../../../../..%{prefix}/include/* . cd - mkdir -p usr/lpp/X11/lib/X11 cd usr/lpp/X11/lib/X11 ln -sf ../../../../..%{prefix}/lib/* . cd - mkdir -p usr/lpp/X11/bin cd usr/lpp/X11/bin ln -sf ../../../..%{prefix}/bin/* . ) %clean rm -rf $RPM_BUILD_ROOT rm -fv files-perl.list %post %postun %files %defattr(-,root,root) %doc README.txt LICENSE %{_prefix}/lib/*.a %{_prefix}/lib/ImageMagick /usr/lpp/X11/lib/X11/*.a /usr/lib/*.a %{_prefix}/bin/* %{_prefix}/man/*/* %{_prefix}/share/* /usr/bin/* /usr/lpp/X11/bin/* %files devel %defattr(-,root,root) %doc LICENSE %{_prefix}/include/magick /usr/include/magick /usr/lpp/X11/include/X11/magick %changelog * Tue Feb 24 2004 David Clissold 5.4.2-3 - delegates.mgk missing from package; added lib/Imagemagick/* - corrected DESTDIR (caused some files missing from share directory) * Fri Nov 22 2002 David Clissold - Add IBM ILA license. * Mon Jul 22 2002 Chris Tysor - Update to level 5.4.2 - Add BuildConflicts with older versions. * Fri Feb 08 2002 David Clissold - Update to level 4.5.2 * Sun Apr 08 2001 Marc Stephenson - Remove erroneous compatibility member * Tue Mar 20 2001 Marc Stephenson - Update to latest libtool multi-language branch * Fri Mar 09 2001 Marc Stephenson - Rebuild against new shared objects - Add Bull freeware compatibility member * Mon Mar 05 2001 David Clissold - Ensure executable binaries get stripped. * Thu Feb 15 2001 aixtoolbox - Account for different standard lib location in IA64 32-bit ABI * Thu Feb 3 2000 Bernhard Rosenkraenzer - Rebuild to get compressed man pages * Thu Nov 18 1999 Michael K. Johnson - ugly hack to print with lpr instead of lp * Mon Aug 30 1999 Bill Nottingham - update to 4.2.9 * Tue Aug 17 1999 Bill Nottingham - update to 4.2.8 * Fri Apr 09 1999 Cristian Gafton - include the perl man pages as well * Tue Apr 06 1999 Michael K. Johnson - remove --enable-16bit because it damages interoperability * Mon Apr 5 1999 Bill Nottingham - update to 4.2.2 - change ChangeLog to refer to actual dates. - strip binaries * Thu Apr 1 1999 Bill Nottingham - add more files. Oops. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Wed Mar 10 1999 Bill Nottingham - version 4.2.1 * Tue Jan 19 1999 Michael K. Johnson - changed group * Tue Jan 19 1999 Cristian Gafton - hacks to make it work with the new perl - version 4.1.0 (actually installs the sonames as 4.0.10... doh!) - make sure the libraries have the x bit on * Wed Jun 10 1998 Prospector System - translations modified for de, fr * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Tue Apr 21 1998 Cristian Gafton - updated to 4.0.5 * Wed Apr 08 1998 Cristian Gafton - updated to 4.0.4 - added BuildRoot * Thu Oct 23 1997 Donnie Barnes - updated from 3.8.3 to 3.9.1 - removed PNG patch (appears to be fixed) * Wed Oct 15 1997 Erik Troan - build against new libpng * Thu Jul 10 1997 Erik Troan - built against glibc * Thu Mar 20 1997 Michael Fulbright - updated to version 3.8.3. - updated source and url tags.