[packaging] add debug packages and copyright, use lto
Merge pull request #1 from wsnipex/macros

[packaging] add debug packages and copyright, use lto