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