[packaging] Build and package man pages
[packagekit] Add pattern and dist upgrade support