]>
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.9 | |
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: 0d7f1c680ae53a739f26a069ef8b580a | |
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 | Patch4: %{name}-openh323-formats.patch | |
28 | Patch5: %{name}-openh323-rtti.patch | |
29 | Patch6: %{name}-freetds.patch | |
30 | Patch7: %{name}-t30.patch | |
31 | # It's included, but these sources are broken by me :) | |
32 | # will fit on clean cvs source | |
33 | #Patch1: %{name}-DESTDIR.patch | |
34 | #Patch2: %{name}-Makefile2.patch | |
35 | URL: http://www.asterisk.org/ | |
36 | BuildRequires: bison | |
37 | BuildRequires: freetds >= 0.63 | |
38 | BuildRequires: gawk | |
39 | #BuildRequires: glib-devel | |
40 | #BuildRequires: gtk+-devel | |
41 | BuildRequires: libpri-devel | |
42 | BuildRequires: mysql-devel | |
43 | BuildRequires: ncurses-devel | |
44 | BuildRequires: openssl-devel >= 0.9.7d | |
45 | BuildRequires: sed >= 4.0 | |
46 | BuildRequires: speex-devel | |
47 | BuildRequires: spandsp-devel >= 0.0.2-0.pre20.1 | |
48 | BuildRequires: spandsp-devel < 0.0.3 | |
49 | BuildRequires: unixODBC-devel | |
50 | BuildRequires: zaptel-devel | |
51 | BuildRequires: zlib-devel | |
52 | #BuildRequires: mpg123 | |
53 | # These libraries are crazy... | |
54 | # With openh323 1.11.7 and pwlib 1.4.11 i had sig11 | |
55 | #BuildRequires: openh323-devel = 1.10.4 | |
56 | #BuildRequires: pwlib-devel = 1.4.4 | |
57 | %{?with_openh323:BuildRequires: openh323-devel} | |
58 | %{?with_openh323:BuildRequires: pwlib-devel} | |
59 | PreReq: rc-scripts | |
60 | Requires(post,preun): /sbin/chkconfig | |
61 | %{?with_openh323:%requires_eq openh323} | |
62 | %{?with_openh323:%requires_eq pwlib} | |
63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
64 | ||
65 | %description | |
66 | Asterisk is an Open Source PBX and telephony development platform that | |
67 | can both replace a conventional PBX and act as a platform for | |
68 | developing custom telephony applications for delivering dynamic | |
69 | content over a telephone similarly to how one can deliver dynamic | |
70 | content through a web browser using CGI and a web server. | |
71 | ||
72 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
73 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
74 | protocol (e.g. gnophone or miniphone). For more information and a | |
75 | current list of supported hardware, see http://www.asterisk.org/. | |
76 | ||
77 | %description -l pl | |
78 |