]>
Commit | Line | Data |
---|---|---|
1a4f3e63 ER |
1 | # TODO |
2 | # - to build, you need libSKP_SILK_SDK.a in link search path | |
3 | %define asterisk_ver 10 | |
4 | Summary: Unofficial SILK translator for Asterisk | |
5 | Name: asterisk-codec_silk | |
6 | Version: 0.1 | |
7 | Release: 0.1 | |
8 | License: ? | |
9 | Group: Applications/System | |
10 | Source0: http://developer.skype.com/silk/SILK_SDK_SRC_v1.0.8.zip | |
11 | # NoSource0-md5: e89be0474d8f1eb82ce743a1968005cd | |
12 | NoSource: 0 | |
13 | Source1: https://raw.github.com/mordak/codec_silk/master/codecs/ex_silk.h | |
14 | # Source1-md5: 35818c24b55982312ce96b44ed721228 | |
15 | Source2: https://raw.github.com/mordak/codec_silk/master/codecs/codec_silk.c | |
16 | # Source2-md5: d0a880489516272245e26db1d7d0804a | |
17 | URL: https://github.com/mordak/codec_silk | |
18 | BuildRequires: asterisk-devel | |
19 | Requires: asterisk >= %{asterisk_ver} | |
20 | ExclusiveArch: %{ix86} %{x8664} | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define moduledir %{_libdir}/asterisk/modules | |
24 | ||
25 | %description | |
26 | Unofficial SILK translator for Asterisk. | |
27 | ||
28 | NOTE: This is not a SILK encoder/decoder. The coder is provided by the | |
29 | SILK library, which you have to get separately, compile, and link | |
30 | against. | |
31 | ||
32 | %prep | |
33 | %setup -qc | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{moduledir}} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc LICENSE README |