- Include latest features and fixes from upstream
- Changes to match the Fedora Packaging Guidelines (#1843279 #c1)
This commit is contained in:
parent
f4bebe22ce
commit
fc79b9f304
11571
baresip-0.6.6-235c021.patch
Normal file
11571
baresip-0.6.6-235c021.patch
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
25
baresip.spec
25
baresip.spec
@ -1,11 +1,13 @@
|
|||||||
Summary: Modular SIP user-agent with audio and video support
|
Summary: Modular SIP user-agent with audio and video support
|
||||||
Name: baresip
|
Name: baresip
|
||||||
Version: 0.6.6
|
Version: 0.6.6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.creytiv.com/baresip.html
|
URL: http://www.creytiv.com/baresip.html
|
||||||
Source0: https://github.com/baresip/baresip/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/baresip/baresip/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: baresip-0.6.6-3871768.patch
|
Source1: com.creytiv.baresip.desktop
|
||||||
|
# Latest fixes from Git (not yet available in a release)
|
||||||
|
Patch0: baresip-0.6.6-235c021.patch
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libre-devel
|
BuildRequires: libre-devel
|
||||||
@ -14,6 +16,8 @@ BuildRequires: openssl-devel
|
|||||||
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 7)
|
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 7)
|
||||||
Recommends: %{name}-pulse%{?_isa} = %{version}-%{release}
|
Recommends: %{name}-pulse%{?_isa} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
# Patch0 requires "git apply" due to binary patches
|
||||||
|
BuildRequires: git
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A modular SIP user-agent with support for audio and video, and many IETF
|
A modular SIP user-agent with support for audio and video, and many IETF
|
||||||
@ -105,7 +109,11 @@ This module implements video codecs using GStreamer 1.0 framework.
|
|||||||
Summary: GTK+ menu-based user interface module for baresip
|
Summary: GTK+ menu-based user interface module for baresip
|
||||||
BuildRequires: pkgconfig(gtk+-2.0) >= 2.22
|
BuildRequires: pkgconfig(gtk+-2.0) >= 2.22
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 7)
|
||||||
|
Requires: (gnome-shell-extension-topicons-plus if gnome-shell)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description gtk
|
%description gtk
|
||||||
Baresip is a modular SIP user-agent with audio and video support.
|
Baresip is a modular SIP user-agent with audio and video support.
|
||||||
@ -299,7 +307,7 @@ This module provides the X11 grabber video source driver.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .3871768
|
git apply -p1 < %{PATCH0}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build \
|
%make_build \
|
||||||
@ -307,7 +315,7 @@ This module provides the X11 grabber video source driver.
|
|||||||
RELEASE=1 \
|
RELEASE=1 \
|
||||||
PREFIX=%{_prefix} \
|
PREFIX=%{_prefix} \
|
||||||
MOD_PATH=%{_libdir}/%{name}/modules \
|
MOD_PATH=%{_libdir}/%{name}/modules \
|
||||||
EXTRA_CFLAGS="$RPM_OPT_FLAGS" \
|
EXTRA_CFLAGS="$RPM_OPT_FLAGS -DDEFAULT_CAFILE='\"%{_sysconfdir}/pki/tls/certs/ca-bundle.crt\"' -DDEFAULT_AUDIO_DEVICE='\"pulse\"'" \
|
||||||
EXTRA_LFLAGS="$RPM_LD_FLAGS"
|
EXTRA_LFLAGS="$RPM_LD_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -316,6 +324,9 @@ This module provides the X11 grabber video source driver.
|
|||||||
# Correct module permissions to add executable bit
|
# Correct module permissions to add executable bit
|
||||||
chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.so
|
chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.so
|
||||||
|
|
||||||
|
# Install com.creytiv.baresip.desktop file
|
||||||
|
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ %{SOURCE1}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license docs/COPYING
|
%license docs/COPYING
|
||||||
%doc docs/ChangeLog docs/THANKS docs/examples
|
%doc docs/ChangeLog docs/THANKS docs/examples
|
||||||
@ -326,6 +337,7 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.so
|
|||||||
%{_libdir}/%{name}/modules/aubridge.so
|
%{_libdir}/%{name}/modules/aubridge.so
|
||||||
%{_libdir}/%{name}/modules/aufile.so
|
%{_libdir}/%{name}/modules/aufile.so
|
||||||
%{_libdir}/%{name}/modules/auloop.so
|
%{_libdir}/%{name}/modules/auloop.so
|
||||||
|
%{_libdir}/%{name}/modules/ausine.so
|
||||||
%{_libdir}/%{name}/modules/b2bua.so
|
%{_libdir}/%{name}/modules/b2bua.so
|
||||||
%{_libdir}/%{name}/modules/cons.so
|
%{_libdir}/%{name}/modules/cons.so
|
||||||
%{_libdir}/%{name}/modules/contact.so
|
%{_libdir}/%{name}/modules/contact.so
|
||||||
@ -381,6 +393,7 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.so
|
|||||||
|
|
||||||
%files gtk
|
%files gtk
|
||||||
%{_libdir}/%{name}/modules/gtk.so
|
%{_libdir}/%{name}/modules/gtk.so
|
||||||
|
%{_datadir}/applications/com.creytiv.baresip.desktop
|
||||||
|
|
||||||
%files jack
|
%files jack
|
||||||
%{_libdir}/%{name}/modules/jack.so
|
%{_libdir}/%{name}/modules/jack.so
|
||||||
@ -435,6 +448,10 @@ chmod 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*.so
|
|||||||
%{_libdir}/%{name}/modules/x11grab.so
|
%{_libdir}/%{name}/modules/x11grab.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 01 2020 Robert Scheck <robert@fedoraproject.org> 0.6.6-2
|
||||||
|
- Include latest features and fixes from upstream
|
||||||
|
- Changes to match the Fedora Packaging Guidelines (#1843279 #c1)
|
||||||
|
|
||||||
* Thu May 28 2020 Robert Scheck <robert@fedoraproject.org> 0.6.6-1
|
* Thu May 28 2020 Robert Scheck <robert@fedoraproject.org> 0.6.6-1
|
||||||
- Upgrade to 0.6.6 (#1843279)
|
- Upgrade to 0.6.6 (#1843279)
|
||||||
- Initial spec file for Fedora and Red Hat Enterprise Linux
|
- Initial spec file for Fedora and Red Hat Enterprise Linux
|
||||||
|
11
com.creytiv.baresip.desktop
Normal file
11
com.creytiv.baresip.desktop
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Baresip
|
||||||
|
GenericName=SIP softphone
|
||||||
|
Comment=Modular SIP user-agent with audio and video support
|
||||||
|
Icon=call-start
|
||||||
|
Exec=baresip
|
||||||
|
Terminal=false
|
||||||
|
Categories=GNOME;GTK;Network;Telephony;
|
||||||
|
Keywords=VoIP;
|
||||||
|
StartupNotify=true
|
Loading…
Reference in New Issue
Block a user