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