On Fri, Jan 18, 2008, Birger Krägelin wrote:

> I just built a daemon program, which we need on several servers.
>
> To build this peace of software is a bit complicated, I have no .spec
> yet.
>
> Just to install and run it, I have a binary (one version linked with
> -lfsl, one version traditional syslog), I have a config file and i have
> a prepared fsl and a rc file.
>
> I installed "by hand", but fsl and rc do not work. I suppose they need
> registration which is done, when a RPM gets installed.
>
> How to quickly build this type of binary RPM, which just consists of
> four files? I don't want to hack other files, just to start the daemon
> and to handle the syslog.

The simple way is to copy an arbitrary OpenPKG *.spec file (usually from
a similar package or at least one which also contains a run-command
script and FSL logging, e.g. qpopper) and then edit it to fit your
particular needs.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to