|
|
d49e7cc |
# git ls-remote https://github.com/roc-streaming/roc-toolkit.git
|
|
|
d31d302 |
#global git_commit 127cfc645d0a807a33506001367b6d9a9d46f23e
|
|
|
d31d302 |
#global git_date 20230110
|
|
|
d49e7cc |
|
|
|
2291f45 |
#global git_short_commit %%(echo %%{git_commit} | cut -c -8)
|
|
|
2291f45 |
#global git_suffix %%{git_date}git%%{git_short_commit}
|
|
|
d49e7cc |
|
|
|
d49e7cc |
Name: roc-toolkit
|
|
|
2291f45 |
#Version: 0.2.1^%%{git_suffix}
|
|
|
2291f45 |
Version: 0.3.0
|
|
|
2291f45 |
Release: 1%{?dist}
|
|
|
d49e7cc |
Summary: Real-time audio streaming
|
|
|
d49e7cc |
License: MPL-2.0 AND LGPL-2.1-or-later AND CECILL-C
|
|
|
d49e7cc |
URL: https://github.com/roc-streaming/roc-toolkit
|
|
|
2291f45 |
#Source0: %%{url}/archive/%%{git_commit}/%%{name}-%%{git_suffix}.tar.gz
|
|
|
d31d302 |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
d49e7cc |
BuildRequires: gcc
|
|
|
d49e7cc |
BuildRequires: gcc-c++
|
|
|
d49e7cc |
BuildRequires: python3-devel
|
|
|
d49e7cc |
BuildRequires: python3-scons
|
|
|
2291f45 |
BuildRequires: python3-sphinxemoji
|
|
|
d49e7cc |
BuildRequires: automake
|
|
|
d49e7cc |
BuildRequires: autoconf
|
|
|
d49e7cc |
BuildRequires: pkgconf-pkg-config
|
|
|
d49e7cc |
BuildRequires: gengetopt
|
|
|
5459e50 |
BuildRequires: ragel
|
|
|
d49e7cc |
BuildRequires: libuv-devel
|
|
|
d49e7cc |
BuildRequires: libunwind-devel
|
|
|
d49e7cc |
BuildRequires: sox-devel
|
|
|
d49e7cc |
BuildRequires: pulseaudio-libs-devel
|
|
|
d49e7cc |
BuildRequires: openfec-devel
|
|
|
d49e7cc |
BuildRequires: cpputest-devel
|
|
|
d49e7cc |
BuildRequires: python3-sphinx
|
|
|
d49e7cc |
BuildRequires: python3-breathe
|
|
|
b4f41e0 |
BuildRequires: speexdsp-devel
|
|
|
2291f45 |
BuildRequires: openssl-devel
|
|
|
b4f41e0 |
BuildRequires: doxygen
|
|
|
40450a3 |
# https://github.com/roc-streaming/roc-toolkit/issues/481
|
|
|
2291f45 |
Patch0: roc-toolkit-0.3.0-no-explicit-cpp98.patch
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%description
|
|
|
d49e7cc |
Roc is a toolkit for real-time audio streaming over the network.
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%package devel
|
|
|
d49e7cc |
Summary: Development libraries for roc-toolkit
|
|
|
d49e7cc |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%description devel
|
|
|
d49e7cc |
The roc-toolkit-devel package contains header files necessary for
|
|
|
d49e7cc |
developing programs using roc-toolkit.
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%package utils
|
|
|
d49e7cc |
Summary: Utilities for roc-toolkit
|
|
|
d49e7cc |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%description utils
|
|
|
d49e7cc |
Utilities for roc-toolkit.
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%package doc
|
|
|
d49e7cc |
Summary: Documentation for roc-toolkit
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%description doc
|
|
|
d49e7cc |
Documentation for roc-toolkit.
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%prep
|
|
|
d31d302 |
#autosetup -p1 -n %{name}-%{git_commit}
|
|
|
d31d302 |
%autosetup -p1 -n %{name}-%{version}
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%build
|
|
|
d49e7cc |
scons %{?_smp_mflags} --with-openfec-includes=%{_includedir}/openfec \
|
|
|
d49e7cc |
CFLAGS="%{build_cflags}" CXXFLAGS="%{build_cxxflags}" LDFLAGS="%{build_ldflags}"
|
|
|
b4f41e0 |
scons docs --enable-doxygen --enable-sphinx
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%install
|
|
|
d49e7cc |
scons install --with-openfec-includes=%{_includedir}/openfec --prefix=%{buildroot}%{_prefix} \
|
|
|
d49e7cc |
--libdir=%{buildroot}%{_libdir}
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%check
|
|
|
b4f41e0 |
scons test --with-openfec-includes=%{_includedir}/openfec --enable-tests
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%files
|
|
|
d49e7cc |
%license LICENSE
|
|
|
b4f41e0 |
%doc README.md
|
|
|
d49e7cc |
%{_libdir}/libroc.so.0*
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%files devel
|
|
|
d49e7cc |
%{_includedir}/roc
|
|
|
d49e7cc |
%{_libdir}/libroc.so
|
|
|
d31d302 |
%{_libdir}/pkgconfig/roc.pc
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%files utils
|
|
|
2291f45 |
%{_bindir}/roc-copy
|
|
|
d49e7cc |
%{_bindir}/roc-recv
|
|
|
d49e7cc |
%{_bindir}/roc-send
|
|
|
d49e7cc |
%{_mandir}/man1/*.1.gz
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%files doc
|
|
|
b4f41e0 |
%doc docs/html
|
|
|
d49e7cc |
|
|
|
d49e7cc |
%changelog
|
|
|
2291f45 |
* Thu Feb 1 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 0.3.0-1
|
|
|
2291f45 |
- New version
|
|
|
2291f45 |
- Fixed FTBFS
|
|
|
2291f45 |
Resolves: rhbz#2261654
|
|
|
2291f45 |
|
|
|
c774329 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-6
|
|
|
c774329 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
c774329 |
|
|
|
f3e3104 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-5
|
|
|
f3e3104 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f3e3104 |
|
|
|
5459e50 |
* Tue Aug 8 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 0.2.1-4
|
|
|
5459e50 |
- Fixed FTBFS
|
|
|
5459e50 |
Resolves: rhbz#2226398
|
|
|
5459e50 |
|
|
|
4604fb9 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
4604fb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
4604fb9 |
|
|
|
f865099 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
|
|
f865099 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
f865099 |
|
|
|
d31d302 |
* Tue Jan 10 2023 Wim Taymans <wtaymans@redhat.com> - 0.2.1-1
|
|
|
d31d302 |
- Update to 0.2.1
|
|
|
d31d302 |
|
|
|
b4f41e0 |
* Sat Dec 24 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.1.5^20221224git2017450a-1
|
|
|
b4f41e0 |
- New snapshot
|
|
|
b4f41e0 |
|
|
|
d3f9c88 |
* Tue Oct 11 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.1.5^20220829git863a0227-3
|
|
|
d3f9c88 |
- Disabled tests on 32 bit architectures (code is broken, use on own risk)
|
|
|
d3f9c88 |
|
|
|
d49e7cc |
* Mon Oct 10 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.1.5^20220829git863a0227-2
|
|
|
d49e7cc |
- Switched license tag to SPDX format
|
|
|
d49e7cc |
|
|
|
d49e7cc |
* Sat Aug 20 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.1.5^20220829git863a0227-1
|
|
|
d49e7cc |
- Initial version
|