File loudmouth.spec of Package loudmouth
#
# spec file for package loudmouth (Version 1.4.2)
#
# 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: loudmouth
BuildRequires: check-devel glib2-devel gnutls-devel gtk-doc sgml-skel
Version: 1.4.2
Release: 3
Url: http://www.loudmouth-project.org/
Group: Productivity/Networking/Other
License: LGPL v2.1 or later
Summary: Jabber Client Library Written in C
Source: http://ftp.imendio.com/pub/imendio/%{name}/src/%{name}-%{version}.tar.bz2
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libloudmouth-1-0 = %{version}-%{release}
%description
Loudmouth is a lightweight and easy-to-use C library for programming
with the Jabber protocol. It is designed to be easy to get started with
and yet extensible to let you do anything the Jabber protocol allows.
Authors:
--------
Mikael Hallendal <micke@imendio.com>
%package -n libloudmouth-1-0
Group: Productivity/Networking/Other
License: LGPL v2.1 or later
Summary: Jabber Client Library Written in C
%description -n libloudmouth-1-0
Loudmouth is a lightweight and easy-to-use C library for programming
with the Jabber protocol. It is designed to be easy to get started with
and yet extensible to let you do anything the Jabber protocol allows.
Authors:
--------
Mikael Hallendal <micke@imendio.com>
%package devel
License: LGPL v2.1 or later
Group: Productivity/Networking/Other
Summary: Jabber Client Library Written in C
Requires: libloudmouth-1-0 = %{version} glibc-devel glib2-devel gnutls-devel
%description devel
Loudmouth is a lightweight and easy-to-use C library for programming
with the Jabber protocol. It's designed to be easy to get started with
and yet extensible to let you do anything the Jabber protocol allows.
Authors:
--------
Mikael Hallendal <micke@imendio.com>
%package doc
License: LGPL v2.1 or later
Group: Productivity/Networking/Other
Summary: Jabber Client Library Written in C
Requires: libloudmouth-1-0 = %{version}
%description doc
Loudmouth is a lightweight and easy-to-use C library for programming
with the Jabber protocol. It's designed to be easy to get started with
and yet extensible to let you do anything the Jabber protocol allows.
Authors:
--------
Mikael Hallendal <micke@imendio.com>
%prep
%setup
%build
autoreconf -f -i
%configure\
--disable-static\
--enable-gtk-doc
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libloudmouth-1-0 -p /sbin/ldconfig
%postun -n libloudmouth-1-0 -p /sbin/ldconfig
%files -n libloudmouth-1-0
%defattr (-, root, root)
%doc AUTHORS CONTRIBUTORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/loudmouth-1.0
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/loudmouth
%changelog
* Thu Nov 06 2008 ro@suse.de
- fix requires for doc subpackage
* Tue Sep 16 2008 hfiguiere@suse.de
- Fix debug package dependencies.
* Fri Sep 12 2008 maw@suse.de
- Update to version 1.4.2:
+ Various fixes.
* Thu Sep 04 2008 hfiguiere@suse.de
- Fix -devel package Requires.
* Mon Sep 01 2008 hfiguiere@suse.de
- Update spec to match library policies
- Upgrade to 1.4.0
* [LM-95] - File descriptor leak in lm-connection.c
* [LM-116] - lm_connection_set_jid() required when not using SRV
* [LM-117] - Reentrancy error on failed connect
* [LM-121] - Getting time outs when going through NAT on Linux
* [LM-085] - Asynchronous DNS requests
* [LM-106] - Don't call ID handler if the message is not error or result
* [LM-110] - On server hangup, the last few messages from the server sometimes
aren't processed
* [LM-107] - SSL cert checking never works with GNUTls
* [LM-111] - Add a pointer to check in the README file
* [LM-55] - Check disconnect error reasons like conflicting resource and invalid
xml (fix forward ported from 1.2)
* [LM-88] - Segfault in _lm_ssl_begin for openssl (fix forward ported from 1.2)
* [LM-10] - Loudmouth API docs error
* [LM-49] - loudmouth does not determine server_from_jid correctly
* [LM-62] - Crashes when connecting to server that requires STARTTLS
* [LM-74] - Compiling loudmouth fails on lm-ssl-gnutls.c (Upgrade GnuTLS requirement)
* New Features
* [LM-63] - Implement the support for the SRV DNS records, please
* [LM-76] - Support for SASL (XMPP 1.0)
* Thu Apr 03 2008 hpj@suse.de
- Upgraded to version 1.2.3:
* [LM-104] - Problems with <stream:error/> in
* [LM-105] - Patch to suppor getting local host address and full JID
* Tue May 22 2007 mauro@suse.de
- update to 1.2.0
* This is the same as 1.1.5 but marked as stable and released as 1.2.0.
* For a complete list of changes since 1.0.5 look at the changes in 1.1.1-1.1.5
* Fixed leak when closing a connection, LM-59
* Escape the resource string (fixes problems with iChat contacts), LM-48
* Stale incoming source destroyed/unreffed, LM-60
* Fixed a leak in the synchronous layer, LM-66
* Fixed a couple of warning when building on 64 bit alpha, LM-41.
* Generate better message IDs, LM-56
* Fixed a leaking proxy object, LM-51
* Fixed random bugs on connection errors, LM-58
* Removed a warning when using proxy, LM-50.
* Infinite reading of 0 bytes when disconnected using gnutls, LM-45
* Loudmouth exports some internal SHA* functions, LM-47
* Fix auto* warning, LM-46
* Support for internationalised domain names, LM-42
* Fixed issue where no disconnect signal was emitted when connection closed
during opening, LM-43
* Plugged a memory leak in LmConnection, LM-39
* Fixed warnings due to uninitialized value, LM-35
* Fixed a reentrancy-related issue with LmConnection, LM-37
* Tue Mar 27 2007 sbrabec@suse.cz
- Require check-devel.
* Tue Feb 13 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552#c17).
* Tue Jan 16 2007 sbrabec@suse.cz
- Spec file cleanup.
* Mon Jan 08 2007 ro@suse.de
- GNOME moved to /usr
* Fri Sep 22 2006 jhargadon@suse.de
- update to version 1.0.5
- Infinite reading of 0 bytes when disconnected using gnutls, LM-45
- Loudmouth exports some internal SHA* functions, LM-47
- Fix auto* warning, LM-46
- Fixed issue where no disconnect signal was emitted when connection closed
during opening
- Plugged a memory leak in LmConnection, LM-39
- Fixed warnings due to uninitialized value, LM-35
- Fixed a reentrancy-related issue with LmConnection, LM-37
- Quick build fix release when building without SSL, LM-25
- Fixed issue when opening in blocking mode failed, LM-15
- Unregister sources when connection fails to avoid later segfault, LM-16
- Fixed an issue where large messages would get trunkated, LM-17
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 23 2005 sbrabec@suse.cz
- New SuSE package, version 1.0.1.