]> git.pld-linux.org Git - packages/mediastreamer-plugin-msamr.git/blob - mediastreamer-plugin-msamr.spec
afabe8d1d51ad10ef9e8b93618a26920f34fd70b
[packages/mediastreamer-plugin-msamr.git] / mediastreamer-plugin-msamr.spec
1 #
2 # Conditional build:
3 %bcond_with     wb      # use AMR wideband instead of narrowband
4 #
5 Summary:        AMR audio codec for mediastreamer
6 Summary(pl.UTF-8):      Kodek dźwięku AMR dla mediastreamera
7 Name:           mediastreamer-plugin-msamr
8 Version:        1.1.3
9 Release:        2
10 License:        GPL v2+
11 Group:          Libraries
12 #Source0Download: https://gitlab.linphone.org/BC/public/msamr/-/tags
13 #Source0:       https://gitlab.linphone.org/BC/public/msamr/-/archive/%{version}/msamr-%{version}.tar.bz2
14 Source0:        http://linphone.org/releases/old/sources/plugins/msamr/msamr-%{version}.tar.gz
15 # Source0-md5:  10c6a05e12c2af17f4ebc215d6c477da
16 URL:            https://gitlab.linphone.org/BC/public/msamr
17 BuildRequires:  autoconf >= 2.63
18 BuildRequires:  automake
19 BuildRequires:  libtool >= 2:2
20 BuildRequires:  ortp-devel >= 0.16.0
21 BuildRequires:  mediastreamer-devel >= 2.13.0
22 BuildRequires:  opencore-amr-devel >= 0.1.2
23 BuildRequires:  pkgconfig
24 %{?with_wb:BuildRequires:       vo-amrwbenc-devel >= 0.1.1}
25 Requires:       mediastreamer >= 2.13.0
26 Requires:       opencore-amr >= 0.1.2
27 Requires:       ortp >= 0.16.0
28 %{?with_wb:Requires:    vo-amrwbenc >= 0.1.1}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 This package supplies the mediastreamer plugin for the AMR audio
33 codec.
34
35 %description -l pl.UTF-8
36 Ten pakiet udostępnia wtyczkę mediastreamera do kodeka dźwięku AMR.
37
38 %prep
39 %setup -q -n msamr-%{version}
40
41 %build
42 %{__libtoolize}
43 %{__aclocal} -I m4
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure \
48         %{?with_wb:--enable-wideband}
49
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mediastreamer/plugins/libmsamr.la
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS NEWS README
66 %attr(755,root,root) %{_libdir}/mediastreamer/plugins/libmsamr.so*
This page took 0.11873 seconds and 2 git commands to generate.