There is no rpm targets that I ca see in the Makefile (Rene Kluwen) I checked the 'make install' and compared it to the 'rpm -ql kannel' from a binary rpm I installed of kannel off kannel.org.
The difference are the doc/man files files that the rpm is including, but more importantly, everything in /etc/* /etc/kannel.conf /etc/logrotate.d/kannel /etc/rc.d/init.d/kannel It seems to be from the spc file directives: (although I can't find any refference for %_initdir) install -m 755 %SOURCE2 %buildroot%_initdir/kannel.bearerbox install -m 755 %SOURCE3 %buildroot%_initdir/kannel.smsbox install -m 755 %SOURCE4 %buildroot%_initdir/kannel install -m 755 %SOURCE5 %buildroot%_sysconfdir/logrotate.d/kannel install -m 755 %SOURCE6 %buildroot%_sysconfdir/monitrc.d/kannel Anyone know where the files are coming from? I'm just missing the step to put the source files in the rpm sources (I think), otherwise I've no idea what those files are. ________________________________ From: Brian McCavour <bmccav...@yahoo.com> To: Rene Kluwen <rene.klu...@chimit.nl>; 'spameden' <spame...@gmail.com> Cc: "devel@kannel.org" <devel@kannel.org> Sent: Tuesday, January 22, 2013 10:12:00 AM Subject: Re: Build - RPM 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 <rene.klu...@chimit.nl> To: 'spameden' <spame...@gmail.com>; 'Brian McCavour' <bmccav...@yahoo.com> Cc: devel@kannel.org 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: devel-boun...@kannel.org [mailto:devel-boun...@kannel.org] On Behalf Of spameden Sent: maandag 21 januari 2013 21:39 To: Brian McCavour Cc: devel@kannel.org 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 <bmccav...@yahoo.com>: > 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