]> git.pld-linux.org Git - packages/asterisk-chan_dongle.git/commitdiff
- initial
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 26 Apr 2012 10:08:52 +0000 (10:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk-chan_dongle.spec -> 1.1

asterisk-chan_dongle.spec [new file with mode: 0644]

diff --git a/asterisk-chan_dongle.spec b/asterisk-chan_dongle.spec
new file mode 100644 (file)
index 0000000..59d11d4
--- /dev/null
@@ -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
This page took 0.335438 seconds and 4 git commands to generate.