]> git.pld-linux.org Git - packages/asterisk-chan_dongle.git/blob - asterisk-chan_dongle.spec
59d11d407ed24137c1f9dafc3dfad060bea0c162
[packages/asterisk-chan_dongle.git] / asterisk-chan_dongle.spec
1 %define snap    20120426
2 Summary:        Asterisk huawei 3g dongle channel driver
3 Name:           asterisk-chan_dongle
4 Version:        1.1
5 Release:        0.%{snap}.1
6 License:        GPL v2
7 Group:          Applications
8 # Source0:      http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-%{version}.tgz
9 # svn checkout http://asterisk-chan-dongle.googlecode.com/svn/trunk/ chan_dongle
10 Source0:        chan_dongle-%{snap}.tar.bz2
11 # Source0-md5:  4ced3ab7094b62be2a0e843a2d4b4111
12 URL:            http://wiki.e1550.mobi/
13 BuildRequires:  asterisk-devel >= 1.8
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 chan_dongle is an Asterisk channel driver for Huawei UMTS/3G USB
18 modems (dongles). At this moment, the supported features are:
19
20 - Voice calls, dialling by modem name, group, round robin, provider
21   name, IMEI or IMSI.
22 - Call waiting
23 - Call holding
24 - Conference (multiparty) call
25 - Send SMS from CLI, asterisk manager and dialplan
26 - Receive SMS (latin charset and multiline included)
27 - Send USSD
28 - Receive USSD (latin charset and multiline included)
29 - Send DTMF (excluding A,B,C,D letters not supported by Huawei)
30 - Receive DTMF
31
32 %prep
33 %setup -q -n chan_dongle
34
35 %build
36 install /usr/share/automake/{config.*,install-sh,missing} .
37 %{__aclocal}
38 %{__autoconf}
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 install -D etc/dongle.conf $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/dongle.conf
46 install -D chan_dongle.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/chan_dongle.so
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc BUGS README.txt TODO.txt etc/extensions.conf
54 %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dongle.so
55 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dongle.conf
This page took 0.469701 seconds and 2 git commands to generate.