[packages/bcg729] - new
qboosh
qboosh at pld-linux.org
Wed Jul 3 17:44:40 CEST 2013
commit 0d00f4af828ffe45275e20b7a2cae159ee872d42
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 3 17:44:02 2013 +0200
- new
bcg729.spec | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 119 insertions(+)
---
diff --git a/bcg729.spec b/bcg729.spec
new file mode 100644
index 0000000..3ea5ab1
--- /dev/null
+++ b/bcg729.spec
@@ -0,0 +1,119 @@
+Summary: ITU G729 Annex A speech codec library
+Summary(pl.UTF-8): Biblioteka kodeka mowy ITU G729 Annex A
+Name: bcg729
+Version: 1.0.0
+Release: 1
+License: GPL v2+, ITU G729 patent license may be required
+Group: Libraries
+Source0: http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/%{name}-%{version}.tar.gz
+# Source0-md5: 45e127a9a309aff94d3262d97b5aeab0
+URL: http://www.linphone.org/eng/documentation/dev/bcg729.html
+BuildRequires: mediastreamer-devel >= 2.0.0
+BuildRequires: ortp-devel >= 0.16.0
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+bcg729 is an opensource implementation of both encoder and decoder of
+the ITU G729 Annex A speech codec. The library written in C99 is fully
+portable and can be executed on many platforms including both ARM
+processor and x86. libbcg729 supports concurrent channels
+encoding/decoding for multi call application such conferencing. This
+project was initially developed as part of Mediastreamer2, the
+Linphone's media processing engine. So there is also available the
+glue to be integrated in Linphone/Mediastreamer2.
+
+%description -l pl.UTF-8
+bcg729 to implementacja o otwartych źródłach kodera oraz dekorera
+kodeka mowy ITU G729 Annex A. Biblioteka napisana w dialekcie C99 jest
+w pełni przenośna i może być uruchamiana na wielu platformach, w tym
+procesorach ARM i x86. libbcg729 obsługuje jednoczesne
+kodowanie/dekodowanie wielu kanałów dla zastosowań z wieloma
+rozmowami,takich jak konferencje. Ten projekt początkowo był częścią
+Mediastreamera2 - silnika przetwarzania multimediów programu Linphone.
+Dlatego jest też dostępny kod łączący z Linphonem/Mediastreamerem2.
+
+%package devel
+Summary: Header files for bcg729 library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki bcg729
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for bcg729 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki bcg729.
+
+%package static
+Summary: Static bcg729 library
+Summary(pl.UTF-8): Statyczna biblioteka bcg729
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static bcg729 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka bcg729.
+
+%package -n mediastreamer-plugin-msbcg729
+Summary: ITU G729 Annex A speech codec for mediastreamer
+Summary(pl.UTF-8): Kodek mowy ITU G729 Annex A dla mediastreamera
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: mediastreamer >= 2.0.0
+
+%description -n mediastreamer-plugin-msbcg729
+This package supplies the mediastreamer plugin for the ITU G729 Annex
+A speech codec.
+
+%description -n mediastreamer-plugin-msbcg729 -l pl.UTF-8
+Ten pakiet udostępnia wtyczkę mediastreamera do kodeka mowy ITU G729
+Annex A.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-silent-rules
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# dlopened plugin
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/mediastreamer/plugins/libmsbcg729.{la,a}
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbcg729.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/libbcg729.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbcg729.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbcg729.so
+%{_includedir}/bcg729
+%{_pkgconfigdir}/libbcg729.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libbcg729.a
+
+%files -n mediastreamer-plugin-msbcg729
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/mediastreamer/plugins/libmsbcg729.so*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bcg729.git/commitdiff/0d00f4af828ffe45275e20b7a2cae159ee872d42
More information about the pld-cvs-commit
mailing list