]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | Summary: Asterisk PBX | |
12 | Summary(pl): Centralka (PBX) Asterisk | |
13 | Name: asterisk | |
14 | Version: 1.0.0 | |
15 | Release: 1 | |
16 | License: GPL v2 | |
17 | Group: Applications/System | |
18 | Source0: ftp://ftp.digium.com/pub/%{name}/%{name}-%{version}.tar.gz | |
19 | # Source0-md5: 7d14fb592d3922b5c16bb0423467a165 | |
20 | Source1: %{name}.init | |
21 | Source2: %{name}.sysconfig | |
22 | Patch0: %{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 | |
27 | URL: http://www.asterisk.org/ | |
28 | BuildRequires: bison | |
29 | BuildRequires: gawk | |
30 | #BuildRequires: glib-devel | |
31 | #BuildRequires: gtk+-devel | |
32 | BuildRequires: libpri-devel | |
33 | BuildRequires: mysql-devel | |
34 | BuildRequires: ncurses-devel | |
35 | BuildRequires: openssl-devel >= 0.9.7d | |
36 | BuildRequires: speex-devel | |
37 | BuildRequires: zaptel-devel | |
38 | BuildRequires: 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} | |
45 | PreReq: rc-scripts | |
46 | Requires(post,preun): /sbin/chkconfig | |
47 | %{?with_h323:%requires_eq openh323} | |
48 | %{?with_h323:%requires_eq pwlib} | |
49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
50 | ||
51 | %description | |
52 | Asterisk is an Open Source PBX and telephony development platform that | |
53 | can both replace a conventional PBX and act as a platform for | |
54 | developing custom telephony applications for delivering dynamic | |
55 | content over a telephone similarly to how one can deliver dynamic | |
56 | content through a web browser using CGI and a web server. | |
57 | ||
58 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
59 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
60 | protocol (e.g. gnophone or miniphone). For more information and a | |
61 | current list of supported hardware, see http://www.asterisk.org/. | |
62 | ||
63 | %description -l pl | |
64 |