]>
Commit | Line | Data |
---|---|---|
ba36650f JB |
1 | Summary: VisualOn AMR-WB encoder library |
2 | Summary(pl.UTF-8): Biblioteka kodera VisualOn AMR-WB | |
3 | Name: vo-amrwbenc | |
93529d29 JB |
4 | Version: 0.1.3 |
5 | Release: 1 | |
ba36650f JB |
6 | License: Apache v2.0 |
7 | Group: Libraries | |
8 | Source0: http://downloads.sourceforge.net/opencore-amr/%{name}-%{version}.tar.gz | |
93529d29 | 9 | # Source0-md5: f63bb92bde0b1583cb3cb344c12922e0 |
ba36650f JB |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11 | ||
12 | %description | |
13 | This library contains an encoder implementation of the Adaptive Multi | |
14 | Rate Wideband (AMR-WB) audio codec. The library is based on a codec | |
15 | implementation by VisualOn as part of the Stagefright framework from | |
16 | the Google Android project. | |
17 | ||
18 | %description -l pl.UTF-8 | |
19 | Ta biblioteka zawiera implementację kodera kodeka dźwięku AMR-WB | |
20 | (Adaptive Multi Rate Wideband). Jest opaera na implementacji kodeka | |
21 | firmy VisualOn jako części środowiska Stagefright z projektu Google | |
22 | Android. | |
23 | ||
24 | %package devel | |
25 | Summary: Header files for VisualOn AMR-WB encoder library | |
26 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki kodera VisualOn AMR-WB | |
27 | Group: Development/Libraries | |
28 | Requires: %{name} = %{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | Header files for VisualOn AMR-WB encoder library. | |
32 | ||
33 | %description devel -l pl.UTF-8 | |
34 | Pliki nagłówkowe biblioteki kodera VisualOn AMR-WB. | |
35 | ||
36 | %package static | |
37 | Summary: Static VisualOn AMR-WB encoder library | |
38 | Summary(pl.UTF-8): Statyczna biblioteka kodera VisualOn AMR-WB | |
39 | Group: Development/Libraries | |
40 | Requires: %{name}-devel = %{version}-%{release} | |
41 | ||
42 | %description static | |
43 | Static VisualOn AMR-WB encoder library. | |
44 | ||
45 | %description static -l pl.UTF-8 | |
46 | Statyczna biblioteka kodera VisualOn AMR-WB. | |
47 | ||
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %configure \ | |
53 | --disable-silent-rules | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | # no dependencies and pkg-config file present | |
63 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libvo-amrwbenc.la | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
1e26ec3a | 73 | %doc ChangeLog NOTICE README |
ba36650f JB |
74 | %attr(755,root,root) %{_libdir}/libvo-amrwbenc.so.*.*.* |
75 | %attr(755,root,root) %ghost %{_libdir}/libvo-amrwbenc.so.0 | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_libdir}/libvo-amrwbenc.so | |
80 | %{_includedir}/vo-amrwbenc | |
81 | %{_pkgconfigdir}/vo-amrwbenc.pc | |
82 | ||
83 | %files static | |
84 | %defattr(644,root,root,755) | |
85 | %{_libdir}/libvo-amrwbenc.a |