From: Arkadiusz Miƛkiewicz Date: Thu, 26 Apr 2012 10:08:52 +0000 (+0000) Subject: - initial X-Git-Tag: auto/th/asterisk-chan_dongle-1.1-0.20150612.2~7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fasterisk-chan_dongle.git;a=commitdiff_plain;h=94a3338c0c9ba6a2781c963ac6fe32d94d984196 - initial Changed files: asterisk-chan_dongle.spec -> 1.1 --- 94a3338c0c9ba6a2781c963ac6fe32d94d984196 diff --git a/asterisk-chan_dongle.spec b/asterisk-chan_dongle.spec new file mode 100644 index 0000000..59d11d4 --- /dev/null +++ b/asterisk-chan_dongle.spec @@ -0,0 +1,55 @@ +%define snap 20120426 +Summary: Asterisk huawei 3g dongle channel driver +Name: asterisk-chan_dongle +Version: 1.1 +Release: 0.%{snap}.1 +License: GPL v2 +Group: Applications +# Source0: http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-%{version}.tgz +# svn checkout http://asterisk-chan-dongle.googlecode.com/svn/trunk/ chan_dongle +Source0: chan_dongle-%{snap}.tar.bz2 +# Source0-md5: 4ced3ab7094b62be2a0e843a2d4b4111 +URL: http://wiki.e1550.mobi/ +BuildRequires: asterisk-devel >= 1.8 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +chan_dongle is an Asterisk channel driver for Huawei UMTS/3G USB +modems (dongles). At this moment, the supported features are: + +- Voice calls, dialling by modem name, group, round robin, provider + name, IMEI or IMSI. +- Call waiting +- Call holding +- Conference (multiparty) call +- Send SMS from CLI, asterisk manager and dialplan +- Receive SMS (latin charset and multiline included) +- Send USSD +- Receive USSD (latin charset and multiline included) +- Send DTMF (excluding A,B,C,D letters not supported by Huawei) +- Receive DTMF + +%prep +%setup -q -n chan_dongle + +%build +install /usr/share/automake/{config.*,install-sh,missing} . +%{__aclocal} +%{__autoconf} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -D etc/dongle.conf $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/dongle.conf +install -D chan_dongle.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/chan_dongle.so + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc BUGS README.txt TODO.txt etc/extensions.conf +%attr(755,root,root) %{_libdir}/asterisk/modules/chan_dongle.so +%attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dongle.conf