libopal/libopal.spec

179 lines
5.9 KiB
RPMSpec

#%define ekiga_ver 3.0.1
%define majver %(echo %version | cut -d. -f 1-2)
Name: libopal
Version: 3.10.10
Release: 1mamba
Summary: Opal Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ekiga.org
Source: http://ftp.acc.umu.se/pub/GNOME/sources/opal/%{majver}/opal-%{version}.tar.xz
#http://www.ekiga.org/admin/downloads/latest/sources/ekiga_%{ekiga_ver}/opal-%{version}.tar.gz
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: libexpat-devel
BuildRequires: libgcc
BuildRequires: libodbc-devel
BuildRequires: libogg-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpt-devel >= 2.10.2
BuildRequires: libsasl-devel
BuildRequires: libSDL-devel
BuildRequires: libspeexdsp-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libx264-devel
## AUTOBUILDREQ-END
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 -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
%{_libdir}/pkgconfig/opal.pc
%changelog
* 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