add fedora layout file

please merge for 1.8 branch too.