spec files - syntax and generation