]> git.pld-linux.org Git - packages/kannel.git/blame - kannel.spec
- new bcond style
[packages/kannel.git] / kannel.spec
CommitLineData
9468b827 1# TODO:
2# - upgrade to 1.2.2
3# - check file list when built with docs
8961ecde 4#
5# Conditional build:
6%bcond_with doc # build documentation
7%bcond_with openssl # link against openssl (requires multithreaded libs)
8%bcond_without mysql # don't link against mysql
9#
9468b827 10Summary: SMS/WAP gateway
51a540df
AM
11Summary(pl): Bramka WAP oraz SMS
12Name: kannel
13Version: 1.2.0
54e7fd10 14Release: 5
e4b5efdb 15License: BSD-like (see COPYING)
51a540df 16Group: Networking/Daemons
9468b827 17Source0: http://www.kannel.org/download/%{version}/gateway-%{version}.tar.gz
ca4c70af 18# Source0-md5: 963502f15909ff3e53f5f7b2d8bdb218
51a540df 19Source1: %{name}.init
9468b827 20Source2: %{name}.sysconfig
21Source3: %{name}.conf
40c9dbce
JB
22Patch0: %{name}-types.patch
23Patch1: %{name}-nolibs.patch
27eb402a 24URL: http://www.kannel.org/
51a540df 25BuildRequires: ImageMagick
27eb402a 26BuildRequires: libxml2-devel
40c9dbce 27BuildRequires: autoconf
8961ecde 28%{?with_mysql:BuildRequires: mysql-devel}
29%{?with_doc:BuildRequires: openjade}
9468b827 30# requires multithread enabled openssl (?)
8961ecde 31%{?with_openssl:BuildRequires: openssl-devel}
9468b827 32BuildRequires: zlib-devel
27eb402a 33Requires(post,preun): /sbin/chkconfig
51a540df
AM
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
fb10c3c2 37Kannel is an Open Source SMS/WAP gateway. WAP is short for Wireless
38Application Protocol. It lets the phone act as a simple hypertext
39browser, but optimizes the markup language, scripting language, and
40the transmission protocols for wirelessuse. The optimized protocols
41are translated to normal Internet protocols by a WAP gateway. Kannel
42also works as a SMS gateway for GSM networks. Almost all GSM phones
43can send and receive SMS messages, so this is a way to serve many more
44clients than just those using WAP phones.
51a540df
AM
45
46%description -l pl
fb10c3c2 47