]> git.pld-linux.org Git - packages/asterisk.git/blame_incremental - asterisk.spec
- spec cleanups
[packages/asterisk.git] / asterisk.spec
... / ...
CommitLineData
1# TODO:
2# - cgi-bin package - separate, because of suid-root
3# - separate plugins into packages
4# - use shared versions of lpc10, gsm,...
5# - put chan_h323 into separate package and make obsoletes to chan_oh323 from external spec
6# These two h323 plugin are conflicting...
7# - CFLAGS passing
8
9%bcond_without openh323
10
11Summary: Asterisk PBX
12Summary(pl): Centralka (PBX) Asterisk
13Name: asterisk
14Version: 1.0.0
15Release: 1
16License: GPL v2
17Group: Applications/System
18Source0: ftp://ftp.digium.com/pub/%{name}/%{name}-%{version}.tar.gz
19# Source0-md5: 7d14fb592d3922b5c16bb0423467a165
20Source1: %{name}.init
21Source2: %{name}.sysconfig
22Patch0: %{name}-openh323-makefile.patch
23# It's included, but these sources are broken by me :)
24# will fit on clean cvs source
25#Patch1: %{name}-DESTDIR.patch
26#Patch2: %{name}-Makefile2.patch
27URL: http://www.asterisk.org/
28BuildRequires: bison
29BuildRequires: gawk
30#BuildRequires: glib-devel
31#BuildRequires: gtk+-devel
32BuildRequires: libpri-devel
33BuildRequires: mysql-devel
34BuildRequires: ncurses-devel
35BuildRequires: openssl-devel >= 0.9.7d
36BuildRequires: speex-devel
37BuildRequires: zaptel-devel
38BuildRequires: zlib-devel
39# These libraries are crazy...
40# With openh323 1.11.7 and pwlib 1.4.11 i had sig11
41#BuildRequires: openh323-devel = 1.10.4
42#BuildRequires: pwlib-devel = 1.4.4
43%{?with_h323:BuildRequires: openh323-devel}
44%{?with_h323:BuildRequires: pwlib-devel}
45PreReq: rc-scripts
46Requires(post,preun): /sbin/chkconfig
47%{?with_h323:%requires_eq openh323}
48%{?with_h323:%requires_eq pwlib}
49BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
51%description
52Asterisk is an Open Source PBX and telephony development platform that
53can both replace a conventional PBX and act as a platform for
54developing custom telephony applications for delivering dynamic
55content over a telephone similarly to how one can deliver dynamic
56content through a web browser using CGI and a web server.
57
58Asterisk talks to a variety of telephony hardware including BRI, PRI,
59POTS, and IP telephony clients using the Inter-Asterisk eXchange
60protocol (e.g. gnophone or miniphone). For more information and a
61current list of supported hardware, see http://www.asterisk.org/.
62
63%description -l pl
64