2024-01-06 05:16:54 +01:00
|
|
|
#%define ekiga_ver 3.0.1
|
2024-01-06 05:16:54 +01:00
|
|
|
%define gitver %(echo %version | cut -d. -f 1-2 | tr . _)
|
2024-01-06 05:16:54 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
2024-01-06 05:16:54 +01:00
|
|
|
%define maj3ver %(echo %version | cut -d. -f 1-3)
|
2024-01-06 05:16:55 +01:00
|
|
|
%define minver %(echo %version | cut -d. -f 3)
|
2024-01-06 05:16:54 +01:00
|
|
|
%define MINver %(echo %version | cut -d. -f 2-3)
|
2024-01-06 05:16:54 +01:00
|
|
|
Name: libopal
|
2024-01-06 05:16:55 +01:00
|
|
|
Version: 3.18.8
|
2024-01-06 05:16:54 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:16:54 +01:00
|
|
|
Summary: Opal Library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:16:55 +01:00
|
|
|
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
|
2024-01-06 05:16:54 +01:00
|
|
|
Patch0: %{name}-3.6.1-noilbc.patch
|
|
|
|
Patch1: %{name}-3.6.2.patch
|
|
|
|
Patch2: %{name}-3.6.1-gcc44.patch
|
|
|
|
Patch3: %{name}-3.10.2-ffmpeg-1.patch
|
|
|
|
License: MPL 1.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libMagick-devel
|
|
|
|
BuildRequires: libSDL2-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libavformat-ffmpeg-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libavutil-ffmpeg-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libcapi20-devel
|
|
|
|
BuildRequires: libesound-devel
|
|
|
|
BuildRequires: libexpat-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblua-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libodbc-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libogg-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libopus-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libpcap-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libpt-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libsasl2-devel
|
|
|
|
BuildRequires: libspeexdsp-devel
|
|
|
|
BuildRequires: libsrtp-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libswresample-ffmpeg-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libswscale-ffmpeg-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libtheora-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
BuildRequires: libvpx6-devel
|
|
|
|
BuildRequires: libx264-devel
|
2024-01-06 05:16:54 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libpt-devel >= 2.%{MINver}
|
2024-01-06 05:16:54 +01:00
|
|
|
BuildRequires: libspeex-devel
|
2024-01-06 05:16:55 +01:00
|
|
|
Obsoletes: libopenh323 <= 1.25.0
|
2024-01-06 05:16:54 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
2024-01-06 05:16:55 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Obsoletes: libopenh323-devel <= 1.25.0
|
2024-01-06 05:16:54 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 05:16:55 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n opal-%{version}
|
2024-01-06 05:16:54 +01:00
|
|
|
## non-free iLBC codec.
|
|
|
|
#rm -rf plugins/audio/iLBC/
|
|
|
|
#rm -rf src/codec/iLBCmf.cxx
|
|
|
|
#%patch0 -p1 -b .noilbc
|
2024-01-06 05:16:54 +01:00
|
|
|
#%patch1 -p1 -b .3.6.2
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:16:55 +01:00
|
|
|
export PKG_CONFIG_PATH=%{_libdir}/ffmpeg4/pkgconfig
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
# FIXME: "--enable-localspeex" has been enabled to bypass the error
|
|
|
|
# "checking Speex versions... Died at t.pl line 16."
|
2024-01-06 05:16:55 +01:00
|
|
|
%configure \
|
|
|
|
--enable-localspeex \
|
|
|
|
--enable-h263avcodec
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
%make opt -j1 SYSLIBS="-L/usr/share/pwlib/lib -lpt"
|
2024-01-06 05:16:54 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_datadir}/opal/opal_inc.mak
|
|
|
|
#rm -f %{buildroot}%{_libdir}/libopal_s.a
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libopal.so.*
|
2024-01-06 05:16:54 +01:00
|
|
|
%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
|
2024-01-06 05:16:54 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libopal_s.a
|
|
|
|
%dir %{_includedir}/opal
|
|
|
|
%{_includedir}/opal/*
|
|
|
|
%{_libdir}/libopal.so
|
2024-01-06 05:16:54 +01:00
|
|
|
%dir %{_datadir}/opal
|
|
|
|
%dir %{_datadir}/opal/make
|
|
|
|
%{_datadir}/opal/make/opal.mak
|
|
|
|
%{_datadir}/opal/make/opal_config.mak
|
|
|
|
%{_datadir}/opal/make/toplevel.mak
|
2024-01-06 05:16:54 +01:00
|
|
|
%{_libdir}/pkgconfig/opal.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:16:55 +01:00
|
|
|
* Tue Dec 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.8-1mamba
|
|
|
|
- update to 3.18.8
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
* Fri Jul 21 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.3.20170721git-1mamba
|
|
|
|
- update to 3.16.3.20170721git
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.0-1mamba
|
|
|
|
- update to 3.16.0
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
* Wed Oct 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.3-2mamba
|
|
|
|
- rebuilt with libpt 2.14.3-2mamba with gstreamer disabled
|
|
|
|
|
|
|
|
* Tue Oct 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.3-1mamba
|
|
|
|
- update to 3.14.3
|
|
|
|
|
|
|
|
* Tue Oct 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.9-1mamba
|
|
|
|
- update to 3.12.9
|
|
|
|
|
|
|
|
* Mon Nov 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.8-1mamba
|
|
|
|
- update to 3.12.8
|
|
|
|
|
2024-01-06 05:16:54 +01:00
|
|
|
* Sun Feb 24 2013 Automatic Build System <autodist@mambasoft.it> 3.10.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 3.10.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 19 2012 Automatic Build System <autodist@mambasoft.it> 3.10.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Apr 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.2-1mamba
|
|
|
|
- update to 3.10.2
|
|
|
|
|
|
|
|
* Fri Apr 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.8-2mamba
|
|
|
|
- rebuilt with libpt 2.10.2
|
|
|
|
|
|
|
|
* Wed Jun 02 2010 Automatic Build System <autodist@mambasoft.it> 3.6.8-1mamba
|
|
|
|
- automatic update to 3.6.8 by autodist
|
|
|
|
|
|
|
|
* Mon Mar 08 2010 Automatic Build System <autodist@mambasoft.it> 3.6.6-5mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Oct 31 2009 Automatic Build System <autodist@mambasoft.it> 3.6.6-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Oct 15 2009 Automatic Build System <autodist@mambasoft.it> 3.6.6-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 3.6.6-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Oct 02 2009 Automatic Build System <autodist@mambasoft.it> 3.6.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 19 2009 Automatic Build System <autodist@mambasoft.it> 3.6.4-4mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Wed Aug 12 2009 Automatic Build System <autodist@mambasoft.it> 3.6.4-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 3.6.4-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 04 2009 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon May 11 2009 gil <puntogil@libero.it> 3.6.1-1mamba
|
|
|
|
- update to 3.6.1
|
|
|
|
|
|
|
|
* Fri Nov 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Oct 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- update to 3.4.2
|
|
|
|
|
|
|
|
* Tue Sep 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-1mamba
|
|
|
|
- update to 3.4.1
|
|
|
|
|
|
|
|
* Fri Sep 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.11-1mamba
|
|
|
|
- update to 2.2.11
|
|
|
|
|
|
|
|
* Mon Sep 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.8-1mamba
|
|
|
|
- update to 2.2.8
|
|
|
|
|
|
|
|
* Fri Jan 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.4-1qilnx
|
|
|
|
- update to version 2.2.4 by autospec
|
|
|
|
|
|
|
|
* Tue Jul 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-2qilnx
|
|
|
|
- ... add a changelog entry
|
|
|
|
|
|
|
|
* Tue Jul 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1qilnx
|
|
|
|
- update to version 2.2.2 by autospec
|
|
|
|
|
|
|
|
* Tue Mar 14 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.1-1qilnx
|
|
|
|
- package created by autospec
|