diff --git a/libopal.spec b/libopal.spec index f9b98cf..c919a26 100644 --- a/libopal.spec +++ b/libopal.spec @@ -1,9 +1,11 @@ #%define ekiga_ver 3.0.1 +%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 2-3) %define dirname %20Procyon/Release%20Candidate Name: libopal -Version: 3.16.0 +Version: 3.16.3.20170721git Release: 1mamba Summary: Opal Library Group: System/Libraries @@ -11,7 +13,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.ekiga.org -Source: http://sourceforge.net/projects/opalvoip/files/V%{majver}%{dirname}/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 @@ -29,7 +31,7 @@ BuildRequires: libstdc++6-devel BuildRequires: libswresample-ffmpeg-devel BuildRequires: libtheora-devel BuildRequires: libvpx-devel -BuildRequires: libx264-devel +BuildRequires: libx264_120-devel ## AUTOBUILDREQ-END BuildRequires: libpt-devel >= 2.%{MINver} BuildRequires: libspeex-devel @@ -79,13 +81,13 @@ rm -f %{buildroot}%{_datadir}/opal/opal_inc.mak %files %defattr(-,root,root) %{_libdir}/libopal.so.* -%dir %{_libdir}/opal-%{version} -%dir %{_libdir}/opal-%{version}/codecs -%dir %{_libdir}/opal-%{version}/codecs/audio -%{_libdir}/opal-%{version}/codecs/audio/*_ptplugin.so -%dir %{_libdir}/opal-%{version}/codecs/video -%{_libdir}/opal-%{version}/codecs/video/h264_video_pwplugin_helper -%{_libdir}/opal-%{version}/codecs/video/*_ptplugin.so +%dir %{_libdir}/opal-%{maj3ver} +%dir %{_libdir}/opal-%{maj3ver}/codecs +%dir %{_libdir}/opal-%{maj3ver}/codecs/audio +%{_libdir}/opal-%{maj3ver}/codecs/audio/*_ptplugin.so +%dir %{_libdir}/opal-%{maj3ver}/codecs/video +%{_libdir}/opal-%{maj3ver}/codecs/video/h264_video_pwplugin_helper +%{_libdir}/opal-%{maj3ver}/codecs/video/*_ptplugin.so %files devel %defattr(-,root,root) @@ -101,6 +103,9 @@ rm -f %{buildroot}%{_datadir}/opal/opal_inc.mak %{_libdir}/pkgconfig/opal.pc %changelog +* Fri Jul 21 2017 Silvan Calarco 3.16.3.20170721git-1mamba +- update to 3.16.3.20170721git + * Sat Jan 16 2016 Silvan Calarco 3.16.0-1mamba - update to 3.16.0