Converting .tar files into RPM

Hi guys,

Can anyone tell me, how .tar files could be convert into .RPM package.
Hoping soon replay with positive assistance.

Thanks.

maybe this will help you.

Convert source code (tar.gz) to a RPM installable Synapse ?