Build Source Package
Most components of oVirt project use standard sequence to build rpms.
Summary of sequence is:
git clone
Note: If autoreconf is required, install autoconf, automake optionally gettext-devel packages.
Build RPM Package
rpmbuild -tb `<tarball>` # <-- will output rpms
Another useful command is createrepo which scans directory and prepare rpm repository that can be added to yum via /etc/yum.repos.d/xxx.repo
[xxx]
name=xxx `baseurl=`[`file:///location/of/repository`](file:///location/of/repository)
enabled=1
gpgcheck=0