]>
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 |
f5a8d2bc | 15 | Version: 1.2.0 |
16 | Release: 1 | |
8ac733fc PG |
17 | License: GPL v2 |
18 | Group: Applications/System | |
8c7a2ffa | 19 | Source0: ftp://ftp.digium.com/pub/%{name}/%{name}-%{version}.tar.gz |
f5a8d2bc | 20 | # Source0-md5: 61d7f29b586ba9b9b5fbb67f952fd3ca |
48b81789 PG |
21 | Source1: %{name}.init |
22 | Source2: %{name}.sysconfig | |
f5a8d2bc | 23 | #Patch0: %{name}-openh323-makefile.patch |
c101d088 | 24 | Patch1: %{name}-Makefile_fix_gcc33.patch |
93f9bb41 | 25 | Patch2: %{name}-no_k6_on_sparc.patch |
5658cdd6 | 26 | Patch3: %{name}-lib.patch |
f5a8d2bc | 27 | #Patch4: %{name}-openh323-formats.patch |
28 | #Patch5: %{name}-openh323-rtti.patch | |
29 | #Patch6: %{name}-freetds.patch | |
30 | #Patch7: %{name}-t30.patch | |
8d0a3e58 | 31 | Patch8: %{name}-awk.patch |
f5a8d2bc | 32 | #Patch9: %{name}-noarch.patch |
a0ad6913 PG |
33 | # It's included, but these sources are broken by me :) |
34 | # will fit on clean cvs source | |
35 | #Patch1: %{name}-DESTDIR.patch | |
a838f328 | 36 | #Patch2: %{name}-Makefile2.patch |
8c7a2ffa | 37 | URL: http://www.asterisk.org/ |
7346b8fc | 38 | BuildRequires: bison |
8a8cbd07 | 39 | BuildRequires: freetds >= 0.63 |
7346b8fc | 40 | BuildRequires: gawk |
a838f328 | 41 | #BuildRequires: glib-devel |
42 | #BuildRequires: gtk+-devel | |
e3891e79 | 43 | BuildRequires: libpri-devel >= 1.2.0 |
82475f50 PG |
44 | BuildRequires: mysql-devel |
45 | BuildRequires: ncurses-devel | |
12ec33bf | 46 | BuildRequires: openssl-devel >= 0.9.7d |
591f7fb9 | 47 | BuildRequires: sed >= 4.0 |
82475f50 | 48 | BuildRequires: speex-devel |
848838a0 AM |
49 | BuildRequires: spandsp-devel >= 1:0.0.2-0.pre20.1 |
50 | BuildRequires: spandsp-devel < 1:0.0.3 | |
405b262e | 51 | BuildRequires: unixODBC-devel |
e548f8fc | 52 | BuildRequires: zaptel-devel |
82475f50 | 53 | BuildRequires: zlib-devel |
8690c79b | 54 | #BuildRequires: mpg123 |
1492c66b PG |
55 | # These libraries are crazy... |
56 | # With openh323 1.11.7 and pwlib 1.4.11 i had sig11 | |
a838f328 | 57 | #BuildRequires: openh323-devel = 1.10.4 |
58 | #BuildRequires: pwlib-devel = 1.4.4 | |
bd56a17b JB |
59 | %{?with_openh323:BuildRequires: openh323-devel} |
60 | %{?with_openh323:BuildRequires: pwlib-devel} | |
b9bcfe5b JB |
61 | PreReq: rc-scripts |
62 | Requires(post,preun): /sbin/chkconfig | |
bd56a17b JB |
63 | %{?with_openh323:%requires_eq openh323} |
64 | %{?with_openh323:%requires_eq pwlib} | |
8ac733fc PG |
65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66 | ||
67 | %description | |
68 | Asterisk is an Open Source PBX and telephony development platform that | |
69 | can both replace a conventional PBX and act as a platform for | |
70 | developing custom telephony applications for delivering dynamic | |
71 | content over a telephone similarly to how one can deliver dynamic | |
72 | content through a web browser using CGI and a web server. | |
73 | ||
74 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
75 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
76 | protocol (e.g. gnophone or miniphone). For more information and a | |
8c7a2ffa | 77 | current list of supported hardware, see http://www.asterisk.org/. |
de95e0fb JB |
78 | |
79 | %description -l pl | |
80 |