How to build a signed rpm from scratch by building a source archive using Red Hat Linux
Below explains every field of an rpm in detail Understanding an rpm package There are two types of RPM packages: source RPM (SRPM) binary RPM SRPMs and binary RPMs share the file format and tooling,