Stumbled upon this. And also this project via this post Which might be all the ingredients to produce a spec file.