]>
Commit | Line | Data |
---|---|---|
ebdee73f | 1 | # IF asterisk-1.0.6-2 (with h323 enabled by default works) |
2 | # this spec is obsoleted, | |
70c3a96c | 3 | Summary: Asterisk PBX - h323 plugin |
1f16b909 | 4 | Summary(pl.UTF-8): Wtyczka h323 dla centralki Asterisk |
70c3a96c | 5 | Name: asterisk-oh323 |
e93cae75 | 6 | Version: 0.7.1 |
70c3a96c PG |
7 | Release: 0.1 |
8 | License: GPL v2 | |
9 | Group: Applications/System | |
e27ad65c | 10 | Source0: http://www.inaccessnetworks.com/projects/asterisk-oh323/download/%{name}-%{version}.tar.gz |
e93cae75 | 11 | # Source0-md5: 6a78c712e5cfd601aebd4c0fd55cad65 |
e27ad65c | 12 | URL: http://www.inaccessnetworks.com/projects/asterisk-oh323/ |
70c3a96c PG |
13 | BuildRequires: asterisk-devel |
14 | BuildRequires: openh323-devel | |
15 | Requires: asterisk | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Asterisk is an Open Source PBX and telephony development platform that | |
20 | can both replace a conventional PBX and act as a platform for | |
21 | developing custom telephony applications for delivering dynamic | |
22 | content over a telephone similarly to how one can deliver dynamic | |
23 | content through a web browser using CGI and a web server. | |
24 | ||
25 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
26 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
27 | protocol (e.g. gnophone or miniphone). For more information and a | |
7fb701cc JB |
28 | current list of supported hardware, see http://www.asteriskpbx.com/. |
29 | ||
30 | This package contains H323 plugin for Asterisk PBX. | |
31 | ||
ea2a3c65 JR |
32 | %description -l pl.UTF-8 |
33 | Asterisk to wolnodostępna centralka (PBX) i platforma programistyczna | |
34 | dla telefonii, mogąca zastąpić konwencjonalne PBX-y oraz służyć jako | |
35 | platforma do rozwijania własnych aplikacji telefonicznych do | |
36 | przekazywania dynamicznej treści przez telefon, podobnie jak można | |
37 | przekazywać dynamiczną treść przez przeglądarkę WWW przy użyciu CGI i | |
7fb701cc JB |
38 | serwera WWW. |
39 | ||
ea2a3c65 JR |
40 | Asterisk współpracuje z wielorakim sprzętem telefonicznym, w tym BRI, |
41 | PRI, POTS oraz klienty telefonii IP używające protokołu Inter-Asterisk | |
42 | eXchange (np. gnophone lub miniphone). Więcej informacji i listę | |
43 | obsługiwanego sprzętu można znaleźć pod http://www.asteriskpbx.com/. | |
7fb701cc | 44 | |
ea2a3c65 | 45 | Ten pakiet zawiera wtyczkę H323 dla centralki Asterisk. |
70c3a96c PG |
46 | |
47 | %prep | |
e2b9ce38 | 48 | %setup -q |
70c3a96c PG |
49 | |
50 | %build | |
e2b9ce38 PG |
51 | #wrapper/check_ver /usr/include/pwlib pwlib |
52 | #wrapper/check_ver /usr/include/openh323 openh323 | |
53 | #echo "#!/bin/sh" > wrapper/check_ver | |
54 | ||
29455d03 | 55 | %{__make} \ |
ad7af8f6 | 56 | PWLIBDIR=/usr/include/pwlib \ |
57 | OPENH323DIR=/usr/include/openh323 \ | |
e2b9ce38 PG |
58 | CFLAGS="-Wall %{rpmcflags} -I/usr/include/openh323 -I/usr/include/ptlib -I/usr/include" \ |
59 | CPPFLAGS="-Wall %{rpmcflags} -I/usr/include/openh323 -I/usr/include/ptlib -I/usr/X11R6/include \ | |
60 | -DNDEBUG -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -DP_SSL \ | |
61 | -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DPHAS_TEMPLATES" | |
70c3a96c PG |
62 | |
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
7fb701cc | 65 | |
70c3a96c | 66 | %{__make} install \ |
29455d03 | 67 | DESTDIR=$RPM_BUILD_ROOT |
7fb701cc JB |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
70c3a96c PG |
72 | %files |
73 | %defattr(644,root,root,755) | |
74 | #%doc BUGS ChangeLog CREDITS HARDWARE README* SECURITY configs doc/{*.txt,linkedlists.README} | |
75 | #%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/asterisk/*.conf | |
76 | #%attr(0755,root,root) %{_libdir}/asterisk/modules/*.so |