This repository contains several specfiles that you can reuse as an starting point to write yours.
More documentation about specfile syntax can be found :
- redpesk documentation website chapter: SPEC file development
- Red Hat RPM documentation chapter: Packaging software