]>
Commit | Line | Data |
---|---|---|
70c3a96c PG |
1 | Summary: Asterisk PBX - h323 plugin |
2 | Name: asterisk-oh323 | |
e27ad65c | 3 | Version: 0.5.2 |
70c3a96c PG |
4 | Release: 0.1 |
5 | License: GPL v2 | |
6 | Group: Applications/System | |
e27ad65c PG |
7 | Source0: http://www.inaccessnetworks.com/projects/asterisk-oh323/download/%{name}-%{version}.tar.gz |
8 | URL: http://www.inaccessnetworks.com/projects/asterisk-oh323/ | |
70c3a96c PG |
9 | BuildRequires: asterisk-devel |
10 | BuildRequires: openh323-devel | |
11 | Requires: asterisk | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Asterisk is an Open Source PBX and telephony development platform that | |
16 | can both replace a conventional PBX and act as a platform for | |
17 | developing custom telephony applications for delivering dynamic | |
18 | content over a telephone similarly to how one can deliver dynamic | |
19 | content through a web browser using CGI and a web server. | |
20 | ||
21 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
22 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
23 | protocol (e.g. gnophone or miniphone). For more information and a | |
24 | current list of supported hardware, see www.asteriskpbx.com. | |
25 | ||
26 | %prep | |
27 | %setup -q -n %{name} | |
28 | ||
29 | %build | |
29455d03 PG |
30 | %{__make} \ |
31 | PWLIBDIR=/usr \ | |
32 | OPENH323DIR=/usr \ | |
e27ad65c PG |
33 | # CFLAGS="-Wall %{rpmcflags} -I/usr/include/openh323" \ |
34 | # CPPFLAGS="-Wall %{rpmcflags} -I/usr/include/openh323 \ | |
35 | # -DNDEBUG -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -DP_SSL \ | |
36 | # -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DPHAS_TEMPLATES" | |
70c3a96c PG |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %{__make} install \ | |
29455d03 | 41 | DESTDIR=$RPM_BUILD_ROOT |
70c3a96c PG |
42 | %files |
43 | %defattr(644,root,root,755) | |
44 | #%doc BUGS ChangeLog CREDITS HARDWARE README* SECURITY configs doc/{*.txt,linkedlists.README} | |
45 | #%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/asterisk/*.conf | |
46 | #%attr(0755,root,root) %{_libdir}/asterisk/modules/*.so | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT |