use standard spacing
add conditionals for el5-only stuff
use macros for mkdir and install
use the %doc macro correctly
merge the mkdir and install commands