To compile this program under Redhat 9, add the following packages for 
a default install. I included the dependencies as well.

gnome-libs-devel
gtk+-devel
gtk2-devel

esound-devel
pango-devel
atk-devel
ORBit-devel
libungif-devel
glib-devel
libjpeg-devel
libtiff-devel
XFree86-devel

create the file ~/.rpmmacros and put the following line in it. 
%debug_package %{nil}


You should then be able to type either of the following to rebuild the package.

rpmbuild -ta fpm-0.xx.tar.gz

or

rpmbuild --rebuild fpm-0.xx.src.rpm

