Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > e7c9e527ab39ba10ef2e2df7b2606d59 > files > 2

libjingle-0.3.11-1mdv2008.0.src.rpm

%define	major 0
%define libname	%mklibname jingle %{major}
%define develname %mklibname -d jingle

Summary:	Google Talk's implementation of Jingle and Jingle-Audio
Name:		libjingle
Version:	0.3.11
Release:	%mkrel 1
License:	BSD
Group:		System/Servers
URL:		http://sourceforge.net/projects/libjingle
Source0:	http://dl.sf.net/libjingle/%{name}-%{version}.tar.bz2
BuildRequires:	glib2-devel 
BuildRequires:	dbus-devel 
BuildRequires:	openssl-devel 
BuildRequires:	expat-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libtool
Buildroot:	%{_tmppath}/%{name}-%{version}-buildroot

%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.

%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.

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

%description -n	%{develname}
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 static %{name} library and its header files
needed to compile applications such as stegdetect, etc.

%prep

%setup -q

# cleanup
for i in `find . -type d -name .svn`; do
    if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null
done

# lib64 fix
perl -pi -e "s|/lib\b|/%{_lib}|g" configure*

%build
rm -rf autom4te.cache
rm -f configure
libtoolize --copy --force; aclocal; automake --add-missing --copy --foreign; autoconf


%configure2_5x \
    --enable-shared \
    --enable-static

%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/relayserver
%{_bindir}/stunserver

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/lib*.so.*

%files -n %{develname}
%defattr(-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc


%changelog
* 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