To build RPM use:

tar cvzf SDL_gfx-2.0.20.tar.gz SDL_gfx-2.0.20


cp SDL_gfx-2.0.20.tar.gz /usr/src/RPM/SOURCES/SDL_gfx-2.0.20.tar.gz
	or
cp SDL_gfx-2.0.20.tar.gz /usr/src/redhat/SOURCES/SDL_gfx-2.0.20.tar.gz


rpm -ba SDL_gfx-2.0.20/SDL_gfx.spec
	or
rpmbuild -ba SDL_gfx-2.0.20/SDL_gfx.spec

