]> git.pld-linux.org Git - packages/bcg729.git/blob - bcg729.spec
- release 3 (by relup.sh)
[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.0
5 Release:        3
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:  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)
15
16 %description
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.
25
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.
35
36 %package devel
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}
41
42 %description devel
43 Header files for bcg729 library.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki bcg729.
47
48 %package static
49 Summary:        Static bcg729 library
50 Summary(pl.UTF-8):      Statyczna biblioteka bcg729
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}-%{release}
53
54 %description static
55 Static bcg729 library.
56
57 %description static -l pl.UTF-8
58 Statyczna biblioteka bcg729.
59
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
63 Group:          Libraries
64 Requires:       %{name} = %{version}-%{release}
65 Requires:       mediastreamer >= 2.0.0
66
67 %description -n mediastreamer-plugin-msbcg729
68 This package supplies the mediastreamer plugin for the ITU G729 Annex
69 A speech codec.
70
71 %description -n mediastreamer-plugin-msbcg729 -l pl.UTF-8
72 Ten pakiet udostępnia wtyczkę mediastreamera do kodeka mowy ITU G729
73 Annex A.
74
75 %prep
76 %setup -q
77
78 %build
79 %configure \
80         --disable-silent-rules
81
82 %{__make}
83
84 %install
85 rm -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
96 rm -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.087442 seconds and 4 git commands to generate.