%global posttag git217740d %global _smp_mflags -j1 Name: pjproject Summary: Libraries for building embedded/non-embedded VoIP applications Version: 2.1 Release: 0.6.%{posttag}%{?dist} Group: System Environment/Libraries License: GPLv2+ URL: http://www.pjsip.org Source0: http://www.pjsip.org/release/%{version}/%{name}-%{version}.tar.bz2 # PJSIP for Asterisk requires patching from the fork at https://github.com/asterisk/pjproject # https://wiki.asterisk.org/wiki/display/AST/Installing+pjproject # # From the pjproject-asterisk git repository with the master branch checked out: # git diff -p --stat pjproject-2.1 > ../../rpms/pjproject/pjproject-asterisk-master.patch Patch0: %{name}-asterisk-master.patch BuildRequires: alsa-lib-devel BuildRequires: gsm-devel BuildRequires: libsrtp-devel BuildRequires: libuuid-devel BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: portaudio-devel BuildRequires: speex-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 %package devel Summary: Development files to use pjproject Group: Development/Libraries Requires: %{name} = %{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 %setup -q -n %{name}-%{version}.0 %patch0 -p1 %build %configure --prefix=%{_prefix} \ --enable-shared \ --with-external-gsm \ --with-external-pa \ --with-external-speex \ --with-external-srtp \ --disable-opencore-amr \ --disable-resample \ --disable-sound \ --disable-video make %{?_smp_mflags} dep make %{?_smp_mflags} %install rm -rf %{buildroot} make %{?_smp_mflags} DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING README.txt README-RTEMS INSTALL.txt %files devel %{_libdir}/lib*.so* %{_libdir}/*.a %{_includedir}/pj++/ %{_includedir}/pj/ %{_includedir}/pjlib-util/ %{_includedir}/pjmedia-audiodev/ %{_includedir}/pjmedia-codec/ %{_includedir}/pjmedia-videodev/ %{_includedir}/pjmedia/ %{_includedir}/pjnath/ %{_includedir}/pjsip-simple/ %{_includedir}/pjsip-ua/ %{_includedir}/pjsip/ %{_includedir}/pjsua-lib/ %{_includedir}/*.h %{_includedir}/*.hpp %{_libdir}/pkgconfig/libpjproject.pc %changelog * Fri Jan 17 2014 Dale Macartney - 2.1-0.6.git217740d - Shorten sumary, and moved libs to -devel package * Mon Nov 25 2013 Anthony Messina - 2.1-0.5.git217740d - Enable G.722.1 and ILBC * Mon Nov 25 2013 Anthony Messina - 2.1-0.4.git217740d - Build without opencore-amr * Mon Nov 18 2013 Anthony Messina - 2.1-0.3.git217740d - Updates for SIP transaction handling * Sat Nov 16 2013 Anthony Messina - 2.1-0.2.gitde17f0e - Rebuild for updates to OpenSSL * Mon Oct 07 2013 Anthony Messina - 2.1-0.1.gitde17f0e - Package for Fedora & Asterisk: https://wiki.asterisk.org/wiki/display/AST/Installing+pjproject * Mon Apr 22 2013 Anthony Messina - 2.1-1 - Update to 2.1 release * Sat Feb 16 2013 Mario Santagiuliana - 2.0.1-1 - New version 2.0.1 * Mon Apr 16 2012 Mario Santagiuliana - 1.12-2 - fix warning mixed-use-of-spaces-and-tabs from rpmlint - use macro name and version * Wed Apr 11 2012 Tom Callaway - 1.12-1 - use system copy of libsrtp * Thu Jan 12 2012 Mario Santagiuliana 1.12-0 - Update to version 1.12 * Sun Jan 08 2012 Mario Santagiuliana 1.10-7 - Follow the comment of Rex Dieter: https://bugzilla.redhat.com/show_bug.cgi?id=728302#c17 * Sat Jan 07 2012 Mario Santagiuliana 1.10-6 - Follow the comment of Rex Dieter: https://bugzilla.redhat.com/show_bug.cgi?id=728302#c14 https://bugzilla.redhat.com/show_bug.cgi?id=728302#c15 * Thu Dec 29 2011 Mario Santagiuliana 1.10-5 - Follow the comment of Rex Dieter: https://bugzilla.redhat.com/show_bug.cgi?id=728302#c11 * Mon Aug 15 2011 Mario Santagiulaina 1.10-4 - Forgot to write changelog for 1.10-3. - Version 1.10.3 add patch to resolve libdir issue. * Mon Aug 15 2011 Mario Santagiulaina 1.10-2 - Follow the comment of Thomas Spura: https://bugzilla.redhat.com/show_bug.cgi?id=728302#c1 * Thu Aug 04 2011 Mario Santagiulaina 1.10-1 - Initial RPM release