c8e9350
Name:           belle-sip
c8e9350
Version:        1.4.2
c8e9350
Release:        2%{?dist}
c8e9350
Summary:        Linphone SIP stack
c8e9350
License:        GPLv2+ and BSD and BSD with advertising and MIT
c8e9350
URL:            http://www.linphone.org/technical-corner/belle-sip/overview
c8e9350
Source0:        http://www.linphone.org/releases/sources/belle-sip/%{name}-%{version}.tar.gz
c8e9350
# Patch0 generated with commands running in src/grammars
c8e9350
# /usr/bin/java -Xmx256m -jar antlr-3.4-complete.jar  -make -Xmultithreaded -Xconversiontimeout 10000 -fo  . ./belle_sip_message.g
c8e9350
# /usr/bin/java -Xmx256m -jar antlr-3.4-complete.jar  -make -Xmultithreaded -Xconversiontimeout 10000 -fo .  belle_sdp.g
c8e9350
# antlr-3.4-complete.jar downloaded from https://github.com/antlr/website-antlr3/blob/gh-pages/download/antlr-3.4-complete.jar
c8e9350
Patch0:         belle-sip-1.4.2-antlr34.patch
c8e9350
Patch1:         belle-sip-1.4.2-fix-typo.patch
c8e9350
BuildRequires:  antlr3-tool
c8e9350
BuildRequires:  antlr3-C-devel
c8e9350
BuildRequires:  mbedtls-devel
c8e9350
BuildRequires:  libtool
c8e9350
# The version is used from src/md5.c line:
c8e9350
# /* $Id: md5.c,v 1.6 2002/04/13 19:20:28 lpd Exp $ */
c8e9350
Provides: bundled(md5-deutsch) = 1.6
c8e9350
c8e9350
%description
c8e9350
Belle-sip is an object oriented C written SIP stack used by Linphone.
c8e9350
c8e9350
%package devel
c8e9350
Summary:       Development libraries for belle-sip
c8e9350
Requires:      %{name}%{?_isa} = %{version}-%{release}
c8e9350
c8e9350
%description    devel
c8e9350
Libraries and headers required to develop software with belle-sip.
c8e9350
c8e9350
%prep
c8e9350
%setup -q
c8e9350
%patch0 -p1 -b .antlr34
c8e9350
%patch1 -p1 -b .typo
c8e9350
c8e9350
autoreconf -ifv
c8e9350
c8e9350
c8e9350
%build
c8e9350
%configure --disable-tests \
c8e9350
           --disable-silent-rules \
c8e9350
           --disable-static \
c8e9350
%if 0%{?fedora} > 22
c8e9350
           --disable-tls
c8e9350
%endif
c8e9350
c8e9350
%make_build
c8e9350
c8e9350
c8e9350
%install
c8e9350
%make_install
c8e9350
find %{buildroot} -name '*.la' -delete
c8e9350
c8e9350
c8e9350
%post -p /sbin/ldconfig
c8e9350
c8e9350
%postun -p /sbin/ldconfig
c8e9350
c8e9350
c8e9350
%files
c8e9350
%license COPYING
c8e9350
%doc README
c8e9350
%{_libdir}/libbellesip.so.0*
c8e9350
c8e9350
%files devel
c8e9350
%{_includedir}/belle-sip
c8e9350
%{_libdir}/libbellesip.so
c8e9350
%{_libdir}/pkgconfig/belle-sip.pc
c8e9350
c8e9350
%changelog
c8e9350
* Tue Jul 19 2016 Alexey Kurov <nucleo@fedoraproject.org> - 1.4.2-2
c8e9350
- Fix typo in comparison code (patch from bug #1050744)
c8e9350
c8e9350
* Sat Nov  7 2015 Alexey Kurov <nucleo@fedoraproject.org> - 1.4.2-1
c8e9350
- belle-sip-1.4.2
c8e9350
c8e9350
* Sat Sep 19 2015 Alexey Kurov <nucleo@fedoraproject.org> - 1.4.1-2
c8e9350
- disabled TLS for F23+ (mbedtls 2 incompatible)
c8e9350
c8e9350
* Fri Sep  4 2015 Alexey Kurov <nucleo@fedoraproject.org> - 1.4.1-1
c8e9350
- belle-sip-1.4.1
c8e9350
- removed atlr3 3.4 SOURCE1
c8e9350
- added patch with files generated by antlr-3.4-complete.jar
c8e9350
- BR: mbedtls-devel instead of polarssl-devel
c8e9350
c8e9350
* Sun Feb 15 2015 Alexey Kurov <nucleo@fedoraproject.org> - 1.4.0-1
c8e9350
- belle-sip-1.4.0
c8e9350
- update Source0 URL
c8e9350
- use %%license macro
c8e9350
c8e9350
* Sun Feb 15 2015 Alexey Kurov <nucleo@fedoraproject.org> - 1.3.3-1
c8e9350
- belle-sip-1.3.3
c8e9350
- added atlr3 3.4 SOURCE1
c8e9350
- License: GPLv2+ and BSD and BSD with advertising and MIT
c8e9350
- Provides: bundled(md5-deutsch) = 1.6
c8e9350
c8e9350
* Fri Feb 21 2014 Alexey Kurov <nucleo@fedoraproject.org> - 1.3.0-1
c8e9350
- belle-sip-1.3.0
c8e9350
- revert fix FSF address in COPYING
c8e9350
c8e9350
* Sat Jan 18 2014 Alexey Kurov <nucleo@fedoraproject.org> - 1.2.4-3
c8e9350
- License: GPLv2+
c8e9350
- fix FSF address in COPYING
c8e9350
c8e9350
* Sun Jan 12 2014 Alexey Kurov <nucleo@fedoraproject.org> - 1.2.4-2
c8e9350
- add %%{?_isa} in -devel Requires
c8e9350
- add verbose option to autoreconf
c8e9350
- verbose build output
c8e9350
c8e9350
* Thu Jan  9 2014 Alexey Kurov <nucleo@fedoraproject.org> - 1.2.4-1
c8e9350
- Initial RPM release