Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-release-src > by-pkgid > 008d5351f9f50a1d5891b1d6926afa8a > files > 20

libjingle-0.6.14-8.mga6.src.rpm

%define _disable_ld_no_undefined 1

%define	major			1
%define libname			%mklibname jingle %{major}
%define libnamedev		%mklibname jingle -d
%define libnamestaticdev	%mklibname jingle -d -s


Summary:	Google Talk's implementation of Jingle and Jingle-Audio
Group:		System/Servers
Name:		libjingle
Version:	0.6.14
Release:	%mkrel 8
License:	BSD
URL:		http://code.google.com/apis/talk/libjingle/
Source0:	http://libjingle.googlecode.com/files/%{name}-%{version}.zip
# Use Makefiles, dammit.
Patch0:		libjingle-0.6.14-build-sanity.patch
# talk/base/basictypes.h and talk/base/logging.h must be included 
# before any header with __BEGIN_DECLS, notably, sys/types.h
Patch1:		libjingle-0.5.1-C-linkage-fix.patch
# We need <cstdlib> for NULL.
Patch2:		libjingle-0.5.8-NULL-fix.patch
# In file included from /usr/include/fcntl.h:41:0,
#                 from physicalsocketserver.cc:37:
#/usr/include/bits/stat.h:91:21: error: field 'st_atim' has incomplete type
#/usr/include/bits/stat.h:92:21: error: field 'st_mtim' has incomplete type
#/usr/include/bits/stat.h:93:21: error: field 'st_ctim' has incomplete type
# FIX: Include <time.h> first.
Patch3:		libjingle-0.5.8-statfix.patch
# md5.h had a typedef for uint32 that did not match the one in basictypes.h
Patch4:		libjingle-0.5.1-uint32-fix.patch
# thread.cc: In static member function ‘static bool talk_base::Thread::SleepMs(int)’:
# thread.cc:199:19: error: aggregate ‘timespec ts’ has incomplete type and cannot be defined
# thread.cc:202:34: error: ‘nanosleep’ was not declared in this scope
# This happens because a local header is included before time.h
Patch5:		libjingle-0.5.1-timefix.patch
# unixfilesystem.cc wouldn't compile.
Patch6:		libjingle-0.5.1-unixfilesystemfix.patch
# Google seems to love to be stupid with headers.
# Especially when they're in "third_party" code.
# Hardcoding paths in include files is dumb.
Patch7:		libjingle-0.5.8-system-expat.patch
Patch8:		libjingle-0.5.8-system-srtp.patch
# Fix devicemanager.cc to compile
Patch9:		libjingle-0.6.14-devicemanager-fix.patch
# Fix v4llookup.cc to compile
Patch10:	libjingle-0.5.8-v4llookup-fix.patch
# Fix type and definition conflicts with Chromium
Patch11:        libjingle-0.6.6-fixconflict.patch
# Make sure linux.h/linux.cc pulls in config.h for LINUX define
Patch14:	libjingle-0.5.8-config-linux.patch
# Fix 0.5.2 compilation
Patch16:	libjingle-0.6.6-compilefix.patch
# Fix missing cstdlib for size_t
Patch17:	libjingle-0.6.0-size_t.patch
# Fix obsolete macro usage
Patch18:	libjingle-0.5.8-fixmacro.patch
# Gcc 4.7.0 no longer includes unistd.h by default
Patch20:	libjingle-0.6.6-unistd.patch
Patch21:	libjingle-0.6.14-automake-1.13.patch
BuildRequires:	glib2-devel 
BuildRequires:	dbus-devel 
BuildRequires:	openssl-devel 
BuildRequires:	expat-devel
BuildRequires:	srtp-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libtool
BuildRequires:	pkgconfig 
BuildRequires:	kernel-headers
BuildRequires:	libudev-devel
BuildRequires:	libalsa-devel
BuildRequires:	gtk+2-devel
BuildRequires:	libpcap-devel

%description
Libjingle is a set of C++ components provided by Google to interoperate with
Google Talk's peer-to-peer and voice calling capabilities. The package includes
source code for Google's implementation of Jingle and Jingle-Audio, two
proposed extensions to the XMPP standard that are currently available in
experimental draft form.

%files
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/relayserver
%{_bindir}/stunserver


#------------------------------------------------------------------------------
%package -n %{libname}
Summary:	Shared Google Talk's implementation of Jingle and Jingle-Audio library
Group:		System/Libraries

%description -n	%{libname}
Libjingle is a set of C++ components provided by Google to interoperate with
Google Talk's peer-to-peer and voice calling capabilities. The package includes
source code for Google's implementation of Jingle and Jingle-Audio, two
proposed extensions to the XMPP standard that are currently available in
experimental draft form.

This package contains the shared %{name} library.

%files -n %{libname}
%{_libdir}/%{name}*.so.%{major}{,.*}


#------------------------------------------------------------------------------
%package -n %{libnamedev}
Summary:	Static library and header files for the %{name} library
Group:		Development/C++
Provides:	%{name}-devel = %{version}-%{release}
Requires:	%{libname} = %{version}-%{release}

%description -n	%{libnamedev}
Libjingle is a set of C++ components provided by Google to interoperate with
Google Talk's peer-to-peer and voice calling capabilities. The package includes
source code for Google's implementation of Jingle and Jingle-Audio, two
proposed extensions to the XMPP standard that are currently available in
experimental draft form.

%files -n %{libnamedev}
%{_libdir}/pkgconfig/*.pc
%{_includedir}/%{name}-0.6
%{_libdir}/%{name}*.so


#------------------------------------------------------------------------------
%package -n %{libnamestaticdev}
Summary:	Static files for the %{name} library
Group:		Development/C++
Requires:	%{libnamedev} = %{version}-%{release}
Provides:	%{name}-static-devel = %{version}-%{release}
Provides:	lib%{name}-static-devel = %{version}-%{release}

%description -n %{libnamestaticdev}
This package contains the static %{name} library and its header files
needed to compile applications such as stegdetect, etc.

%files -n %{libnamestaticdev}
%{_libdir}/%{name}*.a
%{_libdir}/%{name}*.la


#------------------------------------------------------------------------------
%prep
%setup -q
%autopatch -p1

touch NEWS ChangeLog
autoreconf -i

rm -rf talk/base/time.h

%build
%configure2_5x

## Remove rpath.
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

%make

%install
%make_install


%changelog
* Fri Apr 22 2016 daviddavid <daviddavid> 0.6.14-8.mga6
+ Revision: 1004601
- add missing BR on libpcap-devel thus fixing build

* Wed Mar 02 2016 umeabot <umeabot> 0.6.14-7.mga6
+ Revision: 983580
- Rebuild for openssl

* Mon Feb 01 2016 umeabot <umeabot> 0.6.14-6.mga6
+ Revision: 930412
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 0.6.14-5.mga5
+ Revision: 748873
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.6.14-4.mga5
+ Revision: 681546
- Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 0.6.14-3.mga4
+ Revision: 530861
- Mageia 4 Mass Rebuild

* Thu Jan 17 2013 pterjan <pterjan> 0.6.14-2.mga4
+ Revision: 389214
+ rebuild (emptylog)

* Sat Jan 12 2013 fwang <fwang> 0.6.14-2.mga3
+ Revision: 357687
- fix build with latest automake

  + umeabot <umeabot>
    - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Jul 07 2012 dmorgan <dmorgan> 0.6.14-1.mga3
+ Revision: 268547
- New version 0.6.14
  Rediff patches
  Sync patches with fedora

* Mon Apr 02 2012 pterjan <pterjan> 0.5.2-2.mga2
+ Revision: 227797
- Rebuild after libexpat.la removal

* Thu Jun 30 2011 ze <ze> 0.5.2-1.mga2
+ Revision: 116292
- add missing buildrequire for alsa support
- imported package libjingle


* Fri Jun 03 2011 Zé <ze@mandriva.org> 0.5.2-1.mde1
- version 0.5.2
- arrange spec
- requires to release
- put static files in proper static package
- drop patch0
- import fedora patches

* Fri Oct 17 2008 Oden Eriksson <oeriksson@mandriva.com> 0.3.12-1mdv2009.1
+ Revision: 294791
- 0.3.12 (0.4.0 will be another package)
- fix linkage, still _disable_ld_no_undefined has to be used
- 0.4.0
- added other gcc43 patches (more fixes needed)
- added a gcc43 patch from fedora

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Jul 10 2007 Funda Wang <fundawang@mandriva.org> 0.3.11-1mdv2008.0
+ Revision: 50828
- New version


* Tue Oct 10 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.10-1mdv2007.0
+ Revision: 63091
- New release 0.3.10
- Clean specfile
- Rediff Patch0
- import libjingle-0.3.0-3mdv2007.0

* Wed Jun 21 2006 Oden Eriksson <oeriksson@mandriva.com> 0.3.0-3mdv2007.0
- libified
- added some libtool fixes (P0)
- added fixes from tapioca svn trunk (P1)
- added P2,P3,P4 from the sf tracker
- added lib64 fixes

* Fri Apr 07 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.0-2mdk
- Add post/postun

* Fri Apr 07 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.0-1mdk
- First Mandriva release