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