]> git.pld-linux.org Git - packages/bcg729.git/blob - bcg729.spec
- aded git patch (updated to current master, adjusting cmake config files for mediast...
[packages/bcg729.git] / bcg729.spec
1 Summary:        ITU G729 Annex A speech codec library
2 Summary(pl.UTF-8):      Biblioteka kodeka mowy ITU G729 Annex A
3 Name:           bcg729
4 Version:        1.0.1
5 Release:        2
6 License:        GPL v2+, ITU G729 patent license may be required
7 Group:          Libraries
8 Source0:        http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/%{name}-%{version}.tar.gz
9 # Source0-md5:  c4dc6c09c71850f0b392772f519f1d19
10 Patch0:         %{name}-lib.patch
11 URL:            http://www.linphone.org/eng/documentation/dev/bcg729.html
12 BuildRequires:  autoconf >= 2.63
13 BuildRequires:  automake
14 BuildRequires:  libtool >= 2:2
15 BuildRequires:  mediastreamer-devel >= 2.9.0
16 BuildRequires:  ortp-devel >= 0.21.0
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 bcg729 is an opensource implementation of both encoder and decoder of
22 the ITU G729 Annex A speech codec. The library written in C99 is fully
23 portable and can be executed on many platforms including both ARM
24 processor and x86. libbcg729 supports concurrent channels
25 encoding/decoding for multi call application such conferencing. This
26 project was initially developed as part of Mediastreamer2, the
27 Linphone's media processing engine. So there is also available the
28 glue to be integrated in Linphone/Mediastreamer2.
29
30 %description -l pl.UTF-8
31 bcg729 to implementacja o otwartych źródłach kodera oraz dekorera
32 kodeka mowy ITU G729 Annex A. Biblioteka napisana w dialekcie C99 jest
33 w pełni przenośna i może być uruchamiana na wielu platformach, w tym
34 procesorach ARM i x86. libbcg729 obsługuje jednoczesne
35 kodowanie/dekodowanie wielu kanałów dla zastosowań z wieloma
36 rozmowami,takich jak konferencje. Ten projekt początkowo był częścią
37 Mediastreamera2 - silnika przetwarzania multimediów programu Linphone.
38 Dlatego jest też dostępny kod łączący z Linphonem/Mediastreamerem2.
39
40 %package devel
41 Summary:        Header files for bcg729 library
42 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki bcg729
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45
46 %description devel
47 Header files for bcg729 library.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki bcg729.
51
52 %package static
53 Summary:        Static bcg729 library
54 Summary(pl.UTF-8):      Statyczna biblioteka bcg729
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static bcg729 library.
60
61 %description static -l pl.UTF-8
62 Statyczna biblioteka bcg729.
63
64 %package -n mediastreamer-plugin-msbcg729
65 Summary:        ITU G729 Annex A speech codec for mediastreamer
66 Summary(pl.UTF-8):      Kodek mowy ITU G729 Annex A dla mediastreamera
67 Group:          Libraries
68 Requires:       %{name} = %{version}-%{release}
69 Requires:       mediastreamer >= 2.9.0
70
71 %description -n mediastreamer-plugin-msbcg729
72 This package supplies the mediastreamer plugin for the ITU G729 Annex
73 A speech codec.
74
75 %description -n mediastreamer-plugin-msbcg729 -l pl.UTF-8
76 Ten pakiet udostępnia wtyczkę mediastreamera do kodeka mowy ITU G729
77 Annex A.
78
79 %prep
80 %setup -q
81 %patch0 -p1
82
83 %build
84 %{__libtoolize}
85 %{__aclocal} -I m4
86 %{__autoconf}
87 %{__autoheader}
88 %{__automake}
89 %configure \
90         --disable-silent-rules
91
92 %{__make}
93
94 %install
95 rm -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
106 rm -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.159063 seconds and 3 git commands to generate.