changes to make custom program name to work.

call mspec with -t and custom program name.
fix spec to check custom program name.
Merge pull request #2856 from slaught/debian-build-with-program-name

changes to make custom program name work