]>
Commit | Line | Data |
---|---|---|
9a8599ce JB |
1 | Summary: IETF Opus Interactive Audio Codec |
2 | Summary(pl.UTF-8): Opus - interaktywny kodek dźwięku wg projektu IETF | |
3 | Name: opus | |
53d8c237 | 4 | Version: 1.3.1 |
12fe09a3 | 5 | Release: 1 |
9a8599ce JB |
6 | License: BSD |
7 | Group: Libraries | |
570f4679 JB |
8 | # releases <= 1.2 also on |
9 | #Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz | |
10 | Source0: https://archive.mozilla.org/pub/opus/%{name}-%{version}.tar.gz | |
53d8c237 | 11 | # Source0-md5: d7c07db796d21c9cf1861e0c2b0c0617 |
9a8599ce JB |
12 | URL: http://opus-codec.org/ |
13 | BuildRequires: autoconf >= 2.59 | |
14 | BuildRequires: automake >= 1.6 | |
98b044c1 | 15 | BuildRequires: doxygen |
9a8599ce JB |
16 | BuildRequires: libtool |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | The Opus codec is designed for interactive speech and audio | |
21 | transmission over the Internet. It is designed by the IETF Codec | |
22 | Working Group and incorporates technology from Skype's SILK codec and | |
23 | Xiph.Org's CELT codec. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Kodek Opus został zaprojektowany do interaktywnej transmisji mowy i | |
27 | dźwięku przez Internet. Zaprojektowała go IETC Codec Working Group, | |
28 | łącząc technologię z kodeka SILK Skype'a i kodeka CELT Xiph.Org. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for OPUS libraries | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OPUS | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | Header files for OPUS libraries. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe bibliotek OPUS. | |
41 | ||
42 | %package static | |
43 | Summary: Static OPUS libraries | |
44 | Summary(pl.UTF-8): Statyczne biblioteki OPUS | |
45 | Group: Development/Libraries | |
46 | Requires: %{name}-devel = %{version}-%{release} | |
47 | ||
48 | %description static | |
49 | Static OPUS libraries. | |
50 | ||
51 | %description static -l pl.UTF-8 | |
52 | Statyczne biblioteki OPUS. | |
53 | ||
54 | %prep | |
55 | %setup -q | |
9a8599ce JB |
56 | |
57 | %build | |
9a8599ce JB |
58 | %{__libtoolize} |
59 | %{__aclocal} | |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
db784881 | 63 | %configure \ |
b776a8b1 | 64 | --enable-custom-modes \ |
db784881 | 65 | --disable-silent-rules |
9a8599ce JB |
66 | %{__make} |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
8e4598f8 JB |
74 | # packaged as %doc |
75 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/opus/html | |
76 | ||
9a8599ce JB |
77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post -p /sbin/ldconfig | |
81 | %postun -p /sbin/ldconfig | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
bf9fed09 | 85 | %doc AUTHORS COPYING README |
5a4888b4 JB |
86 | %attr(755,root,root) %{_libdir}/libopus.so.*.*.* |
87 | %attr(755,root,root) %ghost %{_libdir}/libopus.so.0 | |
9a8599ce JB |
88 | |
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
8e4598f8 | 91 | %doc doc/html/* |
5a4888b4 JB |
92 | %attr(755,root,root) %{_libdir}/libopus.so |
93 | %{_libdir}/libopus.la | |
9a8599ce | 94 | %{_includedir}/opus |
1950c9fa | 95 | %{_pkgconfigdir}/opus.pc |
8e4598f8 JB |
96 | %{_aclocaldir}/opus.m4 |
97 | %{_mandir}/man3/opus_*.3* | |
9a8599ce JB |
98 | |
99 | %files static | |
100 | %defattr(644,root,root,755) | |
5a4888b4 | 101 | %{_libdir}/libopus.a |