This packaging infrastructure relies on few basic tools.
Debian has all the necessary tooling build rpm and create the rpm repo. However CentOS doesn’t have the debian tooling.
What is detailed here is only the common tools used to build packages and repo. For each package, you need to install its own build dependencies (stuff like gcc, python-setuptools, etc) if building outside a chroot.
To install the Debian requirements:
# Debian/Ubuntu (deb) $ apt-get install make debhelper reprepro cowbuilder
To install the RHEL requirements:
# CentOS/RHEL (rpm) $ yum install rpm-sign expect rpm-build createrepo make mock # Fedora (rpm) $ dnf install rpm-sign expect rpm-build createrepo make mock