]> git.pld-linux.org Git - packages/asterisk-oh323.git/blob - asterisk-oh323.spec
- tabs in preamble
[packages/asterisk-oh323.git] / asterisk-oh323.spec
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
5 Name:           asterisk-oh323
6 Version:        0.7.1
7 Release:        0.1
8 License:        GPL v2
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
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
28 current list of supported hardware, see http://www.asteriskpbx.com/.
29
30 This package contains H323 plugin for Asterisk PBX.
31
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
38 serwera WWW.
39
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/.
44
45 Ten pakiet zawiera wtyczkę H323 dla centralki Asterisk.
46
47 %prep
48 %setup -q
49
50 %build
51 #wrapper/check_ver /usr/include/pwlib pwlib
52 #wrapper/check_ver /usr/include/openh323 openh323
53 #echo "#!/bin/sh" > wrapper/check_ver
54
55 %{__make} \
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"
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
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.06739 seconds and 3 git commands to generate.