]> git.pld-linux.org Git - packages/asterisk-oh323.git/blame - asterisk-oh323.spec
- tabs in preamble
[packages/asterisk-oh323.git] / asterisk-oh323.spec
CommitLineData
ebdee73f 1# IF asterisk-1.0.6-2 (with h323 enabled by default works)
2# this spec is obsoleted,
70c3a96c 3Summary: Asterisk PBX - h323 plugin
1f16b909 4Summary(pl.UTF-8): Wtyczka h323 dla centralki Asterisk
70c3a96c 5Name: asterisk-oh323
e93cae75 6Version: 0.7.1
70c3a96c
PG
7Release: 0.1
8License: GPL v2
9Group: Applications/System
e27ad65c 10Source0: http://www.inaccessnetworks.com/projects/asterisk-oh323/download/%{name}-%{version}.tar.gz
e93cae75 11# Source0-md5: 6a78c712e5cfd601aebd4c0fd55cad65
e27ad65c 12URL: http://www.inaccessnetworks.com/projects/asterisk-oh323/
70c3a96c
PG
13BuildRequires: asterisk-devel
14BuildRequires: openh323-devel
15Requires: asterisk
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Asterisk is an Open Source PBX and telephony development platform that
20can both replace a conventional PBX and act as a platform for
21developing custom telephony applications for delivering dynamic
22content over a telephone similarly to how one can deliver dynamic
23content through a web browser using CGI and a web server.
24
25Asterisk talks to a variety of telephony hardware including BRI, PRI,
26POTS, and IP telephony clients using the Inter-Asterisk eXchange
27protocol (e.g. gnophone or miniphone). For more information and a
7fb701cc
JB
28current list of supported hardware, see http://www.asteriskpbx.com/.
29
30This package contains H323 plugin for Asterisk PBX.
31
ea2a3c65
JR
32%description -l pl.UTF-8
33Asterisk to wolnodostępna centralka (PBX) i platforma programistyczna
34dla telefonii, mogąca zastąpić konwencjonalne PBX-y oraz służyć jako
35platforma do rozwijania własnych aplikacji telefonicznych do
36przekazywania dynamicznej treści przez telefon, podobnie jak można
37przekazywać dynamiczną treść przez przeglądarkę WWW przy użyciu CGI i
7fb701cc
JB
38serwera WWW.
39
ea2a3c65
JR
40Asterisk współpracuje z wielorakim sprzętem telefonicznym, w tym BRI,
41PRI, POTS oraz klienty telefonii IP używające protokołu Inter-Asterisk
42eXchange (np. gnophone lub miniphone). Więcej informacji i listę
43obsługiwanego sprzętu można znaleźć pod http://www.asteriskpbx.com/.
7fb701cc 44
ea2a3c65 45Ten 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
64rm -rf $RPM_BUILD_ROOT
7fb701cc 65
70c3a96c 66%{__make} install \
29455d03 67 DESTDIR=$RPM_BUILD_ROOT
7fb701cc
JB
68
69%clean
70rm -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
This page took 0.075772 seconds and 4 git commands to generate.