This is way more complicated than anything I've built so far, but not so complicated as to seem impossible, it will take me up a knotch. Examining all three spec files now.
Since it is your first, just don't get frustrated, I'll try to explain things as best I can as we go, but I will be learning with you.
I gotta do things wrong many times, till I understand why it's wrong, in this case, we could end up with a bunch of junk directories and files while trying different things from these foreign spec files.
I'm kind of hoping you're the kind of person that "just gets it" which I am not.