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