Thanks guys. I'm going over the spec from altlinux, but its slow going, never 
made an rpm before.

I'm having trouble sorting out exactly which files I should be bundling into 
the rpm.
That spec file has:
Source: gateway-%version.tar.bz2
Source1: config-%version.tar.bz2
Source2: bearerbox.init
Source3: smsbox.init
Source4: kannel.init
Source5: kannel.logrotate
Source6: kannel.monit

None of those are part of the kannel dir structure / build system though so I 
assume there is another script being run somewhere that tars the necessary 
files and whatnot?






________________________________
 From: Rene Kluwen <[email protected]>
To: 'spameden' <[email protected]>; 'Brian McCavour' <[email protected]> 
Cc: [email protected] 
Sent: Tuesday, January 22, 2013 8:40:57 AM
Subject: RE: Build - RPM
 
For sqlbox and opensmppbox "make rpm" should work.
I think for Kannel itself it doesn't work (anymore).

== Rene

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of spameden
Sent: maandag 21 januari 2013 21:39
To: Brian McCavour
Cc: [email protected]
Subject: Re: Build - RPM

there is an spec.rpm for altlinux, you can modify it for centos or any other
RPM-based distro:

https://github.com/blinohod/kannel-altlinux

2013/1/22 Brian McCavour <[email protected]>:
> Hi,
>
> Bunch of build-deploy questions.
> I want to re-create the rpm as it is when downloading the binary. Is 
> there a rpm spec file or anything around?
>
> Can I just run make, and tar/gz the gw/bearerbox, gw/smsbox, and 
> gw/wapbox binaries? Or do I need other files?
> I'm not sure if maybe this is the wrong target, since when I run 
> bearerbox directly from gw dir, the -d flag doesn't seem to 
> work.Although I just realized maybe I need to separately start it after
using this flag?
>
> Also when I do make install, it copies files kind of all over, .h 
> files and everything, which I found a bit odd, but I'm not too 
> experienced with either linux or C unfortunately (yet)
>
>
> Thanks for any assistance,
> Brian

Reply via email to