]>
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 |
e548f8fc | 14 | Version: 1.0 |
ca67c6bb | 15 | %define snap 20040828 |
e548f8fc | 16 | Release: 0.%{snap}.1 |
8ac733fc PG |
17 | License: GPL v2 |
18 | Group: Applications/System | |
e548f8fc | 19 | #Source0: ftp://ftp.asterisk.org/pub/telephony/asterisk/%{name}-%{version}.tar.gz |
20 | Source0: %{name}-%{snap}.tar.gz | |
ca67c6bb | 21 | # Source0-md5: a9b7841b26dea4d92530a46956399da7 |
a838f328 | 22 | #Source0: %{name}-%{version}.tar.bz2 |
48b81789 PG |
23 | Source1: %{name}.init |
24 | Source2: %{name}.sysconfig | |
a838f328 | 25 | Patch0: %{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 | 30 | URL: http://www.asteriskpbx.com/ |
7346b8fc | 31 | BuildRequires: bison |
32 | BuildRequires: gawk | |
a838f328 | 33 | #BuildRequires: glib-devel |
34 | #BuildRequires: gtk+-devel | |
e548f8fc | 35 | BuildRequires: libpri-devel |
82475f50 PG |
36 | BuildRequires: mysql-devel |
37 | BuildRequires: ncurses-devel | |
12ec33bf | 38 | BuildRequires: openssl-devel >= 0.9.7d |
82475f50 | 39 | BuildRequires: speex-devel |
e548f8fc | 40 | BuildRequires: zaptel-devel |
82475f50 | 41 | BuildRequires: 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 |
48 | PreReq: rc-scripts |
49 | Requires(post,preun): /sbin/chkconfig | |
180084a5 | 50 | %{?with_h323:%requires_eq openh323} |
51 | %{?with_h323:%requires_eq pwlib} | |
8ac733fc PG |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
54 | %description | |
55 | Asterisk is an Open Source PBX and telephony development platform that | |
56 | can both replace a conventional PBX and act as a platform for | |
57 | developing custom telephony applications for delivering dynamic | |
58 | content over a telephone similarly to how one can deliver dynamic | |
59 | content through a web browser using CGI and a web server. | |
60 | ||
61 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
62 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
63 | protocol (e.g. gnophone or miniphone). For more information and a | |
de95e0fb JB |
64 | current list of supported hardware, see http://www.asteriskpbx.com/. |
65 | ||
66 | %description -l pl | |
67 |