-
Notifications
You must be signed in to change notification settings - Fork 3
/
silk.spec
66 lines (51 loc) · 1.32 KB
/
silk.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Summary: libsilk is a library for the silk codec
Name: libsilk
Version: 1.0.9
Release: 1%{?dist}
License: Skype BSD-like
Group: System Environment/Libraries
URL: http://stash.freeswitch.org
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: libsilk-1.0.9.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake
BuildRequires: libtool
Docdir: %{_prefix}/doc
%description
libsilk is a library for the silk codec
%package devel
Summary: silk development files
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
silk development files.
%prep
%setup -q
%build
./bootstrap.sh
%configure
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog AUTHORS COPYING NEWS README
%{_libdir}/libSKP_SILK_SDK.so.*
%{_bindir}/Decoder
%{_bindir}/Encoder
%{_bindir}/signalCompare
%files devel
%defattr(-,root,root,-)
%{_includedir}/silk
%{_libdir}/libSKP_SILK_SDK.a
%{_libdir}/libSKP_SILK_SDK.so
%{_libdir}/pkgconfig/silk.pc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Thu Feb 11 2018 FreeSWITCH Solutions <[email protected]> 1.0.9-1
- Adapted from ilbc.spec for FreeSWITCH dependencies