First batch of spec file structure and dependency fixes

* Make sure packages define -devel subpackages where needed
* Make sure that BuildRequires dependencies refer to -devel packages when appropriate
* Rename library packages to match Fedora naming conventions