File libjingle.spec of Package libjingle
#
# spec file for package libjingle (Version 0.3.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libjingle
# Original project http://code.google.com/apis/talk/libjingle/index.html
# does not have shared library any more.
Url: http://sourceforge.net/projects/tapioca-voip/
BuildRequires: gcc-c++ libexpat-devel openssl-devel pkg-config
Version: 0.3.11
Release: 7
License: GPL v2 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libjingle-0_3-0 = %{version}-%{release}
Group: Productivity/Networking/Other
Summary: Library for Peer-to-Peer Applications
Source: %{name}-%{version}.tar.bz2
# http://sourceforge.net/tracker/index.php?func=detail&aid=1879592&group_id=146406&atid=765170
Patch: libjingle-0.3.11-gcc43.patch
Patch1: libjingle-0.3.11-return.patch
%description
Libjingle is a collection of open-source C++ code and sample
applications that enables you to build a peer-to-peer application.
%package -n libjingle-0_3-0
License: BSD 3-Clause
Summary: Library for Peer-to-Peer Applications
Group: Productivity/Networking/Other
%description -n libjingle-0_3-0
Libjingle is a collection of open-source C++ code and sample
applications that enables you to build a peer-to-peer application.
%package utils
License: BSD 3-Clause
Requires: libjingle-0_3-0 >= %{version}
Summary: Library for Peer-to-Peer Applications
Group: Productivity/Networking/Other
%description utils
Libjingle is a collection of open-source C++ code and sample
applications that enables you to build a peer-to-peer application.
%package devel
License: LGPL v2.1 or later
Requires: libjingle-0_3-0 = %{version} glibc-devel libexpat-devel libopenssl-devel zlib-devel
Summary: Library for Peer-to-Peer Applications
Group: Development/Libraries/C and C++
%description devel
Libjingle is a collection of open-source C++ code and sample
applications that enables you to build a peer-to-peer application.
%prep
%setup -q
%patch
%patch1
tr -d '\r' <README >README.unix ; touch -r README README.unix ; mv README.unix README
%build
autoreconf -f -i
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
%post -n libjingle-0_3-0 -p /sbin/ldconfig
%postun -n libjingle-0_3-0 -p /sbin/ldconfig
%files utils
%defattr(-,root,root)
%{_bindir}/relayserver
%{_bindir}/stunserver
%files -n libjingle-0_3-0
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog DOCUMENTATION NEWS README
%{_libdir}/*-0.3.so.0*
%files devel
%defattr(-,root,root)
%{_includedir}/libjingle*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Nov 04 2008 hfiguiere@suse.de
- Remove unneeded build dependencies.
- Remove unknown configure options.
* Mon Oct 27 2008 maw@suse.de
- Make debug packages require a specific %%{version}-%%{release}.
* Fri Aug 01 2008 ro@suse.de
- fix requires for debuginfo package
* Mon May 05 2008 coolo@suse.de
- return in non-void functions
* Tue Jan 29 2008 ro@suse.de
- don't use "." in package name, rename to libjingle-0_3-0
* Thu Jan 24 2008 sbrabec@suse.cz
- Moved to Tapioca Project branch and updated to version 0.3.11:
* Fix missing constructor in socketserver
* Fix thread leaks in SocketClient
* Added support for Google relay (backported from 0.4)
* Remove examples and and dependant code, as dependant on now
removed third_party
* Clean up makefiles so make distcheck works
* Remove third_party as it has a mix of incompatible licenses
(mediastreamer as LGPL, may imply the rest of the library is
LGPL), and its unclear for gips whether they're modifiable or
even distributable.
* Replace base64.cc with something more clearly licensed (MIT
licensed). Fixes issues raised by Scott James Remnant on
submission to ubuntu main.
* Added pkgconfig check on configure.ac.
* Added license terms on g711common.h.
* fixed talk/base/criticalsection.h with the correction described
on bugtrack #1470383
* Disable static libraries compilation.
* Implemented JEP-0078: Non-SASL Authentication.
* Fixed compilation on x86_64.
* Moved xmpppassword to base.
* Make libjingle compile to a number of shared libraries.
* Patch FD leak in tcpconnections
* Added new signal SignalState_s that emits from signaling
thread.
* Added version to pkgconfig files
* Added some hardcore stun candidate match logging
* Added SocketClient to libjingle.
- Enabled ortp.
* Sat Nov 10 2007 coolo@suse.de
- fix linking too
* Wed Oct 03 2007 coolo@suse.de
- fix includes for gcc 4.3
* Wed May 23 2007 ro@suse.de
- added ldconfig to post scripts
* Tue Apr 03 2007 maw@suse.de
- Don't build as root. Duh.
* Tue Apr 03 2007 maw@suse.de
- New package.