Steps to building an RPM
- run rpmdev-setuptree to create ~/rpmbuild and subdirectories
- place the source code in ~/rpmbuild/SOURCES
- cd ~/rpmbuild/SPECS
- create a skeleton spec file: rpmdev-newspec NAMEOFPACKAGE
- edit the spec file as appropriate
- build the package: rpmbuild -ba *.spec
After the build completes, there are some QA checks that can be performed, and cross-platform testing. Once the package has passed those hurdles, it can be submitted to Fedora for review and inclusion.