There is tutorial https://en.opensuse.org/openSUSE:Build_Service_Tutorial, if something is not clear to you feel free to ask at opensuse-packaging@opensuse.org.