- add missing flex BuildRequires

- fix anytopnm to recognize ms-bmp files (#182060)
This commit is contained in:
Jindrich Novy 2006-02-20 11:05:18 +00:00
parent cc79db1d6c
commit 9761fe0d3b

View File

@ -1,7 +1,7 @@
Summary: A library for handling different graphics file formats. Summary: A library for handling different graphics file formats.
Name: netpbm Name: netpbm
Version: 10.31 Version: 10.31
Release: 4 Release: 5
License: freeware License: freeware
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://netpbm.sourceforge.net/ URL: http://netpbm.sourceforge.net/
@ -21,8 +21,9 @@ Patch10: netpbm-10.28-CAN-2005-2471.patch
Patch11: netpbm-10.29-pnmtopng.patch Patch11: netpbm-10.29-pnmtopng.patch
Patch12: netpbm-10.30-rgbtxt.patch Patch12: netpbm-10.30-rgbtxt.patch
Patch13: netpbm-10.31-xwdfix.patch Patch13: netpbm-10.31-xwdfix.patch
Patch14: netpbm-10.31-msbmp.patch
Buildroot: %{_tmppath}/%{name}-root Buildroot: %{_tmppath}/%{name}-root
BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, perl, flex
Obsoletes: libgr Obsoletes: libgr
%description %description
@ -78,6 +79,7 @@ netpbm-progs. You'll also need to install the netpbm package.
%patch11 -p1 -b .pnmtopng %patch11 -p1 -b .pnmtopng
%patch12 -p1 -b .rgbtxt %patch12 -p1 -b .rgbtxt
%patch13 -p1 -b .xwdfix %patch13 -p1 -b .xwdfix
%patch14 -p1 -b .msbmp
##mv shhopt/shhopt.h shhopt/pbmshhopt.h ##mv shhopt/shhopt.h shhopt/pbmshhopt.h
##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile ##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
@ -176,6 +178,10 @@ rm -rf $RPM_BUILD_ROOT/usr/config_template
%{_mandir}/man5/* %{_mandir}/man5/*
%changelog %changelog
* Mon Feb 20 2006 Jindrich Novy <jnovy@redhat.com> 10.31-5
- add missing flex BuildRequires
- fix anytopnm to recognize ms-bmp files (#182060)
* Tue Feb 14 2006 Jindrich Novy <jnovy@redhat.com> 10.31-4 * Tue Feb 14 2006 Jindrich Novy <jnovy@redhat.com> 10.31-4
- make xwdtopnm work on x86_64 (#181001) - make xwdtopnm work on x86_64 (#181001)