do not build/install unused stuff

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
[rpm] spec for git-minimal

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>