]>
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,... |
dd54f70d | 5 | # - CFLAGS passing |
7605fc79 AM |
6 | # - fix bluetooth patch |
7 | # - package commandline tools (aelparse etc.) | |
fb0589cb JB |
8 | # |
9 | # Conditional build: | |
7605fc79 AM |
10 | %bcond_with rxfax # without rx (also tx :-D) fax |
11 | %bcond_with bluetooth # without bluetooth support (NFT) | |
496d7f51 | 12 | |
cfc5e383 | 13 | %define _spandsp_version 0.0.2pre26 |
fb0589cb | 14 | # |
8ac733fc | 15 | Summary: Asterisk PBX |
de95e0fb | 16 | Summary(pl): Centralka (PBX) Asterisk |
8ac733fc | 17 | Name: asterisk |
7605fc79 AM |
18 | Version: 1.4.0 |
19 | Release: 1 | |
8ac733fc PG |
20 | License: GPL v2 |
21 | Group: Applications/System | |
7605fc79 AM |
22 | Source0: http://ftp.digium.com/pub/asterisk/releases/%{name}-%{version}.tar.gz |
23 | # Source0-md5: b4586be9bf00d438d6a53d408ba247d4 | |
48b81789 PG |
24 | Source1: %{name}.init |
25 | Source2: %{name}.sysconfig | |
7605fc79 AM |
26 | Source3: http://ftp.digium.com/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.4.1.tar.gz |
27 | # Source3-md5: 0ad81081773609a26d7d58d2086fd902 | |
28 | Source4: http://ftp.digium.com/pub/telephony/sounds/asterisk-moh-freeplay-wav.tar.gz | |
29 | # Source4-md5: e523fc2b4ac524f45da7815e97780540 | |
30 | Patch1: %{name}-configure.patch | |
93f9bb41 | 31 | Patch2: %{name}-no_k6_on_sparc.patch |
5658cdd6 | 32 | Patch3: %{name}-lib.patch |
8d0a3e58 | 33 | Patch8: %{name}-awk.patch |
496d7f51 | 34 | Source10: http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/app_txfax.c |
19b2566c | 35 | # Source10-md5: 8c8fcb263b76897022b4c28052a7b439 |
496d7f51 | 36 | Source11: http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/app_rxfax.c |
19b2566c AM |
37 | # Source11-md5: ab6983b51c412883545b36993d704999 |
38 | # http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/apps_Makefile.patch | |
39 | Patch10: %{name}-txfax-Makefile.patch | |
7605fc79 AM |
40 | Patch11: %{name}-fix-ptlib.patch |
41 | Patch12: %{name}-chan_bluetooth.patch | |
8c7a2ffa | 42 | URL: http://www.asterisk.org/ |
7605fc79 AM |
43 | BuildRequires: autoconf |
44 | BuildRequires: automake | |
7346b8fc | 45 | BuildRequires: bison |
7605fc79 | 46 | %{?with_bluetooth:BuildRequires: bluez-devel} |
8a8cbd07 | 47 | BuildRequires: freetds >= 0.63 |
7346b8fc | 48 | BuildRequires: gawk |
19b2566c | 49 | BuildRequires: gcc >= 5:3.4 |
7605fc79 AM |
50 | BuildRequires: iksemel-devel |
51 | BuildRequires: libpri-devel >= 1.2.4 | |
82475f50 PG |
52 | BuildRequires: mysql-devel |
53 | BuildRequires: ncurses-devel | |
12ec33bf | 54 | BuildRequires: openssl-devel >= 0.9.7d |
fa4054d8 | 55 | BuildRequires: rpmbuild(macros) >= 1.268 |
591f7fb9 | 56 | BuildRequires: sed >= 4.0 |
848838a0 | 57 | BuildRequires: spandsp-devel < 1:0.0.3 |
fa4054d8 | 58 | BuildRequires: spandsp-devel >= 1:0.0.2-0.pre20.1 |
7605fc79 | 59 | %{?with_rxfax:BuildRequires: spandsp-devel-%{_spandsp_version}} |
fa4054d8 | 60 | BuildRequires: speex-devel |
405b262e | 61 | BuildRequires: unixODBC-devel |
7605fc79 | 62 | BuildRequires: zaptel-devel >= 1.2.10 |
82475f50 | 63 | BuildRequires: zlib-devel |
7605fc79 AM |
64 | BuildRequires: openh323-devel |
65 | BuildRequires: pwlib-devel | |
b9bcfe5b | 66 | Requires(post,preun): /sbin/chkconfig |
fa4054d8 | 67 | Requires: rc-scripts |
7605fc79 AM |
68 | %requires_eq openh323 |
69 | %requires_eq pwlib | |
8ac733fc PG |
70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
71 | ||
72 | %description | |
73 | Asterisk is an Open Source PBX and telephony development platform that | |
74 | can both replace a conventional PBX and act as a platform for | |
75 | developing custom telephony applications for delivering dynamic | |
76 | content over a telephone similarly to how one can deliver dynamic | |
77 | content through a web browser using CGI and a web server. | |
78 | ||
79 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
80 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
81 | protocol (e.g. gnophone or miniphone). For more information and a | |
8c7a2ffa | 82 | current list of supported hardware, see http://www.asterisk.org/. |
de95e0fb JB |
83 | |
84 | %description -l pl | |
85 |