[qtdocgallery] Add rpm packaging rules.