diff --git a/.cvsignore b/.cvsignore index e69de29..8900fa3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ImageMagick-5.2.2.tar.gz diff --git a/ImageMagick.spec b/ImageMagick.spec new file mode 100644 index 0000000..c178ab7 --- /dev/null +++ b/ImageMagick.spec @@ -0,0 +1,214 @@ +Summary: An X application for displaying and manipulating images. +Name: ImageMagick +Version: 5.2.2 +Release: 5 +Copyright: freeware +Group: Applications/Multimedia +Source: ftp://ftp.cdrom.com/pub/ImageMagick/ImageMagick-%{version}.tar.gz +Patch0: ImageMagick-5.2.1-libpath.patch +Patch1: ImageMagick-5.2.1-lprhack.patch +Patch2: ImageMagick-5.1.1-bzip2_10.patch +Patch3: ImageMagick-5.2.0-build.patch +Url: http://www.imagemagick.org/ +Buildroot: %{_tmppath}/%{name}-%{version}-root +BuildPrereq: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel +BuildPrereq: libtiff-devel, libungif-devel, zlib-devel +Requires: bzip2, freetype, libjpeg, libpng, libtiff, libungif, zlib +Prefix: /usr/X11R6 +%define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man +%define _includedir %{_prefix}/include/X11/magick + +%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: Static libraries and header files for ImageMagick app development. +Group: Development/Libraries +Requires: ImageMagick = %{version} + +%description devel +Image-Magick-devel contains the static libraries and 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 -p0 +%patch1 -p0 +#%patch2 -p1 -b .bzip2patch +%patch3 -p1 -b .build +rm -f images/Makefile || : + +%build +TARGET_PLATFORM=%{_target_platform} +%define _target_platform --target=$TARGET_PLATFORM +%ifarch alpha sparc +RPM_OPT_FLAGS="" +%endif +CFLAGS="-g $RPM_OPT_FLAGS"; export CFLAGS +%configure --prefix=/usr/X11R6 --enable-shared --with-perl --with-x +make + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +%makeinstall PREFIX=$RPM_BUILD_ROOT/usr + +for bin in $RPM_BUILD_ROOT%{_bindir}/*-*-*-* $RPM_BUILD_ROOT%{_mandir}/man*/*-*-*-* ; do + mv ${bin} `echo ${bin} | sed 's@[^-/]*-[^-/]*-[^-/]*-@@g'` +done +install -m755 utilities/.libs/* $RPM_BUILD_ROOT%{_bindir}/ + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc www images +%doc README.txt ImageMagick.html +%attr(755,root,root) %{_libdir}/*.so.* +%{_bindir}/* +/usr/lib/perl*/site_perl/*/*/auto/Image +/usr/lib/perl*/site_perl/*/*/Image +%{_mandir}/*/* +%{_datadir}/* + +%files devel +%defattr(-,root,root) +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_includedir} + +%changelog +* Wed Aug 2 2000 Matt Wilson +- rebuild against new libpng + +* Wed Jul 19 2000 Nalin Dahyabhai +- include images with docs (#10312) + +* Thu Jul 13 2000 Matt Wilson +- don't build with -ggdb, use -g instead. + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jul 3 2000 Florian La Roche +- update to 5.2.2 beta + +* Mon Jul 3 2000 Florian La Roche +- update to 5.2.1, redone patches as they failed + +* Fri Jun 30 2000 Matt Wilson +- remove hacks to move perl man pages +- don't include the perl*/man stuff, these files go in /usr/share/man now. + +* Thu Jun 15 2000 Nalin Dahyabhai +- disable optimization on Alpha and Sparc + +* Wed Jun 14 2000 Nalin Dahyabhai +- update to 5.2.0 +- update URL +- remove redundant CXXFLAGS=$RPM_OPT_FLAGS + +* Thu Jun 1 2000 Matt Wilson +- bootstrap rebuilt to nuke broken libbz2 deps +- add Prefix: tag such that the FHS macros work properly + +* Wed May 17 2000 Trond Eivind Glomsrød +- now compiles with bzip2 1.0 +- changed buildroot to include version + +* Fri May 5 2000 Bill Nottingham +- fix compilation with new perl + +* Sat Mar 18 2000 Bernhard Rosenkraenzer +- 5.1.1 + +* 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. diff --git a/sources b/sources index e69de29..9d3d9bb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1353c0853b7d1b35e031b6f00b62ceb8 ImageMagick-5.2.2.tar.gz