build script and supporting files extended for rpms