Wrote a small library which does what I need: https://github.com/kwrooijen/spec-signature Hopefully spec2 will make this obsolete, but for now this works 🙂