Add improved RPM package build script.
Merge pull request #707 from yohgaki/master

Add improved RPM package build script.