]>
Commit | Line | Data |
---|---|---|
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 | 11 | Summary: Asterisk PBX |
de95e0fb | 12 | Summary(pl): Centralka (PBX) Asterisk |
8ac733fc | 13 | Name: asterisk |
8c7a2ffa | 14 | Version: 1.0.0 |
15 | Release: 1 | |
8ac733fc PG |
16 | License: GPL v2 |
17 | Group: Applications/System | |
8c7a2ffa | 18 | Source0: ftp://ftp.digium.com/pub/%{name}/%{name}-%{version}.tar.gz |
19 | # Source0-md5: 7d14fb592d3922b5c16bb0423467a165 | |
48b81789 PG |
20 | Source1: %{name}.init |
21 | Source2: %{name}.sysconfig | |
a838f328 | 22 | Patch0: %{name}-openh323-makefile.patch |
a0ad6913 PG |
23 | # It's included, but these sources are broken by me :) |
24 | # will fit on clean cvs source | |
25 | #Patch1: %{name}-DESTDIR.patch | |
a838f328 | 26 | #Patch2: %{name}-Makefile2.patch |
8c7a2ffa | 27 | URL: http://www.asterisk.org/ |
7346b8fc | 28 | BuildRequires: bison |
29 | BuildRequires: gawk | |
a838f328 | 30 | #BuildRequires: glib-devel |
31 | #BuildRequires: gtk+-devel | |
e548f8fc | 32 | BuildRequires: libpri-devel |
82475f50 PG |
33 | BuildRequires: mysql-devel |
34 | BuildRequires: ncurses-devel | |
12ec33bf | 35 | BuildRequires: openssl-devel >= 0.9.7d |
82475f50 | 36 | BuildRequires: speex-devel |
e548f8fc | 37 | BuildRequires: zaptel-devel |
82475f50 | 38 | BuildRequires: zlib-devel |
1492c66b PG |
39 | # These libraries are crazy... |
40 | # With openh323 1.11.7 and pwlib 1.4.11 i had sig11 | |
a838f328 | 41 | #BuildRequires: openh323-devel = 1.10.4 |
42 | #BuildRequires: pwlib-devel = 1.4.4 | |
180084a5 | 43 | %{?with_h323:BuildRequires: openh323-devel} |
44 | %{?with_h323:BuildRequires: pwlib-devel} | |
b9bcfe5b JB |
45 | PreReq: rc-scripts |
46 | Requires(post,preun): /sbin/chkconfig | |
180084a5 | 47 | %{?with_h323:%requires_eq openh323} |
48 | %{?with_h323:%requires_eq pwlib} | |
8ac733fc PG |
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 | |
8c7a2ffa | 61 | current list of supported hardware, see http://www.asterisk.org/. |
de95e0fb JB |
62 | |
63 | %description -l pl | |
64 |