194 lines
6.4 KiB
RPMSpec
194 lines
6.4 KiB
RPMSpec
#%define ekiga_ver 3.0.1
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
%define MINver %(echo %version | cut -d. -f 2-3)
|
|
Name: libopal
|
|
Version: 3.14.3
|
|
Release: 2mamba
|
|
Summary: Opal Library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.ekiga.org
|
|
Source: http://sourceforge.net/projects/opalvoip/files/v%{majver}%20Lacaille/Stable%203/opal-%{version}.tar.bz2
|
|
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
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libogg-devel
|
|
BuildRequires: libopus-devel
|
|
BuildRequires: libpt-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtheora-devel
|
|
BuildRequires: libvpx-devel
|
|
BuildRequires: libx264-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpt-devel >= 2.%{MINver}-2mamba
|
|
BuildRequires: libspeex-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n opal-%{version}
|
|
## non-free iLBC codec.
|
|
#rm -rf plugins/audio/iLBC/
|
|
#rm -rf src/codec/iLBCmf.cxx
|
|
#%patch0 -p1 -b .noilbc
|
|
#%patch1 -p1 -b .3.6.2
|
|
#%patch2 -p1
|
|
#%patch3 -p1
|
|
|
|
%build
|
|
# FIXME: "--enable-localspeex" has been enabled to bypass the error
|
|
# "checking Speex versions... Died at t.pl line 16."
|
|
%configure --enable-localspeex --enable-h263avcodec
|
|
%make opt -j1 SYSLIBS="-L/usr/share/pwlib/lib -lpt"
|
|
|
|
%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.*
|
|
%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
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libopal_s.a
|
|
%dir %{_includedir}/opal
|
|
%{_includedir}/opal/*
|
|
%{_libdir}/libopal.so
|
|
%dir %{_datadir}/opal
|
|
%dir %{_datadir}/opal/make
|
|
%{_datadir}/opal/make/opal.mak
|
|
%{_datadir}/opal/make/opal_config.mak
|
|
%{_datadir}/opal/make/toplevel.mak
|
|
%{_libdir}/pkgconfig/opal.pc
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* 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
|