Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37663987
en ru br
ALT Linux repos
5.0: 1.4.3-alt0.cvs20090417.M50.1
4.1: 1.4.3-alt0.cvs20090417.M41.1
4.0: 1.4.1-alt1.0

Group :: Communications
RPM: kannel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# $Id: kannel.spec 2836 2005-01-17 11:53:55Z dude $
# Authority: matthias

Summary: WAP and SMS gateway
Name: kannel
Version: 1.4.1
Release: alt1.0
License: Kannel
Group: Communications
URL: http://www.kannel.org/
Source: http://www.kannel.org/download/%version/gateway-%version.tar.bz2

BuildRequires: linux-libc-headers openjade transfig
BuildRequires: ImageMagick docbook-style-dsssl flex libMySQL-devel libpq-devel
BuildRequires: libxml2-devel openjade postgresql-devel sqlite-devel tetex-dvips
BuildRequires: transfig zlib-devel bison byacc openssl-devel pcre-devel

%description
The Kannel Open Source WAP and SMS gateway works as both an SMS gateway, for
implementing keyword based services via GSM text messages, and a WAP gateway,
via UDP. The SMS part is fairly mature, the WAP part is early in its
development. In this release, the GET request for WML pages and WMLScript
files via HTTP works, including compilation for WML and WMLScript to binary
forms. Only the data call bearer (UDP) is supported, not SMS.


%package devel
Summary: Development files for the kannel WAP and SMS gateway
Group: Development/C
Requires: %name = %version

%description devel
The Kannel Open Source WAP and SMS gateway works as both an SMS gateway, for
implementing keyword based services via GSM text messages, and a WAP gateway,
via UDP. The SMS part is fairly mature, the WAP part is early in its
development. In this release, the GET request for WML pages and WMLScript
files via HTTP works, including compilation for WML and WMLScript to binary
forms. Only the data call bearer (UDP) is supported, not SMS.

Install this package if you need to develop or recompile applications that
use the kannel WAP and SMS gateway.


%prep
%setup -n gateway-%version

%build
%configure \
   --disable-start-stop-daemon \
   --with-sqlite \
   --with-mysql \
   --with-pgsql
%make_build

%install
%makeinstall

#post

#if [ $1 -eq 1 ]; then
#   /sbin/chkconfig --add foobar
#fi
                                                                               
#preun
#if [ $1 -eq 0 ]; then
#   /sbin/service foobar stop >/dev/null 2>&1 || :
#   /sbin/chkconfig --del foobar
#fi
                                                                               
#postun
#if [ $1 -ge 1 ]; then
#   /sbin/service foobar condrestart >/dev/null 2>&1 || :
#fi


%files
%doc AUTHORS COPYING ChangeLog NEWS README STATUS
%_bindir/*
%_sbindir/*
%_mandir/man?/*

%files devel
%_includedir/kannel/
%dir %_libdir/kannel/
%_libdir/kannel/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin