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