automatic version update by autodist [release 4.5.22-1mamba;Mon Jun 28 2021]

This commit is contained in:
Automatic Build System 2024-01-05 20:46:55 +01:00
parent ccd93edeec
commit 1f195b7f67

View File

@ -1,28 +1,23 @@
Name: belle-sip
Version: 1.6.3
Version: 4.5.22
Release: 1mamba
Summary: A SIP (RFC3261) implementation written in C, with an object oriented API.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.linphone.org
#Source: http://download.savannah.gnu.org/releases/linphone/belle-sip/%{name}-%{version}.tar.gz
URL: https://www.linphone.org
Source: https://github.com/BelledonneCommunications/belle-sip.git/%{version}/%{name}-%{version}.tar.bz2
Patch0: belle-sip-1.5.0-fix-internal-includes.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libantlr3c-devel
BuildRequires: libbctoolbox-devel
BuildRequires: libgcc
BuildRequires: libpolarssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: antlr3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Belle-sip is a SIP (RFC3261) implementation written in C, with an object oriented API.
@ -47,21 +42,18 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
#%patch0 -p1
sed -i \
-e "s#antlr_java_prefixes=.*#antlr_java_prefixes="$srcdir"#" \
configure.ac
%build
./autogen.sh
%configure \
CFLAGS="-Wno-error"
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -72,19 +64,38 @@ sed -i \
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libbellesip.so.*
%doc AUTHORS COPYING
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/belle_sip_tester
%dir %{_includedir}/belle-sip
%{_includedir}/belle-sip/*.h
%{_includedir}/belle-sip/*.hh
%{_libdir}/libbellesip.so
%{_libdir}/libbellesip.a
%{_libdir}/libbellesip.la
%dir %{_libdir}/cmake/BelleSIP
%{_libdir}/cmake/BelleSIP/BelleSIP*.cmake
%{_datadir}/belle_sip_tester/tester_hosts
%{_libdir}/pkgconfig/belle-sip.pc
%doc NEWS
%changelog
* Mon Jun 28 2021 Automatic Build System <autodist@mambasoft.it> 4.5.22-1mamba
- automatic version update by autodist
* Thu Jun 17 2021 Automatic Build System <autodist@mambasoft.it> 4.5.20-1mamba
- automatic version update by autodist
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 4.5.15-1mamba
- automatic version update by autodist
* Tue May 11 2021 Automatic Build System <autodist@mambasoft.it> 4.5.14-1mamba
- automatic version update by autodist
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 4.5.10-1mamba
- automatic version update by autodist
* Tue Sep 05 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-1mamba
- update to 1.6.3