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