]> git.pld-linux.org Git - packages/asterisk-chan_dongle.git/blob - asterisk-chan_dongle.spec
6f89cd53de5490bb02a9fb1c61716b703a42ab79
[packages/asterisk-chan_dongle.git] / asterisk-chan_dongle.spec
1 %define snap    20131018
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:  eb230442d44c5221d07633de4ea1fd21
12 Patch0:         chan_dongle-pin.patch
13 URL:            http://wiki.e1550.mobi/
14 BuildRequires:  asterisk-devel >= 1.8
15 Requires:       usb-modeswitch
16 Requires:       usb-modeswitch-data
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 chan_dongle is an Asterisk channel driver for Huawei UMTS/3G USB
21 modems (dongles). At this moment, the supported features are:
22
23 - Voice calls, dialling by modem name, group, round robin, provider
24   name, IMEI or IMSI.
25 - Call waiting
26 - Call holding
27 - Conference (multiparty) call
28 - Send SMS from CLI, asterisk manager and dialplan
29 - Receive SMS (latin charset and multiline included)
30 - Send USSD
31 - Receive USSD (latin charset and multiline included)
32 - Send DTMF (excluding A,B,C,D letters not supported by Huawei)
33 - Receive DTMF
34
35 %prep
36 %setup -q -n chan_dongle
37 %patch0 -p1
38
39 %build
40 install /usr/share/automake/{config.*,install-sh,missing} .
41 %{__aclocal}
42 %{__autoconf}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 install -D etc/dongle.conf $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/dongle.conf
50 install -D chan_dongle.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/chan_dongle.so
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc BUGS README.txt TODO.txt etc/extensions.conf
58 %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dongle.so
59 %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dongle.conf
This page took 0.251556 seconds and 3 git commands to generate.