]> git.pld-linux.org Git - packages/asterisk-oh323.git/blame - asterisk-oh323.spec
- make it started to build
[packages/asterisk-oh323.git] / asterisk-oh323.spec
CommitLineData
70c3a96c
PG
1Summary: Asterisk PBX - h323 plugin
2Name: asterisk-oh323
3Version: 0.2
4Release: 0.1
5License: GPL v2
6Group: Applications/System
7Source0: ftp://ftp.asterisk.org/pub/telephony/asterisk/h323/%{name}-%{version}.tar.gz
29455d03 8Patch0: %{name}-Makefile.patch
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}
29455d03 28%patch0 -p1
70c3a96c
PG
29
30%build
29455d03
PG
31%{__make} \
32 PWLIBDIR=/usr \
33 OPENH323DIR=/usr \
34 CFLAGS="-Wall %{rpmcflags} -I/usr/include/openh323" \
35 CPPFLAGS="-Wall %{rpmcflags} -I/usr/include/openh323 \
36 -DNDEBUG -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -DP_SSL \
37 -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -DPHAS_TEMPLATES"
70c3a96c
PG
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__make} install \
29455d03 42 DESTDIR=$RPM_BUILD_ROOT
70c3a96c
PG
43%files
44%defattr(644,root,root,755)
45#%doc BUGS ChangeLog CREDITS HARDWARE README* SECURITY configs doc/{*.txt,linkedlists.README}
46#%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/asterisk/*.conf
47#%attr(0755,root,root) %{_libdir}/asterisk/modules/*.so
48
49%clean
50rm -rf $RPM_BUILD_ROOT
This page took 0.131287 seconds and 4 git commands to generate.