Summary: A library for handling different graphics file formats. Name: netpbm Version: 9.14 Release: 1 Copyright: freeware Group: System Environment/Libraries Source0: netpbm-9.14-nojbig.tgz Source1: mf50-netpbm_filters Source2: test-images.tar.gz Patch0: netpbm-9.8-install.patch Patch1: netpbm-9.5-pktopbm.patch Patch2: netpbm-9.5-pnmtotiff.patch Patch3: netpbm-9.5-pstopnm.patch Patch4: netpbm-9.9-asciitopgm.patch Patch5: netpbm-9.9-manpages.patch Patch6: netpbm-9.9-time.patch Buildroot: %{_tmppath}/%{name}-root BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl Obsoletes: libgr %description The netpbm package contains a library of functions which support programs for handling various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others. %package devel Summary: Development tools for programs which will use the netpbm libraries. Group: Development/Libraries Requires: netpbm = %{version}-%{release} Obsoletes: libgr-devel %description devel The netpbm-devel package contains the header files and static libraries, etc., for developing programs which can handle the various graphics file formats supported by the netpbm libraries. Install netpbm-devel if you want to develop programs for handling the graphics file formats supported by the netpbm libraries. You'll also need to have the netpbm package installed. %package progs Summary: Tools for manipulating graphics files in netpbm supported formats. Group: Applications/Multimedia Requires: netpbm = %{version}-%{release} Obsoletes: libgr-progs %description progs The netpbm-progs package contains a group of scripts for manipulating the graphics files in formats which are supported by the netpbm libraries. For example, netpbm-progs includes the rasttopnm script, which will convert a Sun rasterfile into a portable anymap. Netpbm-progs contains many other scripts for converting from one graphics file format to another. If you need to use these conversion scripts, you should install netpbm-progs. You'll also need to install the netpbm package. %prep %setup -q %patch0 -p1 -b .install #%patch1 -p1 -b .pktopbm #%patch2 -p1 -b .pnmtotiff #%patch3 -p1 -b .pstopnm #%patch4 -p1 -b .asciitopgm #%patch5 -p1 -b .manpages %patch6 -p1 -b .time mv shhopt/shhopt.h shhopt/pbmshhopt.h perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` tar xzf %{SOURCE2} %build ./configure < - Updated to netpbm version 9.14 - Removed pnmtotiff resize patch as it is now part of the original package - Removed pstopnm csh fix as it is now part of the original package - Removed asciitopgm memcpy fix as it is now part of the original package - Removed manpages patch as it is now part of the original package * Mon Feb 12 2001 Philipp Knirsch - Fixed bugzilla bug #26767 where the new glibc time and sys/time fixes needed to be done. * Fri Feb 9 2001 Crutcher Dunnavant - switched filters to printconf filters * Wed Jan 24 2001 Philipp Knirsch - Fixed bugzilla bug #21644 where few manpages had a small error. * Tue Dec 19 2000 Philipp Knirsch - Fixed bugzilla bug #19487 where asciitopgm dumped core on Alpha. Actually dumped core everywhere * Tue Dec 19 2000 Philipp Knirsch - update to 9.9 - Due to patent infringement problems removed the jbig support from the tarball (pnm/jbig + Makefile changes) and created a new tarball * Wed Oct 25 2000 Nalin Dahyabhai - include shared libraries missing from previous build * Tue Oct 24 2000 Nalin Dahyabhai - update to 9.8 - make sure shhopt.h is included in the -devel package (#19672) - rename shhopt.h to pbmshhopt.h because it's not the same as the normal shhopt.h that other things (like util-linux) expect * Wed Aug 9 2000 Crutcher Dunnavant - added a png-to-pnm.fpi filter * Wed Aug 2 2000 Matt Wilson - rebuilt against new libpng * Mon Jul 17 2000 Nalin Dahyabhai - move netpbm-progs to the Applications/Multimedia group - reintroduce patches from the old libgr package * Wed Jul 12 2000 Prospector - automatic rebuild * Sat Jul 1 2000 Nalin Dahyabhai - update to 9.5 * Tue Jun 27 2000 Nalin Dahyabhai - update to 9.4 * Sat Jun 3 2000 Nalin Dahyabhai - switch back to the netpbm tree, which is maintained again * Mon Feb 14 2000 Nalin Dahyabhai - make sure all man pages are included (#9328) - fix pstopnm bomb when xres == yres (#9329) - add libjpeg and libz because libtiff now needs them * Wed Feb 02 2000 Nalin Dahyabhai - added/updated TIFF compression patch from jik@kamens.brookline.ma.us (#8826) * Mon Dec 06 1999 Michael K. Johnson - added TIFF resolution patch from jik@kamens.brookline.ma.us (#7589) * Mon Sep 20 1999 Michael K. Johnson - added section 5 man pages * Fri Jul 30 1999 Bill Nottingham - fix tiff-to-pnm.fpi (#4267) * Thu Jul 29 1999 Bill Nottingham - add a pile of foo-to-bar.fpi filters (#4251) * Mon Mar 23 1999 Michael Johnson - removed old png.h header file that was causing png utils to die - build png in build instead of install section... * Mon Mar 22 1999 Bill Nottingham - patch for 24-bit .BMP files (from sam@campbellsci.co.uk) * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 15) * Wed Jan 06 1999 Cristian Gafton - clean up the spec file - build for glibc 2.1 - patch to fix pktopbm * Wed Jun 10 1998 Prospector System - translations modified for de * Wed Jun 10 1998 Jeff Johnson - glibc2 defines random in (pbm/pbmplus.h problem #693) * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Thu May 07 1998 Cristian Gafton - cleaned up the spec file a little bit - validated mike's changes :-) * Wed May 6 1998 Michael Maher - added pnm-to-ps.fpi that was missing from previous packages * Thu Apr 30 1998 Cristian Gafton - altered %install so that the package installs now even if a previous version was not installed on the system * Thu Apr 16 1998 Erik Troan - built against libpng 1.0 * Thu Nov 06 1997 Donnie Barnes - changed copyright from "distributable" to "freeware" - added some missing scripts that existed in netpbm - added some binaries that weren't getting built - added patch to build tiff manipulation progs (requires libtiff) * Wed Oct 15 1997 Donnie Barnes - obsoletes netpbm now * Tue Oct 14 1997 Erik Troan - mucked config.guess and Make.Rules to build on Alpha/Linux * Tue Oct 07 1997 Donnie Barnes - updated to 2.0.13 - dropped libjpeg and libtiff (those should come from home sources) - removed glibc patch (new version appears to have it!) - added i686 as a valid arch type to config.guess * Thu Jul 10 1997 Erik Troan - built against glibc