diff --git a/libopal.spec b/libopal.spec index c919a26..4336743 100644 --- a/libopal.spec +++ b/libopal.spec @@ -2,18 +2,19 @@ %define gitver %(echo %version | cut -d. -f 1-2 | tr . _) %define majver %(echo %version | cut -d. -f 1-2) %define maj3ver %(echo %version | cut -d. -f 1-3) +%define minver %(echo %version | cut -d. -f 3) %define MINver %(echo %version | cut -d. -f 2-3) -%define dirname %20Procyon/Release%20Candidate Name: libopal -Version: 3.16.3.20170721git +Version: 3.18.8 Release: 1mamba Summary: Opal Library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.ekiga.org -Source: git://git.code.sf.net/p/opalvoip/opal/v%{gitver}/opal-%{version}.tar.bz2 +URL: https://www.ekiga.org/ +Source: https://sourceforge.net/projects/opalvoip/files/v%{majver}%20Cygni/Stable%20%{minver}/opal-%{version}.tar.bz2 +#Source: git://git.code.sf.net/p/opalvoip/opal/v%{gitver}/opal-%{version}.tar.bz2 Patch0: %{name}-3.6.1-noilbc.patch Patch1: %{name}-3.6.2.patch Patch2: %{name}-3.6.1-gcc44.patch @@ -21,21 +22,39 @@ Patch3: %{name}-3.10.2-ffmpeg-1.patch License: MPL 1.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libMagick-devel +BuildRequires: libSDL2-devel BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libcapi20-devel +BuildRequires: libesound-devel +BuildRequires: libexpat-devel BuildRequires: libgcc +BuildRequires: libjpeg-devel +BuildRequires: liblua-devel +BuildRequires: libncurses-devel +BuildRequires: libodbc-devel BuildRequires: libogg-devel +BuildRequires: libopenldap-devel +BuildRequires: libopenssl-devel BuildRequires: libopus-devel +BuildRequires: libpcap-devel BuildRequires: libpt-devel +BuildRequires: libreadline-devel +BuildRequires: libsasl2-devel +BuildRequires: libspeexdsp-devel +BuildRequires: libsrtp-devel BuildRequires: libstdc++6-devel BuildRequires: libswresample-ffmpeg-devel +BuildRequires: libswscale-ffmpeg-devel BuildRequires: libtheora-devel -BuildRequires: libvpx-devel -BuildRequires: libx264_120-devel +BuildRequires: libvpx6-devel +BuildRequires: libx264-devel ## AUTOBUILDREQ-END BuildRequires: libpt-devel >= 2.%{MINver} BuildRequires: libspeex-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-root +Obsoletes: libopenh323 <= 1.25.0 %description This is a Open Source class library for the development of applications that wish to use SIP / H.323 protocols for multi-media communications over packet based networks. @@ -43,12 +62,15 @@ This is a Open Source class library for the development of applications that wis %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} -Requires: %{name} = %{?epoch:%epoch:}%{version} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libopenh323-devel <= 1.25.0 %description devel This is a Open Source class library for the development of applications that wish to use SIP / H.323 protocols for multi-media communications over packet based networks. This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q -n opal-%{version} ## non-free iLBC codec. @@ -60,9 +82,14 @@ This package contains static libraries and header files need for development. #%patch3 -p1 %build +export PKG_CONFIG_PATH=%{_libdir}/ffmpeg4/pkgconfig + # FIXME: "--enable-localspeex" has been enabled to bypass the error # "checking Speex versions... Died at t.pl line 16." -%configure --enable-localspeex --enable-h263avcodec +%configure \ + --enable-localspeex \ + --enable-h263avcodec + %make opt -j1 SYSLIBS="-L/usr/share/pwlib/lib -lpt" %install @@ -103,6 +130,9 @@ rm -f %{buildroot}%{_datadir}/opal/opal_inc.mak %{_libdir}/pkgconfig/opal.pc %changelog +* Tue Dec 13 2022 Silvan Calarco 3.18.8-1mamba +- update to 3.18.8 + * Fri Jul 21 2017 Silvan Calarco 3.16.3.20170721git-1mamba - update to 3.16.3.20170721git