- use bcond for doc and prof build flags (Till Maas, #426751)
- add build_prof and build_doc - prof requires main package - update scriptlet macro names