The basic syntax is similar to the %build, %install, and other sections of the rpm spec file.
The scripts support a special flag, -p which allows the scriptlet to invoke a single program
directly rather than having to spawn a shell to invoke the programs.(ie: %post -p /sbin/ldconfig)