1 Summary: ITU G729 Annex A speech codec library
2 Summary(pl.UTF-8): Biblioteka kodeka mowy ITU G729 Annex A
6 License: GPL v2+, ITU G729 patent license may be required
8 Source0: http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/%{name}-%{version}.tar.gz
9 # Source0-md5: 45e127a9a309aff94d3262d97b5aeab0
10 URL: http://www.linphone.org/eng/documentation/dev/bcg729.html
11 BuildRequires: mediastreamer-devel >= 2.0.0
12 BuildRequires: ortp-devel >= 0.16.0
13 BuildRequires: pkgconfig
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 bcg729 is an opensource implementation of both encoder and decoder of
18 the ITU G729 Annex A speech codec. The library written in C99 is fully
19 portable and can be executed on many platforms including both ARM
20 processor and x86. libbcg729 supports concurrent channels
21 encoding/decoding for multi call application such conferencing. This
22 project was initially developed as part of Mediastreamer2, the
23 Linphone's media processing engine. So there is also available the
24 glue to be integrated in Linphone/Mediastreamer2.
26 %description -l pl.UTF-8
27 bcg729 to implementacja o otwartych źródłach kodera oraz dekorera
28 kodeka mowy ITU G729 Annex A. Biblioteka napisana w dialekcie C99 jest
29 w pełni przenośna i może być uruchamiana na wielu platformach, w tym
30 procesorach ARM i x86. libbcg729 obsługuje jednoczesne
31 kodowanie/dekodowanie wielu kanałów dla zastosowań z wieloma
32 rozmowami,takich jak konferencje. Ten projekt początkowo był częścią
33 Mediastreamera2 - silnika przetwarzania multimediów programu Linphone.
34 Dlatego jest też dostępny kod łączący z Linphonem/Mediastreamerem2.
37 Summary: Header files for bcg729 library
38 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki bcg729
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
43 Header files for bcg729 library.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki bcg729.
49 Summary: Static bcg729 library
50 Summary(pl.UTF-8): Statyczna biblioteka bcg729
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static bcg729 library.
57 %description static -l pl.UTF-8
58 Statyczna biblioteka bcg729.
60 %package -n mediastreamer-plugin-msbcg729
61 Summary: ITU G729 Annex A speech codec for mediastreamer
62 Summary(pl.UTF-8): Kodek mowy ITU G729 Annex A dla mediastreamera
64 Requires: %{name} = %{version}-%{release}
65 Requires: mediastreamer >= 2.0.0
67 %description -n mediastreamer-plugin-msbcg729
68 This package supplies the mediastreamer plugin for the ITU G729 Annex
71 %description -n mediastreamer-plugin-msbcg729 -l pl.UTF-8
72 Ten pakiet udostępnia wtyczkę mediastreamera do kodeka mowy ITU G729
80 --disable-silent-rules
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mediastreamer/plugins/libmsbcg729.{la,a}
92 # obsoleted by pkg-config
93 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libbcg729.la
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libbcg729.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libbcg729.so.0
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libbcg729.so
110 %{_includedir}/bcg729
111 %{_pkgconfigdir}/libbcg729.pc
114 %defattr(644,root,root,755)
115 %{_libdir}/libbcg729.a
117 %files -n mediastreamer-plugin-msbcg729
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/mediastreamer/plugins/libmsbcg729.so*