source: spec/trunk/SPECS/opus.spec@ 1630

Last change on this file since 1630 was 1615, checked in by tellie, 7 years ago

spec: opus: Release version 1.3-2.

File size: 1.8 KB
Line 
1#global candidate rc2
2
3Name: opus
4Version: 1.3
5Release: 2%{?candidate:.%{candidate}}%{?dist}
6Summary: An audio codec for use in low-delay speech and audio communication
7License: BSD
8URL: https://www.opus-codec.org/
9
10#Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
11%scm_source github https://github.com/xiph/opus master
12# This is the final IETF Working Group RFC
13Source1: http://tools.ietf.org/rfc/rfc6716.txt
14Source2: http://tools.ietf.org/rfc/rfc8251.txt
15
16BuildRequires: gcc
17BuildRequires: doxygen
18
19%description
20The Opus codec is designed for interactive speech and audio transmission over
21the Internet. It is designed by the IETF Codec Working Group and incorporates
22technology from Skype's SILK codec and Xiph.Org's CELT codec.
23
24%package devel
25Summary: Development package for opus
26Requires: libogg
27Requires: opus = %{version}-%{release}
28
29%description devel
30Files for development with opus.
31
32%debug_package
33
34%prep
35#%setup -q %{?candidate:-n %{name}-%{version}-%{candidate}}
36%scm_setup
37cp %{SOURCE1} .
38cp %{SOURCE2} .
39autoreconf -vif
40
41%build
42%configure --enable-custom-modes --disable-static \
43 --enable-hardening --enable-ambisonics
44
45make %{?_smp_mflags}
46
47%install
48%make_install
49
50# Remove libtool archives
51find %{buildroot} -type f -name "*.la" -delete
52rm -rf %{buildroot}%{_datadir}/doc/opus/html
53
54%check
55#make check %{?_smp_mflags} V=1
56
57#%ldconfig_scriptlets
58
59%files
60%license COPYING
61%{_libdir}/opus*.dll
62
63%files devel
64%doc README doc/html rfc6716.txt rfc8251.txt
65%{_includedir}/opus
66%{_libdir}/*.a
67%{_libdir}/pkgconfig/opus.pc
68%{_datadir}/aclocal/opus.m4
69%{_datadir}/man/man3/opus_*.3.gz
70
71%changelog
72* Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3-2
73- Add dll to right section
74
75* Sun Mar 03 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3-1
76- first RPM release for OS2
Note: See TracBrowser for help on using the repository browser.