[dcap] Tidied spec file and fixed sources.