]> git.pld-linux.org Git - packages/asterisk-oh323.git/blame - asterisk-oh323.spec
- new URL, new sources - problems are the same...
[packages/asterisk-oh323.git] / asterisk-oh323.spec
CommitLineData
70c3a96c
PG
1Summary: Asterisk PBX - h323 plugin
2Name: asterisk-oh323
e27ad65c 3Version: 0.5.2
70c3a96c
PG
4Release: 0.1
5License: GPL v2
6Group: Applications/System
e27ad65c
PG
7Source0: http://www.inaccessnetworks.com/projects/asterisk-oh323/download/%{name}-%{version}.tar.gz
8URL: http://www.inaccessnetworks.com/projects/asterisk-oh323/
70c3a96c
PG
9BuildRequires: asterisk-devel
10BuildRequires: openh323-devel
11Requires: asterisk
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Asterisk is an Open Source PBX and telephony development platform that
16can both replace a conventional PBX and act as a platform for
17developing custom telephony applications for delivering dynamic
18content over a telephone similarly to how one can deliver dynamic
19content through a web browser using CGI and a web server.
20
21Asterisk talks to a variety of telephony hardware including BRI, PRI,
22POTS, and IP telephony clients using the Inter-Asterisk eXchange
23protocol (e.g. gnophone or miniphone). For more information and a
24current 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
39rm -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
49rm -rf $RPM_BUILD_ROOT
This page took 0.527432 seconds and 4 git commands to generate.