]> git.pld-linux.org Git - packages/asterisk.git/blame - asterisk.spec
- Finished T.30 support
[packages/asterisk.git] / asterisk.spec
CommitLineData
8ac733fc
PG
1# TODO:
2# - cgi-bin package - separate, because of suid-root
ac237e7b 3# - separate plugins into packages
80067fcb 4# - use shared versions of lpc10, gsm,...
e69c9e7d
PG
5# - put chan_h323 into separate package and make obsoletes to chan_oh323 from external spec
6# These two h323 plugin are conflicting...
dd54f70d 7# - CFLAGS passing
fb0589cb
JB
8#
9# Conditional build:
10%bcond_without openh323 # without OpenH323 support
11#
8ac733fc 12Summary: Asterisk PBX
de95e0fb 13Summary(pl): Centralka (PBX) Asterisk
8ac733fc 14Name: asterisk
2ebbed48 15Version: 1.0.9
ea3339a6 16Release: 1
8ac733fc
PG
17License: GPL v2
18Group: Applications/System
8c7a2ffa 19Source0: ftp://ftp.digium.com/pub/%{name}/%{name}-%{version}.tar.gz
2ebbed48 20# Source0-md5: 0d7f1c680ae53a739f26a069ef8b580a
48b81789
PG
21Source1: %{name}.init
22Source2: %{name}.sysconfig
a838f328 23Patch0: %{name}-openh323-makefile.patch
c101d088 24Patch1: %{name}-Makefile_fix_gcc33.patch
93f9bb41 25Patch2: %{name}-no_k6_on_sparc.patch
5658cdd6 26Patch3: %{name}-lib.patch
d54a6170
AM
27Patch4: %{name}-openh323-formats.patch
28Patch5: %{name}-openh323-rtti.patch
d02718bb 29Patch6: %{name}-freetds.patch
405b262e 30Patch7: %{name}-t30.patch
a0ad6913
PG
31# It's included, but these sources are broken by me :)
32# will fit on clean cvs source
33#Patch1: %{name}-DESTDIR.patch
a838f328 34#Patch2: %{name}-Makefile2.patch
8c7a2ffa 35URL: http://www.asterisk.org/
7346b8fc 36BuildRequires: bison
8a8cbd07 37BuildRequires: freetds >= 0.63
7346b8fc 38BuildRequires: gawk
a838f328 39#BuildRequires: glib-devel
40#BuildRequires: gtk+-devel
e548f8fc 41BuildRequires: libpri-devel
82475f50
PG
42BuildRequires: mysql-devel
43BuildRequires: ncurses-devel
12ec33bf 44BuildRequires: openssl-devel >= 0.9.7d
591f7fb9 45BuildRequires: sed >= 4.0
82475f50 46BuildRequires: speex-devel
458ea1c7 47BuildRequires: spandsp-devel >= 0.0.2-0.pre20.1
48BuildRequires: spandsp-devel < 0.0.3
405b262e 49BuildRequires: unixODBC-devel
e548f8fc 50BuildRequires: zaptel-devel
82475f50 51BuildRequires: zlib-devel
8690c79b 52#BuildRequires: mpg123
1492c66b
PG
53# These libraries are crazy...
54# With openh323 1.11.7 and pwlib 1.4.11 i had sig11
a838f328 55#BuildRequires: openh323-devel = 1.10.4
56#BuildRequires: pwlib-devel = 1.4.4
bd56a17b
JB
57%{?with_openh323:BuildRequires: openh323-devel}
58%{?with_openh323:BuildRequires: pwlib-devel}
b9bcfe5b
JB
59PreReq: rc-scripts
60Requires(post,preun): /sbin/chkconfig
bd56a17b
JB
61%{?with_openh323:%requires_eq openh323}
62%{?with_openh323:%requires_eq pwlib}
8ac733fc
PG
63BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64
65%description
66Asterisk is an Open Source PBX and telephony development platform that
67can both replace a conventional PBX and act as a platform for
68developing custom telephony applications for delivering dynamic
69content over a telephone similarly to how one can deliver dynamic
70content through a web browser using CGI and a web server.
71
72Asterisk talks to a variety of telephony hardware including BRI, PRI,
73POTS, and IP telephony clients using the Inter-Asterisk eXchange
74protocol (e.g. gnophone or miniphone). For more information and a
8c7a2ffa 75current list of supported hardware, see http://www.asterisk.org/.
de95e0fb
JB
76
77%description -l pl
78