]> git.pld-linux.org Git - packages/asterisk.git/blame - asterisk.spec
- made reload work better (thanks caleb@chiefworks.com)
[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
8ac733fc 8
180084a5 9%bcond_without openh323
10
8ac733fc 11Summary: Asterisk PBX
de95e0fb 12Summary(pl): Centralka (PBX) Asterisk
8ac733fc 13Name: asterisk
e548f8fc 14Version: 1.0
ca67c6bb 15%define snap 20040828
e548f8fc 16Release: 0.%{snap}.1
8ac733fc
PG
17License: GPL v2
18Group: Applications/System
e548f8fc 19#Source0: ftp://ftp.asterisk.org/pub/telephony/asterisk/%{name}-%{version}.tar.gz
20Source0: %{name}-%{snap}.tar.gz
ca67c6bb 21# Source0-md5: a9b7841b26dea4d92530a46956399da7
a838f328 22#Source0: %{name}-%{version}.tar.bz2
48b81789
PG
23Source1: %{name}.init
24Source2: %{name}.sysconfig
a838f328 25Patch0: %{name}-openh323-makefile.patch
a0ad6913
PG
26# It's included, but these sources are broken by me :)
27# will fit on clean cvs source
28#Patch1: %{name}-DESTDIR.patch
a838f328 29#Patch2: %{name}-Makefile2.patch
de95e0fb 30URL: http://www.asteriskpbx.com/
7346b8fc 31BuildRequires: bison
32BuildRequires: gawk
a838f328 33#BuildRequires: glib-devel
34#BuildRequires: gtk+-devel
e548f8fc 35BuildRequires: libpri-devel
82475f50
PG
36BuildRequires: mysql-devel
37BuildRequires: ncurses-devel
12ec33bf 38BuildRequires: openssl-devel >= 0.9.7d
82475f50 39BuildRequires: speex-devel
e548f8fc 40BuildRequires: zaptel-devel
82475f50 41BuildRequires: zlib-devel
1492c66b
PG
42# These libraries are crazy...
43# With openh323 1.11.7 and pwlib 1.4.11 i had sig11
a838f328 44#BuildRequires: openh323-devel = 1.10.4
45#BuildRequires: pwlib-devel = 1.4.4
180084a5 46%{?with_h323:BuildRequires: openh323-devel}
47%{?with_h323:BuildRequires: pwlib-devel}
b9bcfe5b
JB
48PreReq: rc-scripts
49Requires(post,preun): /sbin/chkconfig
180084a5 50%{?with_h323:%requires_eq openh323}
51%{?with_h323:%requires_eq pwlib}
8ac733fc
PG
52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54%description
55Asterisk is an Open Source PBX and telephony development platform that
56can both replace a conventional PBX and act as a platform for
57developing custom telephony applications for delivering dynamic
58content over a telephone similarly to how one can deliver dynamic
59content through a web browser using CGI and a web server.
60
61Asterisk talks to a variety of telephony hardware including BRI, PRI,
62POTS, and IP telephony clients using the Inter-Asterisk eXchange
63protocol (e.g. gnophone or miniphone). For more information and a
de95e0fb
JB
64current list of supported hardware, see http://www.asteriskpbx.com/.
65
66%description -l pl
67