]> git.pld-linux.org Git - packages/bcg729.git/blame - bcg729.spec
- new
[packages/bcg729.git] / bcg729.spec
CommitLineData
0d00f4af
JB
1Summary: ITU G729 Annex A speech codec library
2Summary(pl.UTF-8): Biblioteka kodeka mowy ITU G729 Annex A
3Name: bcg729
4Version: 1.0.0
5Release: 1
6License: GPL v2+, ITU G729 patent license may be required
7Group: Libraries
8Source0: http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/%{name}-%{version}.tar.gz
9# Source0-md5: 45e127a9a309aff94d3262d97b5aeab0
10URL: http://www.linphone.org/eng/documentation/dev/bcg729.html
11BuildRequires: mediastreamer-devel >= 2.0.0
12BuildRequires: ortp-devel >= 0.16.0
13BuildRequires: pkgconfig
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17bcg729 is an opensource implementation of both encoder and decoder of
18the ITU G729 Annex A speech codec. The library written in C99 is fully
19portable and can be executed on many platforms including both ARM
20processor and x86. libbcg729 supports concurrent channels
21encoding/decoding for multi call application such conferencing. This
22project was initially developed as part of Mediastreamer2, the
23Linphone's media processing engine. So there is also available the
24glue to be integrated in Linphone/Mediastreamer2.
25
26%description -l pl.UTF-8
27bcg729 to implementacja o otwartych źródłach kodera oraz dekorera
28kodeka mowy ITU G729 Annex A. Biblioteka napisana w dialekcie C99 jest
29w pełni przenośna i może być uruchamiana na wielu platformach, w tym
30procesorach ARM i x86. libbcg729 obsługuje jednoczesne
31kodowanie/dekodowanie wielu kanałów dla zastosowań z wieloma
32rozmowami,takich jak konferencje. Ten projekt początkowo był częścią
33Mediastreamera2 - silnika przetwarzania multimediów programu Linphone.
34Dlatego jest też dostępny kod łączący z Linphonem/Mediastreamerem2.
35
36%package devel
37Summary: Header files for bcg729 library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki bcg729
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for bcg729 library.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki bcg729.
47
48%package static
49Summary: Static bcg729 library
50Summary(pl.UTF-8): Statyczna biblioteka bcg729
51Group: Development/Libraries
52Requires: %{name}-devel = %{version}-%{release}
53
54%description static
55Static bcg729 library.
56
57%description static -l pl.UTF-8
58Statyczna biblioteka bcg729.
59
60%package -n mediastreamer-plugin-msbcg729
61Summary: ITU G729 Annex A speech codec for mediastreamer
62Summary(pl.UTF-8): Kodek mowy ITU G729 Annex A dla mediastreamera
63Group: Libraries
64Requires: %{name} = %{version}-%{release}
65Requires: mediastreamer >= 2.0.0
66
67%description -n mediastreamer-plugin-msbcg729
68This package supplies the mediastreamer plugin for the ITU G729 Annex
69A speech codec.
70
71%description -n mediastreamer-plugin-msbcg729 -l pl.UTF-8
72Ten pakiet udostępnia wtyczkę mediastreamera do kodeka mowy ITU G729
73Annex A.
74
75%prep
76%setup -q
77
78%build
79%configure \
80 --disable-silent-rules
81
82%{__make}
83
84%install
85rm -rf $RPM_BUILD_ROOT
86
87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
89
90# dlopened plugin
91%{__rm} $RPM_BUILD_ROOT%{_libdir}/mediastreamer/plugins/libmsbcg729.{la,a}
92# obsoleted by pkg-config
93%{__rm} $RPM_BUILD_ROOT%{_libdir}/libbcg729.la
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101%files
102%defattr(644,root,root,755)
103%doc AUTHORS README
104%attr(755,root,root) %{_libdir}/libbcg729.so.*.*.*
105%attr(755,root,root) %ghost %{_libdir}/libbcg729.so.0
106
107%files devel
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_libdir}/libbcg729.so
110%{_includedir}/bcg729
111%{_pkgconfigdir}/libbcg729.pc
112
113%files static
114%defattr(644,root,root,755)
115%{_libdir}/libbcg729.a
116
117%files -n mediastreamer-plugin-msbcg729
118%defattr(644,root,root,755)
119%attr(755,root,root) %{_libdir}/mediastreamer/plugins/libmsbcg729.so*
This page took 0.105647 seconds and 4 git commands to generate.