SRPMs (source RPMs) contain the build scripts, and can be installed/unpacked the same as binary RPMs. From talking with others, though, I'm not sure how many distros actually use SRPMs. Some put their spec files (the build script) and sources in either tarballs or version control.
All I need are some links...
Darrell