Build cleanup: properly set permissions on installed directories; eliminate duplicate file warnings from rpmbuild; clean target removes more generated build artifacts.