Name: pjproject-gnutls Summary: Libraries for building embedded/non-embedded VoIP applications Version: 2.5.5 Release: 1%{?dist} License: GPLv2+ URL: http://www.pjsip.org Source0: http://www.pjsip.org/release/%{version}/pjproject-%{version}.tar.bz2 # Patches from ring-daemon bundled pjproject with gnutls backend Patch0: intptr_t.patch Patch1: endianness.patch Patch2: gnutls.patch Patch3: notestsapps.patch Patch4: ipv6.patch Patch5: ice_config.patch Patch6: multiple_listeners.patch Patch7: fix_turn_fallback.patch Patch8: fix_ioqueue_ipv6_sendto.patch Patch9: add_dtls_transport.patch Patch10: pj_uwp_ice_sess.patch # Rename sharedlibraries from libpj* to libpjgnutls* Patch100: pjproject_libname.patch BuildRequires: make BuildRequires: gcc BuildRequires: alsa-lib-devel BuildRequires: gnutls-devel BuildRequires: gsm-devel BuildRequires: libsrtp-devel BuildRequires: libuuid-devel BuildRequires: portaudio-devel BuildRequires: python-devel BuildRequires: speex-devel BuildRequires: speexdsp-devel %description This package provides the Open Source, comprehensive, high performance, small footprint multimedia communication libraries written in C language for building embedded/non-embedded VoIP applications. It contains: - PJSIP - Open Source SIP Stack - PJMEDIA - Open Source Media Stack - PJNATH - Open Source NAT Traversal Helper Library - PJLIB-UTIL - Auxiliary Library - PJLIB - Ultra Portable Base Framework Library - PJSUA2 - Object Oriented abstractions layer for PJSUA %package devel Summary: Development files to use pjproject Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header information for: - PJSIP - Open Source SIP Stack - PJMEDIA - Open Source Media Stack - PJNATH - Open Source NAT Traversal Helper Library - PJLIB-UTIL - Auxiliary Library - PJLIB - Ultra Portable Base Framework Library %prep %autosetup -p1 -n pjproject-%{version} # Make sure no bundled libraries are used rm -rf third_party # Dummy files to stop configure complaining... mkdir -p third_party/build/portaudio touch third_party/build/os-auto.mak.in touch third_party/build/portaudio/os-auto.mak.in echo "all:" > third_party/build/Makefile %build # Flags below are as needed by the ring-daemon bundled pjproject export CFLAGS="-DPJ_ICE_MAX_CAND=32 -DPJ_ICE_MAX_CHECKS=150 -DPJ_ICE_COMP_BITS=2 %{optflags}" %configure --enable-shared \ --with-external-gsm \ --with-external-pa \ --with-external-speex \ --with-external-srtp \ --disable-oss \ --disable-sound \ --disable-video \ --disable-resample \ --enable-ext-sound \ --disable-speex-aec \ --disable-g711-codec \ --disable-l16-codec \ --disable-gsm-codec \ --disable-g722-codec \ --disable-g7221-codec \ --disable-speex-codec \ --disable-ilbc-codec \ --disable-opencore-amr \ --disable-sdl \ --disable-ffmpeg \ --disable-v4l2 \ --enable-ssl=gnutls \ --includedir=%{_includedir}/pj-gnutls/ # Parallel build broken make V=1 %install %make_install # Delete static libraries rm -f %{buildroot}%{_libdir}/*.a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README.txt README-RTEMS INSTALL.txt %license COPYING %{_libdir}/libpjgnutls*.so.* %files devel %{_libdir}/lib*.so %{_includedir}/pj-gnutls/ %{_libdir}/pkgconfig/libpjproject-gnutls.pc %changelog * Thu Jan 05 2017 Sandro Mani - 2.5.5-1 - Update to 2.5.5 * Sat Jul 16 2016 Sandro Mani - 2.4.5-1 - Update to 2.4.5 * Wed May 06 2015 Sandro Mani - 2.4-1 - Initial package