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