diff --git a/netpbm-10.32-pnmdepth.patch b/netpbm-10.32-pnmdepth.patch new file mode 100644 index 0000000..a83fd51 --- /dev/null +++ b/netpbm-10.32-pnmdepth.patch @@ -0,0 +1,12 @@ +--- netpbm-10.32/other/Makefile.pnmdepth 2006-01-03 23:47:15.000000000 +0100 ++++ netpbm-10.32/other/Makefile 2006-04-03 14:53:17.000000000 +0200 +@@ -66,7 +66,7 @@ + $(SYMLINK) pamsplit$(EXE) pnmsplit + # In February 2006, pamdepth replaced pnmdepth + cd $(PKGDIR)/bin ; \ +- rm -f pnmsdepth ; \ +- $(SYMLINK) pnmsdepth$(EXE) pnmdepth ++ rm -f pnmdepth ; \ ++ $(SYMLINK) pamdepth$(EXE) pnmdepth + + FORCE: diff --git a/netpbm.spec b/netpbm.spec index 30bda38..37b7c4e 100644 --- a/netpbm.spec +++ b/netpbm.spec @@ -1,7 +1,7 @@ Summary: A library for handling different graphics file formats. Name: netpbm Version: 10.32 -Release: 1 +Release: 2 License: freeware Group: System Environment/Libraries URL: http://netpbm.sourceforge.net/ @@ -21,6 +21,7 @@ Patch10: netpbm-10.28-CAN-2005-2471.patch Patch11: netpbm-10.29-pnmtopng.patch Patch12: netpbm-10.30-rgbtxt.patch Patch13: netpbm-10.31-xwdfix.patch +Patch14: netpbm-10.32-pnmdepth.patch Buildroot: %{_tmppath}/%{name}-root BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, perl, flex Obsoletes: libgr @@ -78,6 +79,7 @@ netpbm-progs. You'll also need to install the netpbm package. %patch11 -p1 -b .pnmtopng %patch12 -p1 -b .rgbtxt %patch13 -p1 -b .xwdfix +%patch14 -p1 -b .pnmdepth ##mv shhopt/shhopt.h shhopt/pbmshhopt.h ##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile @@ -176,6 +178,9 @@ rm -rf $RPM_BUILD_ROOT/usr/config_template %{_mandir}/man5/* %changelog +* Mon Apr 3 2006 Jindrich Novy 10.32-2 +- fix broken symlink in upstream: pnmsdepth -> pamdepth (#187667) + * Tue Feb 28 2006 Jindrich Novy 10.32-1 - update to 10.32 - drop .msbmp patch, applied upstream