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