Summary: A library for handling different graphics file formats. Summary(ja): 異なる画像ファイル形式を取り扱うためのライブラリ Name: netpbm Version: 10.86.16 Release: 1%{?_dist_release} Vendor: Project Vine Distribution: Vine Linux Group: system # See copyright_summary for details License: BSD and GPLv2 and IJG and MIT and Public Domain URL: https://netpbm.sourceforge.net/ Source0: netpbm-%{version}.tar.xz # Patches from fedora core Patch0: netpbm-security-scripts.patch #Patch1: netpbm-security-code.patch Patch2: netpbm-ppmfadeusage.patch Patch3: netpbm-CVE-2017-2587.patch Patch4: netpbm-python3.patch Patch5: netpbm-time.patch Patch6: netpbm-gcc4.patch Patch7: netpbm-bmptopnm.patch Patch8: netpbm-CAN-2005-2471.patch Patch9: netpbm-xwdfix.patch Patch10: netpbm-multilib.patch Patch11: netpbm-glibc.patch #Patch12: netpbm-docfix.patch Patch13: netpbm-fiasco-overflow.patch Patch14: netpbm-cmuwtopbm.patch Patch15: netpbm-pamtojpeg2k.patch #Patch16: netpbm-manfix.patch #Patch17: netpbm-manual-pages.patch Patch18: netpbm-jasper.patch #Patch19: netpbm-userguide.patch Patch20: netpbm-libdir-so.patch #Security fix BuildRoot: %{_tmppath}/%{name}-root BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, jasper-devel BuildRequires: libpng-devel, libX11-devel, libxml2-devel BuildRequires: flex, python, perl BuildRequires: ghostscript 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. Summary(ja): netpbm ライブラリを使うプログラムの開発ツール Group: programming 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 will also need to have the netpbm package installed. %package progs Summary: Tools for manipulating graphics files in netpbm supported formats. Summary(ja): netpbm でサポートするフォーマットの画像ファイルを操作するツール Group: graphics Requires: netpbm = %{version}-%{release} Requires: libpng libtiff libjpeg zlib perl bash 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 will also need to install the netpbm package. %package doc Summary: Documentation for manipulating graphics files with netpbm-progs formats Summary(ja): netpbm-progs による画像ファイル操作のドキュメント Group: documentation Requires: netpbm-progs = %{version}-%{release} %description doc The netpbm-doc package contains a documentation in HTML format for utilities present in netpbm-progs package. If you need to look into the HTML documentation, you should install netpbm-doc. You'll also need to install the netpbm-progs package. %debug_package %prep %autosetup -p1 rm -rf converter/other/jpeg2000/libjasper/ %build [ ! -f "/tmp/netpbm" ] && rm -rf /tmp/netpbm ./configure < pgmtopbm chmod 0755 pgmtopbm popd %check pushd test export LD_LIBRARY_PATH=%{buildroot}%{_libdir} export PBM_TESTPREFIX=%{buildroot}%{_bindir} export PBM_BINPREFIX=%{buildroot}%{_bindir} ./Execute-Tests && exit 0 popd %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT # clean builddir [ ! -f "/tmp/netpbm" ] && rm -rf /tmp/netpbm %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %license doc/GPL_LICENSE.txt %doc doc/copyright_summary doc/COPYRIGHT.PATENT doc/HISTORY README %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) %dir %{_includedir}/netpbm %{_includedir}/netpbm/*.h %{_libdir}/lib*.so %{_mandir}/man3/* %files progs %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man5/* %{_datadir}/netpbm/ %files doc %defattr(-,root,root) %doc userguide/* %changelog * Wed Sep 16 2020 Tomohiro "Tomo-p" KATO 10.86.16-1 - new upstream release. - re-imported all patches from RawHide. * Sat Jul 19 2014 Yoji TOYODA 10.61.02-2 - rebuild with libpng-1.6.12 * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO 10.61.02-1 - new upstream release. - shipped all patches from RawHide. * Mon Apr 18 2011 Tomohiro "Tomo-p" KATO 10.47.27-1 - new upstream release. - shipped all patches from Fedora development. - added a subpackage "netpbm-doc". - rebuilt with recent environment. * Sun Jul 27 2008 Shu KONNO 10.27-1vl5 - applied new versioning policy and spec in utf-8 * Sat Jul 28 2007 Ryoichi INAGAKI 10.27-0vl6 - changed progs package Group to Applications/Graphics * Sun Jan 07 2007 KAZUKI SHIMURA 10.27-0vl5 - make with LINUXSVGALIB=NONE not to depend on svgalib * Wed Dec 27 2006 Ryoichi INAGAKI 10.27-0vl4 - rebuilt for VineSeed * Thu Dec 21 2006 Satoshi IWAMOTO 10.27-0vl3.2 - add Vender/Distribution tag * Wed Dec 13 2006 Satoshi IWAMOTO 10.27-0vl3.1 - add patch200 for fix CVE-2005-2471 - add patch210 for fix CVE-2005-2978 - add patch220 for fix CVE-2005-3662 * Wed Dec 13 2006 Satoshi IWAMOTO 10.27-0vl3.0.1 - add patch110 for fix pnmcolormap segfault * Fri Aug 18 2006 KAZUKI SHIMURA 10.27-0vl3 - add BuildPrereq: flex - fix build on x86_64 * Mon Apr 25 2005 Daisuke SUZUKI 10.27-0vl2 - add Patch100 to use own rgb.txt as secondary rgb database. - add rgb.txt again, and move it to %%{_datadir}/netpbm/ - remove dependancy to XOrg-libs - remove unneeded printconf filters * Sun Apr 24 2005 Satoshi MACHINO 10.27-0vl1 - new upstream release -- added some patches from fedora - removed rgb.txt because it is included XOrg-libs - added XOrg-libs, libpng, libtiff, libjpeg, perl and bash to Requires of progs * Mon May 10 2004 Daisuke SUZUKI 10.18.12-0vl1 - new upstream release - build without svgalib * Thu Jan 08 2004 MATSUBAYASHI Kohji 10.18.4-0vl2 - modified build section for non-ix86 archtectures (svgalib is exclusive package for ix86 arch) * Sun Dec 28 2003 Ryoichi INAGAKI 10.18.4-0vl1 - update to 10.18.4 - rebuild with new toolchains * Tue Oct 14 2003 Ryoichi INAGAKI 10.11.15-0vl1 - update to 10.11.15 * Sun Jul 13 2003 Ryoichi INAGAKI 10.11.10-0vl1 - update to 10.11.10 - s/Copyright/License/ - fixed License to Artistic License/GPL/MIT (http://sourceforge.net/projects/netpbm/) - added URL * Thu May 1 2003 AKIYAMA Kazuhito 10.11.6-0vl2 - rebuild with libpng-1.2.5 (BuildPrereq: libpng-devel >= 1.2.5) * Fri Mar 14 2003 Ryoichi INAGAKI 10.11.6-0vl1 - update to 10.11.6 * Thu Dec 12 2002 Ryoichi INAGAKI 10.11.2-0vl1 - update to 10.11.2 * Sun Jun 09 2002 KOBAYASHI R. Taizo 9.24-4vl1 - merged with rawhide * Mon Feb 19 2001 Jun Nishii - 9.9-3vl1 - added Summary(ja) * 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) * Tue 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