Step to build RPM

Compile & Install source code locally
Make a patch od necessary changes
Make a .spec file – how bild the package
Build package –  rpm command with -bild