Compare commits
24 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
bef263b6ee | ||
|
93a63ef0a9 | ||
|
b0e54451e4 | ||
|
9d8964ede5 | ||
|
de6ee91aef | ||
|
4b5ad14d8d | ||
|
2890f54620 | ||
|
79df7393be | ||
|
b6237125e9 | ||
|
34bade78f1 | ||
|
ac45d8f41b | ||
|
94d4b1ca50 | ||
|
1b104727f0 | ||
|
59f15f3215 | ||
|
2ed9779fc8 | ||
|
d4e900835f | ||
|
324925487f | ||
|
a2f2542587 | ||
|
56bee03972 | ||
|
0f44a3a2d0 | ||
|
348ab07ead | ||
|
f51775adb9 | ||
|
9b41e5f78d | ||
|
66bce4a240 |
File diff suppressed because it is too large
Load Diff
175
baresip.spec
175
baresip.spec
@ -1,6 +1,6 @@
|
||||
Summary: Modular SIP user-agent with audio and video support
|
||||
Name: baresip
|
||||
Version: 3.1.0
|
||||
Version: 3.15.0
|
||||
Release: 1%{?dist}
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/baresip/baresip
|
||||
@ -11,29 +11,17 @@ Source11: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/raw/1e1d6921
|
||||
Source12: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/raw/master/COPYING#/COPYING.adwaita-icon-theme
|
||||
Source13: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/raw/master/COPYING_CCBYSA3#/COPYING_CCBYSA3.adwaita-icon-theme
|
||||
Source14: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/raw/master/COPYING_LGPL#/COPYING_LGPL.adwaita-icon-theme
|
||||
Patch0: https://patch-diff.githubusercontent.com/raw/baresip/baresip/pull/2439.patch#/baresip-3.0.0-pipewire.patch
|
||||
BuildRequires: cmake
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
BuildRequires: cmake3
|
||||
%endif
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libre-devel >= 3.1.0
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
BuildRequires: openssl-devel >= 1.1.0
|
||||
%else
|
||||
BuildRequires: openssl11-devel
|
||||
# Atomic support in libre >= 2.1.0
|
||||
BuildRequires: devtoolset-8-toolchain
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
BuildRequires: libre-devel >= 3.15.0
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
BuildRequires: openssl-devel
|
||||
Recommends: %{name}-pipewire%{?_isa} = %{version}-%{release}
|
||||
%else
|
||||
%if 0%{?rhel} == 8
|
||||
# https://github.com/baresip/re/pull/1015
|
||||
BuildRequires: openssl3-devel
|
||||
Recommends: %{name}-pulse%{?_isa} = %{version}-%{release}
|
||||
%else
|
||||
Requires: %{name}-pulse%{?_isa} = %{version}-%{release}
|
||||
%endif
|
||||
%endif
|
||||
Obsoletes: %{name}-cairo < 1.1.0-1
|
||||
Obsoletes: %{name}-rst < 2.0.0-1
|
||||
@ -159,35 +147,26 @@ Summary: GTK+ menu-based user interface module for baresip
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: desktop-file-utils
|
||||
%if 0%{?rhel} == 7 || 0%{?rhel} == 8
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
Requires: adwaita-icon-theme >= 3.31.91-1
|
||||
Requires: (gnome-shell-extension-appindicator if gnome-shell)
|
||||
%else
|
||||
License: BSD-3-Clause AND (LGPL-3.0-or-later OR CC-BY-SA-3.0)
|
||||
BuildRequires: librsvg2
|
||||
BuildRequires: /usr/bin/gtk-encode-symbolic-svg
|
||||
BuildRequires: %{_bindir}/gtk-encode-symbolic-svg
|
||||
Requires: adwaita-icon-theme < 3.31.91-1
|
||||
%else
|
||||
Requires: adwaita-icon-theme >= 3.31.91-1
|
||||
Requires: (gnome-shell-extension-topicons-plus if gnome-shell)
|
||||
%endif
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
Requires: (gnome-shell-extension-appindicator if gnome-shell)
|
||||
Recommends: libcanberra-gtk3
|
||||
%else
|
||||
%if 0%{?rhel} == 8
|
||||
Requires: (gnome-shell-extension-topicons-plus if gnome-shell)
|
||||
Recommends: libcanberra-gtk3
|
||||
%else
|
||||
Requires: libcanberra-gtk3
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description gtk
|
||||
Baresip is a modular SIP user-agent with audio and video support.
|
||||
|
||||
This module provides a GTK+ menu-based user interface.
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
|
||||
Note: GTK+ defaults to the Wayland backend, which baresip does not
|
||||
support. Use 'GDK_BACKEND=x11 baresip' to override it to Xwayland.
|
||||
%endif
|
||||
|
||||
%package jack
|
||||
Summary: JACK audio driver for baresip
|
||||
@ -204,11 +183,7 @@ Summary: MPA speech and audio codec module for baresip
|
||||
BuildRequires: twolame-devel
|
||||
BuildRequires: lame-devel
|
||||
BuildRequires: mpg123-devel
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
BuildRequires: speexdsp-devel
|
||||
%else
|
||||
BuildRequires: speex-devel
|
||||
%endif
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description mpa
|
||||
@ -237,7 +212,7 @@ Baresip is a modular SIP user-agent with audio and video support.
|
||||
|
||||
This module provides the Opus speech and audio codec module.
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
%package pipewire
|
||||
Summary: PipeWire audio driver for baresip
|
||||
BuildRequires: pkgconfig(libpipewire-0.3)
|
||||
@ -366,27 +341,19 @@ Baresip is a modular SIP user-agent with audio and video support.
|
||||
This module provides the X11 video output driver.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .pipewire
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
%global cmake %cmake3
|
||||
%global cmake_build %cmake3_build
|
||||
%global cmake_install %cmake3_install
|
||||
|
||||
. /opt/rh/devtoolset-8/enable
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DDEFAULT_CAFILE:PATH="%{_sysconfdir}/pki/tls/certs/ca-bundle.crt" \
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
-DDEFAULT_CAPATH:PATH="%{_sysconfdir}/pki/tls/certs" \
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
-DDEFAULT_AUDIO_DEVICE:STRING="pipewire" \
|
||||
%else
|
||||
-DDEFAULT_AUDIO_DEVICE:STRING="pulse" \
|
||||
%endif
|
||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
||||
-DOPENSSL_ROOT_DIR:PATH="%{_includedir}/openssl11;%{_libdir}/openssl11"
|
||||
%if 0%{?rhel} == 8
|
||||
-DOPENSSL_ROOT_DIR:PATH="%{_includedir}/openssl3;%{_libdir}/openssl3"
|
||||
%endif
|
||||
|
||||
%cmake_build
|
||||
@ -397,8 +364,8 @@ This module provides the X11 video output driver.
|
||||
# Install com.github.baresip.desktop file
|
||||
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ %{SOURCE1}
|
||||
|
||||
# Missing status icons for RHEL 7 and 8 (included since adwaita-icon-theme >= 3.31.91)
|
||||
%if 0%{?rhel} == 7 || 0%{?rhel} == 8
|
||||
# Missing status icons for RHEL 8 (included since adwaita-icon-theme >= 3.31.91)
|
||||
%if 0%{?rhel} == 8
|
||||
cp -pf %{SOURCE12} %{SOURCE13} %{SOURCE14} .
|
||||
|
||||
install -D -p -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/icons/Adwaita/scalable/status/call-incoming-symbolic.svg
|
||||
@ -413,27 +380,13 @@ gtk-encode-symbolic-svg %{SOURCE11} 16x16 -o $RPM_BUILD_ROOT%{_datadir}/icons/Ad
|
||||
install -p -m 0755 tools/fritzbox2%{name} $RPM_BUILD_ROOT%{_bindir}/fritzbox2%{name}
|
||||
|
||||
%check
|
||||
%if !0%{?__cmake_in_source_build} && !0%{?__cmake3_in_source_build}
|
||||
cd %{_vpath_builddir}
|
||||
%if !0%{?__cmake_in_source_build}
|
||||
cd %{__cmake_builddir}
|
||||
%endif
|
||||
./test/selftest
|
||||
./test/selftest -d %{!?__cmake_in_source_build:../}test/data/ -v
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
%post gtk
|
||||
touch --no-create %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
|
||||
%postun gtk
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/Adwaita &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans gtk
|
||||
gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} == 8
|
||||
%transfiletriggerin -- %{_datadir}/icons/Adwaita
|
||||
gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
@ -446,7 +399,7 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md docs/THANKS docs/examples
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/lib%{name}.so.6*
|
||||
%{_libdir}/lib%{name}.so.17*
|
||||
%dir %{_libdir}/%{name}/
|
||||
%dir %{_libdir}/%{name}/modules/
|
||||
%{_libdir}/%{name}/modules/account.so
|
||||
@ -468,11 +421,11 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
%{_libdir}/%{name}/modules/httpd.so
|
||||
%{_libdir}/%{name}/modules/httpreq.so
|
||||
%{_libdir}/%{name}/modules/ice.so
|
||||
%{_libdir}/%{name}/modules/in_band_dtmf.so
|
||||
%{_libdir}/%{name}/modules/l16.so
|
||||
%{_libdir}/%{name}/modules/menu.so
|
||||
%{_libdir}/%{name}/modules/mixausrc.so
|
||||
%{_libdir}/%{name}/modules/mixminus.so
|
||||
%{_libdir}/%{name}/modules/multicast.so
|
||||
%{_libdir}/%{name}/modules/mwi.so
|
||||
%{_libdir}/%{name}/modules/natpmp.so
|
||||
%{_libdir}/%{name}/modules/netroam.so
|
||||
@ -526,7 +479,7 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
%files gtk
|
||||
%{_libdir}/%{name}/modules/gtk.so
|
||||
%{_datadir}/applications/com.github.baresip.desktop
|
||||
%if 0%{?rhel} == 7 || 0%{?rhel} == 8
|
||||
%if 0%{?rhel} == 8
|
||||
%license COPYING*.adwaita-icon-theme
|
||||
%{_datadir}/icons/Adwaita/16x16/status/call-incoming-symbolic.symbolic.png
|
||||
%{_datadir}/icons/Adwaita/16x16/status/call-outgoing-symbolic.symbolic.png
|
||||
@ -547,7 +500,7 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
%{_libdir}/%{name}/modules/opus.so
|
||||
%{_libdir}/%{name}/modules/opus_multistream.so
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 8
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
%files pipewire
|
||||
%{_libdir}/%{name}/modules/pipewire.so
|
||||
%endif
|
||||
@ -586,6 +539,78 @@ gtk-update-icon-cache --force %{_datadir}/icons/Adwaita &>/dev/null || :
|
||||
%{_libdir}/%{name}/modules/x11.so
|
||||
|
||||
%changelog
|
||||
* Sat Sep 14 2024 Robert Scheck <robert@fedoraproject.org> 3.15.0-1
|
||||
- Upgrade to 3.15.0 (#2309007)
|
||||
|
||||
* Tue Jul 23 2024 Robert Scheck <robert@fedoraproject.org> 3.14.0-1
|
||||
- Upgrade to 3.14.0 (#2299492)
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 28 2024 Robert Scheck <robert@fedoraproject.org> 3.13.0-1
|
||||
- Upgrade to 3.13.0 (#2293512)
|
||||
|
||||
* Tue May 28 2024 Robert Scheck <robert@fedoraproject.org> 3.12.1-1
|
||||
- Upgrade to 3.12.1 (#2283595)
|
||||
|
||||
* Mon May 20 2024 Robert Scheck <robert@fedoraproject.org> 3.12.0-1
|
||||
- Upgrade to 3.12.0
|
||||
|
||||
* Thu Apr 11 2024 Robert Scheck <robert@fedoraproject.org> 3.11.0-1
|
||||
- Upgrade to 3.11.0 (#2274242)
|
||||
|
||||
* Tue Mar 12 2024 Robert Scheck <robert@fedoraproject.org> 3.10.1-1
|
||||
- Upgrade to 3.10.1 (#2269261)
|
||||
|
||||
* Mon Mar 11 2024 Robert Scheck <robert@fedoraproject.org> 3.10.0-2
|
||||
- Added upstream patch to fix mtx_unlock on discard in aureceiver
|
||||
|
||||
* Sun Mar 10 2024 Robert Scheck <robert@fedoraproject.org> 3.10.0-1
|
||||
- Upgrade to 3.10.0 (#2268424)
|
||||
|
||||
* Wed Feb 07 2024 Pete Walter <pwalter@fedoraproject.org> - 3.9.0-2
|
||||
- Rebuild for libvpx 1.14.x
|
||||
|
||||
* Thu Feb 01 2024 Robert Scheck <robert@fedoraproject.org> 3.9.0-1
|
||||
- Upgrade to 3.9.0 (#2262187)
|
||||
|
||||
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 06 2024 Robert Scheck <robert@fedoraproject.org> 3.8.1-1
|
||||
- Upgrade to 3.8.1 (#2256553)
|
||||
|
||||
* Thu Dec 28 2023 Robert Scheck <robert@fedoraproject.org> 3.8.0-1
|
||||
- Upgrade to 3.8.0 (#2256050)
|
||||
|
||||
* Sun Nov 26 2023 Robert Scheck <robert@fedoraproject.org> 3.7.0-1
|
||||
- Upgrade to 3.7.0 (#2251125)
|
||||
|
||||
* Sun Oct 29 2023 Robert Scheck <robert@fedoraproject.org> 3.6.0-1
|
||||
- Upgrade to 3.6.0 (#2244802)
|
||||
|
||||
* Sun Sep 17 2023 Robert Scheck <robert@fedoraproject.org> 3.5.1-1
|
||||
- Upgrade to 3.5.1 (#2238647)
|
||||
|
||||
* Sat Aug 12 2023 Robert Scheck <robert@fedoraproject.org> 3.4.0-1
|
||||
- Upgrade to 3.4.0 (#2230766)
|
||||
|
||||
* Sat Aug 05 2023 Richard Shaw <hobbes1069@gmail.com> - 3.3.0-3
|
||||
- Rebuild for codec2.
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jul 07 2023 Robert Scheck <robert@fedoraproject.org> 3.3.0-1
|
||||
- Upgrade to 3.3.0 (#2220879)
|
||||
|
||||
* Wed May 31 2023 Robert Scheck <robert@fedoraproject.org> 3.2.0-1
|
||||
- Upgrade to 3.2.0 (#2211408)
|
||||
|
||||
* Thu Apr 27 2023 Robert Scheck <robert@fedoraproject.org> 3.1.0-1
|
||||
- Upgrade to 3.1.0 (#2190310)
|
||||
|
||||
|
2
sources
2
sources
@ -1,4 +1,4 @@
|
||||
SHA512 (baresip-3.1.0.tar.gz) = 5a56b9cebd66d57ae75c7175402e8516652ac165f97531698240f17b049ccd8b0974f6bdea4a37a18a2d563997abfb3ec03a05c8e45038d48b2edca0f40c6de0
|
||||
SHA512 (baresip-3.15.0.tar.gz) = 20d426d749c2cdbaab09ed92be5ef089c85bb1bf693eab272de673be1ad5457624487e5de2f4675be6246cfead1b6181e60ec35624aadf88909d0d625228d966
|
||||
SHA512 (call-incoming-symbolic.svg) = 49b6422efff9986dd4a18b34df4ab185b01b46c44ab5b8c1d45ab1ca25694cb42e73428b0a69e5fe2eb61c4e7a7aba9c0df82b5e0290f45950f3942be63bf987
|
||||
SHA512 (call-outgoing-symbolic.svg) = 142cf668d977e3a709d3c13e01d86fdd09e501affd1756df3000de84581c55b3b5082758b32a73ae0e47f45233cc7e55609f3e54effbba01666ca97d5a55fdaa
|
||||
SHA512 (COPYING.adwaita-icon-theme) = e8963bab4d94d9fbcfc930b95164afff9502e4e53209104f4836fcd6dab2c2e9f105c9f9a17b43bc9502903c9c7b2e0880dacf2339cbe110a19654f13742e20a
|
||||
|
Loading…
Reference in New Issue
Block a user