Remove the auto packaging of directories

During spec generation, directories should not be auto packaged,
under the %file section of rpm packages.

* packages only empty directories or explict directory.
   See:
       - http://www.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html
       - "The %dir Directive"

* This will prevent the overlapping of security permission.
   For example, in Tizen the directory /etc have smack label 'System::Shared'
   So Only one package should own and set the label of /etc to prevent
   the overwriting of the smack label.

Change-Id: I07bd2eb3cc64d03155625130c228f7a92c6f1c31
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Add %manifest support for spec generation.

The manifest file allow custom smack security for a package.
    https://wiki.tizen.org/wiki/Security/Application_installation_and_Manifest

Change-Id: Ieaf320f5a3b4432606187f0e4705a00b958abc94
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Revert "Modify autotools for recipes compatibility outcome of spec file."

This reverts commit 5bdc7ec32ad049a6271cf629198b08e13df3440d.
Revert "Fix flex for pam build"

This reverts commit eb04ad03a9a9aee0a373c4bf9ddb0a09face02a8.
Revert "tmp Fix qemu native build"

This reverts commit 4f61c93e46d81e27f8a9aa82868ecc5c88aa9e64.