I want to build OpenSuse RPMs for Gnome-Inform7, the problem being I’m kind of ignorant as far as spec files are concerned, and so the only thing I know how to do is to issue the command rpmbuild -ba. I’ve battled with the spec file (which the author told me works for Fedora) until I got one that builds an RPM. The RPM installs, but the gnome-inform still won’t run.
So I give up, I need help from someone who knows what to do next.
I’m actually the builder of that version. I didn’t have issues when building that one, but something changed and I can’t get my head around it. Before succeeding in building the RPM for this version, most of my errors were about Gconf. The spec file I posted here already is a altered version of the spec file you can find in the src.rpm in buildservice.
Hi
OK, so it needs a special compiler, because it’s a binary blob (ni) it
can’t be built on OBS, unless you can locate the ni source and build
that first.
I see they have an i586 openSUSE 11.4 on their site, or are you after
an x86_64 version? I would suggest approaching the inform7 folks and
ask them to produce an x86_64 version if that’s what you need. http://inform7.com/download/
OK, so it needs a special compiler, because it’s a binary blob (ni) it
can’t be built on OBS, unless you can locate the ni source and build
that first.
You just need to add the ni binary (here it is) to the /src/ni/ folder.
BTW, which spec file are you trying? The one with opensuse in the file name? That one has an old %files section. It should be replaced by the section in gnome-inform7.spec.
Hi
Yes, I know, I have downloaded the file, OBS terms and conditions/rules
preclude the use of binary blobs which is what ni is, so you are not
allowed to build on the openSUSE Build Service using ni unless it can
be build from source first Making sense?
Hi
Not a lot, the schemas install is just done the %gconf_schemas rpm macro, then catting it into a file list and appending to the files section.
I added the ni sources and just extracted the relevant arch version, then build and adding in the BuildRequires as it hits a missing file/lib.
Split out the lang files into it’s own package then once it builds add the files as required to the file lists instead of a huge list of individual files.
Ok, good to know it’s working
I was a little bit puzzled when I saw the request, since I had checked out the OBS before and was aware that binary blobs were not allowed. And still I don’t know why it was sent to me for approval
Leandro, feel free to add the new spec file to your checked-out git repo and send me a patch with git format-patch. I’ll commit it on your behalf.