1 # IF asterisk-1.0.6-2 (with h323 enabled by default works)
2 # this spec is obsoleted,
3 Summary: Asterisk PBX - h323 plugin
4 Summary(pl.UTF-8): Wtyczka h323 dla centralki Asterisk
9 Group: Applications/System
10 Source0: http://www.inaccessnetworks.com/projects/asterisk-oh323/download/%{name}-%{version}.tar.gz
11 # Source0-md5: 6a78c712e5cfd601aebd4c0fd55cad65
12 URL: http://www.inaccessnetworks.com/projects/asterisk-oh323/
13 BuildRequires: asterisk-devel
14 BuildRequires: openh323-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
28 current list of supported hardware, see http://www.asteriskpbx.com/.
30 This package contains H323 plugin for Asterisk PBX.
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
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/.
45 Ten pakiet zawiera wtyczkę H323 dla centralki Asterisk.
51 #wrapper/check_ver /usr/include/pwlib pwlib
52 #wrapper/check_ver /usr/include/openh323 openh323
53 #echo "#!/bin/sh" > wrapper/check_ver
56 PWLIBDIR=/usr/include/pwlib \
57 OPENH323DIR=/usr/include/openh323 \
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"
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
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