add xapi.spec

... this is going to need a lot of work.