Add "apt" check command.

Refs #6002
Add missing files in the spec file.

Refs #6002