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