================================================================================
                                    rpmbuild
================================================================================

rpmbuild need a filestructure located in the $HOME directory (by default)

To build the filestructure:
$ mkdir ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}

BUILD: Used for source compilation
RPMS: Generated binary RPM packages
SOURCES: Source files
SPECS: .spec files
SRPMS: Source RPM after build

Building a package from a .spec file:
$ rpmbuild -ba <optional_name>.spec

This will use the .spec file and execute the instructions.
-b to use a .spec file
-a for a full build
