create a RPM archive from a running setup using checkinstall:
./configure make /usr/sbin/checkinstall [make install]