1 |
%define major 0 |
2 |
|
3 |
%define libname %mklibname %name %major |
4 |
%define libnamedev %mklibname -d %name |
5 |
|
6 |
|
7 |
Summary: Opus Interactive Audio Codec |
8 |
Name: opus |
9 |
Version: 1.0.2 |
10 |
Release: %mkrel 1 |
11 |
Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz |
12 |
URL: http://opus-codec.org/ |
13 |
License: BSD |
14 |
Group: Sound |
15 |
BuildRequires: doxygen |
16 |
|
17 |
%description |
18 |
The Opus codec is designed for interactive speech and audio transmission over |
19 |
the Internet. It is designed by the IETF Codec Working Group and incorporates |
20 |
technology from Skype's SILK codec and Xiph.Org's CELT codec. |
21 |
|
22 |
%package -n %{libname} |
23 |
Summary: Opus library |
24 |
Group: System/Libraries |
25 |
|
26 |
%description -n %{libname} |
27 |
This package provides the library that implements the Opus codec. |
28 |
The Opus codec is designed for interactive speech and audio transmission over |
29 |
the Internet. It is designed by the IETF Codec Working Group and incorporates |
30 |
technology from Skype's SILK codec and Xiph.Org's CELT codec. |
31 |
|
32 |
%package -n %{libnamedev} |
33 |
Summary: Files needed to compile a program with Opus support |
34 |
Group: Development/C |
35 |
Requires: %{libname} = %version |
36 |
Provides: opus-devel = %version |
37 |
|
38 |
%description -n %{libnamedev} |
39 |
This package provides the library that implements the Opus codec. |
40 |
|
41 |
%prep |
42 |
%setup -q |
43 |
|
44 |
%build |
45 |
%configure2_5x |
46 |
%make |
47 |
|
48 |
%install |
49 |
%makeinstall_std |
50 |
rm -f %buildroot/%_libdir/*.{a,la} |
51 |
|
52 |
|
53 |
%files -n %{libname} |
54 |
%defattr(644,root,root,755) |
55 |
%doc COPYING README |
56 |
%{_libdir}/*.so.%{major}* |
57 |
|
58 |
%files -n %{libnamedev} |
59 |
%defattr(644,root,root,755) |
60 |
%{_includedir}/* |
61 |
%{_libdir}/*.so |
62 |
%{_libdir}/pkgconfig/*.pc |
63 |
%{_datadir}/aclocal/opus.m4 |
64 |
%{_mandir}/man3/* |
65 |
%{_datadir}/doc/opus |