Create binary RPM

Hi,

I’ve pre-compiled an application. I don’t wan’t to distribute the sources. I just want to make a RPM file with my propietary app so the users can install it using the OpenSUSE’s Yast package manager.

I just have two files I want to add to the RPM:

/home/me/myProject/MyProjectApp -> the executable
/home/me/myProject/readme.txt -> Some instructions

I want these to be installed at:

/opt/MyProject/MyProjectApp
/opt/MyProject/readme.txt

and auto-install the depencency libqt4 >= 4.6.3

How can I do this with the Build Service, pls?:shame:
thx:

OBS will not allow installation to /opt (at least for newer distributions).

Should be done automatically by “build”, otherwise use the “AutoReqprov”-macro.

Before thinking about distributing anything via OBS, you should be at least familiar with basic packaging workflows (at least for RPM), some information about OBS can be found here:

Portal[noparse]:P[/noparse]ackaging - openSUSE

But most important:

Forget about OBS then, non-OSS software should not be distributed there.

There are exceptions, but they need explicit approval (by ?, not sure).

On 2010-10-26 09:06, pelotoescogorciao wrote:

> How can I do this with the Build Service, pls?:shame:

You can not do that using the buildservice, as your app is proprietary.
Use plain rpm tools.

Notice that you have to comply with licensing rules, some packages
forbid linking by proprietary apps.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)