From 3ed10d175ca5fad84e68f572f86bc380580cd222 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 31 May 2024 13:26:30 +0300 Subject: [PATCH] Update to 5.3.54 and cleanup spec --- .belle-sip.metadata | 2 +- .gitignore | 2 +- SPECS/belle-sip.spec | 46 +++++++++++++++++--------------------------- 3 files changed, 20 insertions(+), 30 deletions(-) diff --git a/.belle-sip.metadata b/.belle-sip.metadata index 4af87e3..bd20679 100644 --- a/.belle-sip.metadata +++ b/.belle-sip.metadata @@ -1 +1 @@ -08ab3d7f8a31cf050743aef73cff6e3e8dd95a99 SOURCES/belle-sip-5.3.5.tar.gz +88e819f2baf6f441c0cb13d556b631d82bdd3ee7 SOURCES/belle-sip-5.3.54.tar.gz diff --git a/.gitignore b/.gitignore index 94b2aa4..a83e2cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/belle-sip-5.3.5.tar.gz +SOURCES/belle-sip-5.3.54.tar.gz diff --git a/SPECS/belle-sip.spec b/SPECS/belle-sip.spec index 263c663..89f5c48 100644 --- a/SPECS/belle-sip.spec +++ b/SPECS/belle-sip.spec @@ -1,45 +1,31 @@ -%define major 1 -%define devname belle-sip-devel -%define libname belle-sip-libs - %bcond_with tests +Summary: Linphone sip stack Name: belle-sip -Version: 5.3.5 +Version: 5.3.54 Release: 1%{?dist}.inferit -Summary: Linphone sip stack -Group: Communications/Telephony License: GPLv2 URL: https://linphone.org/technical-corner/belle-sip/overview Source0: https://gitlab.linphone.org/BC/public/belle-sip/-/archive/%{version}/belle-sip-%{version}.tar.gz # (wally) fix pkgconfig file contents when building with cmake -Patch100: belle-sip-cmake-fix-pkgconfig-pc-file.patch +Patch100: belle-sip-cmake-fix-pkgconfig-pc-file.patch + BuildRequires: cmake BuildRequires: ninja-build BuildRequires: bctoolbox-devel >= %{version} BuildRequires: belr-devel >= %{version} +Obsoletes: belle-sip < %{version} + %description Belle-sip is an object oriented c written SIP stack used by Linphone. -%package -n %{libname} -Summary: The belle-sip library, a part of belle-sip -Group: System/Libraries -Requires: %{name}-grammars >= %{version}-%{release} -Obsoletes: %{_lib}bellesip1 < 5.3.5 - -%description -n %{libname} -The belle-sip library, a part of belle-sip. - -%package -n %{devname} +%package devel Summary: Development libraries for belle-sip -Group: System/Libraries -Provides: %{name}-devel = %{version}-%{release} -Requires: %{libname} = %{version}-%{release} -Obsoletes: %{_lib}bellesip-devel < 5.3.5 +Requires: %{name} = %{version}-%{release} -%description -n %{devname} +%description devel Libraries and headers required to develop software with belle-sip. %package grammars @@ -68,7 +54,11 @@ sed -i -e '/project/s/\(VERSION\)\s\+[0-9]\+\(\.[0-9]\+\)\+/\1 %{version}/' CMak %install %cmake_install -%files -n %{devname} +%files +%license LICENSE.txt +%{_libdir}/libbelle-sip.so.* + +%files devel %doc README.md CHANGELOG.md %{_includedir}/belle-sip/ %{_libdir}/libbelle-sip.so @@ -80,15 +70,15 @@ sed -i -e '/project/s/\(VERSION\)\s\+[0-9]\+\(\.[0-9]\+\)\+/\1 %{version}/' CMak %{_datadir}/belle_sip_tester/tester_hosts %endif -%files -n %{libname} -%license LICENSE.txt -%{_libdir}/libbelle-sip.so.%{major}{,.*} - %files grammars %{_datadir}/belr/grammars/sdp_grammar %changelog +* Fri May 31 2024 Arkady L. Shane - 5.3.54-1.inferit +- Update to 5.3.54 +- Clean up spec + * Thu May 30 2024 Sergey Cherevko 5.3.5-1.inferit - Rebuilt for MSVSphere 9.4