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