Re[2]: RedHat spec file

Oleg Titov <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Aleph Technology [http://www.aleph-tec.com]
Message-ID <[email protected]>
Dear Andy,

Sunday, February 2, 2003, 11:21:37 PM, you wrote:
AEJ> Oleg Titov wrote:
>> Hello Kannel list,
>>    I was looking for kannel-*.rpm package and was unable to find it.
AEJ> I think there was an rpm version with kannel-1.2.0 as the current stable
AEJ> version.
I was unable to find it on http://www.kannel.org . May be you remember
a direct link?

>>    I have downloaded v.1.3.0 sources and there I found 2 spec's files
>>    for RedHat system.
>>
>>    Let me ask some questions:

>>    2. Do you provide pre-build rpm files?
>>
>>    3. Do you have a more recent spec file (I was unable to build using
>>    included files. As I plan to use Kannel on RedHat and I can made
>>    new spec file I would like to check first ;-)?
AEJ> Why not compile it?
I have tried to compile gateway-1.3.0.tar.gz right out of box without any
success with kannel-stable-rh7x.spec.

After some checks I found:

The Version should be corrected to 1.3.0

The start-stop-daemon.c do not compile by default (need to define
STARTSTOPDAMEONSRC in spec file or add architecture check in Makefile).

The include path for mysql.h should be corrected to --with-mysql=/usr in spec file.

I need also to add touch .depend;make depend in %build section .

It's desirable to have
make DESTDIR=$RPM_BUILD_ROOT MANDIR=/usr/local/man STARTSTOPDAEMONSRC=utils/start-stop-daemon.c install
line in %install section

TODO was missing from %doc section

That's why I am asking about more recent spec file for kannel.
-- 
Best regards,
 Oleg                            mailto:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.