core: add rpm spec files
This commit adds two spec files:
-
xpmem-lib.spec: builds user-space library RPM.
-
xpmem-kmod.spec: builds kernel module RPM.
This commit also adds a new configure option to support RPM builds: --<enable|disable>-kernel-module. This option prevents building/installing the kernel module.
Signed-off-by: Nathan Hjelm hjelmn@lanl.gov