Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 018cbaf69e |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
SOURCES/opus-1.3-beta.tar.gz
|
||||
/opus-1.3-beta.tar.gz
|
||||
opus-1.4.tar.gz
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
||||
201
opus.spec
201
opus.spec
@ -1,23 +1,46 @@
|
||||
%global candidate beta
|
||||
#global candidate rc2
|
||||
|
||||
%if 0%{?fedora}
|
||||
%bcond_without mingw
|
||||
|
||||
# uses wine, requires enabled binfmt
|
||||
%bcond_with tests
|
||||
%else
|
||||
%bcond_with mingw
|
||||
%endif
|
||||
|
||||
Name: opus
|
||||
Version: 1.3
|
||||
Release: 0.4%{?candidate:.%{candidate}}%{?dist}
|
||||
Version: 1.4
|
||||
Release: 6%{?candidate:.%{candidate}}%{?dist}
|
||||
Summary: An audio codec for use in low-delay speech and audio communication
|
||||
License: BSD
|
||||
License: BSD-3-Clause AND BSD-2-Clause
|
||||
URL: https://www.opus-codec.org/
|
||||
|
||||
Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
|
||||
Source0: https://ftp.osuosl.org/pub/xiph/releases/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
|
||||
# This is the final IETF Working Group RFC
|
||||
Source1: http://tools.ietf.org/rfc/rfc6716.txt
|
||||
Source2: http://tools.ietf.org/rfc/rfc8251.txt
|
||||
Source1: https://tools.ietf.org/rfc/rfc6716.txt
|
||||
Source2: https://tools.ietf.org/rfc/rfc8251.txt
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libtool
|
||||
|
||||
%if %{with mingw}
|
||||
BuildRequires: mingw32-filesystem
|
||||
BuildRequires: mingw32-gcc
|
||||
|
||||
BuildRequires: mingw64-gcc
|
||||
BuildRequires: mingw64-filesystem
|
||||
|
||||
%if %{with tests}
|
||||
BuildRequires: wine
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Opus codec is designed for interactive speech and audio transmission over
|
||||
the Internet. It is designed by the IETF Codec Working Group and incorporates
|
||||
The Opus codec is designed for interactive speech and audio transmission over
|
||||
the Internet. It is designed by the IETF Codec Working Group and incorporates
|
||||
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
||||
|
||||
%package devel
|
||||
@ -28,41 +51,185 @@ Requires: opus = %{version}-%{release}
|
||||
%description devel
|
||||
Files for development with opus.
|
||||
|
||||
%if %{with mingw}
|
||||
%package -n mingw32-%{name}
|
||||
Summary: MinGW compiled %{name} library for Win32 target
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mingw32-%{name}
|
||||
This package contains the MinGW compiled library of %{name}
|
||||
for Win32 target.
|
||||
|
||||
%package -n mingw64-%{name}
|
||||
Summary: MinGW compiled %{name} library for Win64 target
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mingw64-%{name}
|
||||
This package contains the MinGW compiled library of %{name}
|
||||
for Win64 target.
|
||||
|
||||
%{?mingw_debug_package}
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q %{?candidate:-n %{name}-%{version}-%{candidate}}
|
||||
cp %{SOURCE1} .
|
||||
cp %{SOURCE2} .
|
||||
|
||||
%build
|
||||
%configure --enable-custom-modes --disable-static
|
||||
autoreconf -ivf
|
||||
mkdir build_native
|
||||
pushd build_native
|
||||
%global _configure ../configure
|
||||
%configure --enable-custom-modes --disable-static \
|
||||
--enable-hardening \
|
||||
%ifarch %{arm} %{arm64} %{power64}
|
||||
--enable-fixed-point
|
||||
%endif
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%if %{with mingw}
|
||||
%mingw_configure --enable-custom-modes --disable-static --disable-doc
|
||||
%mingw_make %{?_smp_mflags} V=1
|
||||
%endif
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install -C build_native
|
||||
|
||||
# Remove libtool archives and static libs
|
||||
find %{buildroot} -type f -name "*.la" -delete
|
||||
rm -rf %{buildroot}%{_datadir}/doc/opus/html
|
||||
rm %{buildroot}%{_libdir}/libopus.la
|
||||
rm -rf %{buildroot}%{_datadir}/doc/opus
|
||||
|
||||
%if %{with mingw}
|
||||
%mingw_make_install DESTDIR=%{buildroot}
|
||||
rm %{buildroot}%{mingw32_libdir}/libopus.la
|
||||
rm %{buildroot}%{mingw64_libdir}/libopus.la
|
||||
%mingw_debug_install_post
|
||||
%endif
|
||||
|
||||
%check
|
||||
make check
|
||||
make -C build_native check %{?_smp_mflags} V=1
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if %{with mingw}
|
||||
%if %{with tests}
|
||||
%mingw_make check
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_libdir}/libopus.so.*
|
||||
|
||||
%files devel
|
||||
%doc README doc/html rfc6716.txt rfc8251.txt
|
||||
%doc README build_native/doc/html rfc6716.txt rfc8251.txt
|
||||
%{_includedir}/opus
|
||||
%{_libdir}/libopus.so
|
||||
%{_libdir}/pkgconfig/opus.pc
|
||||
%{_datadir}/aclocal/opus.m4
|
||||
%{_datadir}/man/man3/opus_*.3.gz
|
||||
|
||||
%if %{with mingw}
|
||||
%files -n mingw32-%{name}
|
||||
%license COPYING
|
||||
%dir %{mingw32_includedir}/opus/
|
||||
%{mingw32_bindir}/libopus-0.dll
|
||||
%{mingw32_includedir}/opus/*.h
|
||||
%{mingw32_libdir}/libopus.dll.a
|
||||
%{mingw32_libdir}/pkgconfig/opus.pc
|
||||
%{mingw32_datadir}/aclocal/opus.m4
|
||||
|
||||
%files -n mingw64-%{name}
|
||||
%license COPYING
|
||||
%dir %{mingw64_includedir}/opus/
|
||||
%{mingw64_bindir}/libopus-0.dll
|
||||
%{mingw64_includedir}/opus/*.h
|
||||
%{mingw64_libdir}/libopus.dll.a
|
||||
%{mingw64_libdir}/pkgconfig/opus.pc
|
||||
%{mingw64_datadir}/aclocal/opus.m4
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4-6
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4-5
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Nov 08 2023 Marian Koncek <mkoncek@redhat.com> - 1.4-2
|
||||
- Make mingw subpackages noarch
|
||||
|
||||
* Wed Sep 27 2023 Marian Koncek <mkoncek@redhat.com> - 1.4-1
|
||||
- Update to upstream version 1.4
|
||||
- Add mingw subpackages
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
- Fix build in all arches, copied from Debian
|
||||
- Run autoreconf to make sure that autotools are updated
|
||||
- Clean up some trailing white spaces
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Sep 28 2020 Jeff Law <law@redhat.com> - 1.3.1-7
|
||||
- Re-enable LTO as upstream GCC target/96939 has been fixed
|
||||
|
||||
* Mon Aug 10 2020 Jeff Law <law@redhat.com> - 1.3.1-6
|
||||
- Disable LTO for now
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Apr 14 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.1-1
|
||||
- Update to 1.3.1
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Oct 18 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-1
|
||||
- Update to 1.3
|
||||
|
||||
* Wed Sep 19 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-0.7.rc2
|
||||
- Update to 1.3 rc2
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-0.6.rc
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sat Jun 2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-0.5.rc
|
||||
- Update to 1.3 rc
|
||||
|
||||
* Fri Mar 9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.3-0.4.beta
|
||||
- Add gcc BR
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (opus-1.3-beta.tar.gz) = c107edc0762d9d215e5fccc796b6b6fa6aa5d574968430e3e95bca953ed2cacf11f4a625be8e5a3f9212c9cfafa439a323fe3bb1f9fb72d0b91e8f37dcdfa6fa
|
||||
SHA512 (opus-1.4.tar.gz) = 1ecd39e0add24de12823bf7c936bb67441228721e2cdae0edbfcf3cee0894bcc6edf2a1d0ca5cdfdad1565803bf39cc4c985ad32710c2a9582f850adeb5ca631
|
||||
|
||||
Loading…
Reference in New Issue
Block a user