[opensuse-packaging] packaging mongoDB
Hi, I am attempting to package mongoDb and have some questions. The source tarball has an rpm directory with a spec file (mongo.spec). I created my own spec file that contains some minor changes w.r.t. naming but other than that is pretty much the same as the .spec file supplied by the project. Was this the right thing to do or is there a better way? I left the rpm directory including the spec file in the tarball (which I re-packed) and when building the project (https://build.opensuse.org/package/show?package=mongoDB&project=home%3Arjschwei%3AmongoDB) OBS is running into a conflict between the spec file of the project and the one I created. This ties into the previous question I guess, but I'll ask anyway. Should I just get rid of the original spec file, or rename it, or should I get rid of my spec file? But then I think I need a spec file to get things going, just uploading a tarball is not useful. I linked js from the OSSP project. Initially I had an expansion error w.r.t. the missing js-devel package. Thus I take it if I wanted mongoDB in the distribution I'd also have to get the developers of the OSSP project to submit the js package to the distribution, correct? Help is appreciated. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Mon, Apr 5, 2010 at 1:46 PM, Robert Schweikert
Hi,
I am attempting to package mongoDb and have some questions.
The source tarball has an rpm directory with a spec file (mongo.spec). I created my own spec file that contains some minor changes w.r.t. naming but other than that is pretty much the same as the .spec file supplied by the project.
Was this the right thing to do or is there a better way?
I left the rpm directory including the spec file in the tarball (which I re-packed) and when building the project (https://build.opensuse.org/package/show?package=mongoDB&project=home%3Arjschwei%3AmongoDB) OBS is running into a conflict between the spec file of the project and the one I created. This ties into the previous question I guess, but I'll ask anyway. Should I just get rid of the original spec file, or rename it, or should I get rid of my spec file? But then I think I need a spec file to get things going, just uploading a tarball is not useful.
I linked js from the OSSP project. Initially I had an expansion error w.r.t. the missing js-devel package. Thus I take it if I wanted mongoDB in the distribution I'd also have to get the developers of the OSSP project to submit the js package to the distribution, correct?
Help is appreciated. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU
I'd like to generalize Robert's question. I am part of a project that is creating the original source, makefiles, etc. When I am satisfied with the specfile I create for OBS, how should I put it back into my project. Just create a specfile in the root? Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, Am 05.04.2010 19:46, schrieb Robert Schweikert:
I am attempting to package mongoDb and have some questions.
[...]
I linked js from the OSSP project. Initially I had an expansion error w.r.t. the missing js-devel package. Thus I take it if I wanted mongoDB in the distribution I'd also have to get the developers of the OSSP project to submit the js package to the distribution, correct?
We have the Spidermonkey/Tracemonkey JS library in openSUSE already. Please check if you can use it. The Factory package you need to BuildRequires is mozilla-xulrunner192-devel If mongoDb uses pkgconfig to find the stuff everything should work if you can point it to mozilla-js.pc. If it's not using pkgconfig you need to take care of locating the library yourself and use rpath to the lib location where needed. Wolfgang -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
hi, i am already working on a mongodb package for a while, i already started working on a patch to use libmozjs. since last week we also got a package of libmozjs that doesnt pull in the whole distro. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Marcus Rueckert wrote:
hi,
i am already working on a mongodb package for a while, i already started working on a patch to use libmozjs.
OK, cool, no work for me. Still leaves my questions un-answerd. If a source tarball has a spec file, what is the process to deal with it? Lets say the package names are not what we would want in openSUSE. Thanks, Robert
since last week we also got a package of libmozjs that doesnt pull in the whole distro.
darix
-- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-04-06 09:49:58 -0400, Robert Schweikert wrote:
Marcus Rueckert wrote:
hi,
i am already working on a mongodb package for a while, i already started working on a patch to use libmozjs.
OK, cool, no work for me.
Still leaves my questions un-answerd.
If a source tarball has a spec file, what is the process to deal with it? Lets say the package names are not what we would want in openSUSE.
we package according to our policies. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Marcus Rueckert wrote:
On 2010-04-06 09:49:58 -0400, Robert Schweikert wrote:
Marcus Rueckert wrote:
hi,
i am already working on a mongodb package for a while, i already started working on a patch to use libmozjs. OK, cool, no work for me.
Still leaves my questions un-answerd.
If a source tarball has a spec file, what is the process to deal with it? Lets say the package names are not what we would want in openSUSE.
we package according to our policies.
Sorry this is not very helpful. I must be missing a document that is obvious to you that tells people how to deal with the problem I ran across with mongoDB in a general way. A pointer is much appreciated. Thanks, Robert
darix
-- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Greg Freemyer
-
Marcus Rueckert
-
Robert Schweikert
-
Wolfgang Rosenauer