I have never created an RPM file [never felt the need to

]. However, I now have this folder structure of some directories which I need to convert into an RPM so that it can be installed in some other machine.
More clearly, I have the following directory structure within my "source" directory [the one to be packaged].
0/
1/
2/
3/
4/
5/
6/
7/
8/
9/
Each of them is a directory with depth "n" [constant across all the directories]. I need to create an RPM such that it will install this directory structure into some path in a different machine.
I would appreciate a simple step by step guide for this.
Thanks