Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37798306
en ru br
ALT Linux repos
S:1.5.3-alt2
5.0: 1.4.3-alt2
4.1: 1.4.0-alt0.M41.2
4.0: 1.0.5-alt1

Group :: System/Libraries
RPM: loudmouth

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
Name: loudmouth
Version: 1.4.0
Release: alt0.M41.2

%def_disable static
%def_disable debug

%define glib_version 2.4.0
%define libtasn1_version 0.2.6

Summary: Jabber library for C
Group: System/Libraries
License: LGPL
URL: http://www.loudmouth-project.org/

Source0: http://ftp.imendio.com/pub/imendio/%name/src/%name-%version.tar.bz2
Patch0: loudmouth-1.4.0-configure-fix-tasn-finding.patch

Packager: Igor Zubkov <icesik at altlinux.org>

# Automatically added by buildreq on Wed Apr 30 2008

BuildRequires: gcc-c++ glib2-devel gtk-doc libcheck-devel libgnutls-new-devel libidn-devel

BuildRequires: rpm-build-compat >= 0.95

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

%package -n lib%name
Summary: Jabber library for C
Group: System/Libraries

%description -n lib%name
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.

%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C
Requires: lib%name = %version-%release
Requires: glib2-devel >= %glib_version
Requires: libtasn1-devel >= %libtasn1_version
Requires: libidn-devel

%description -n lib%name-devel
This package contains files needed to develop applications using Loudmouth.
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.

%package -n lib%name-devel-doc
Summary: Development documentation for %name
Group: Development/C

%description -n lib%name-devel-doc
This package contains development documentation for Loudmouth.
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.

%if_enabled static
%package -n lib%name-devel-static
Summary: Static library for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description -n lib%name-devel-static
This package contains a statically-linked variant of Loudmouth.
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.
%endif # enabled static

%prep
%setup -q
%patch0 -p1

%build
%autoreconf
%configure \
--enable-gtk-doc \
--with-ssl=gnutls \
--with-asyncns=yes \
%{subst_enable debug} \
%{subst_enable static}
%make_build

%install
%make_install DESTDIR=%buildroot install

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name
%doc AUTHORS COPYING ChangeLog NEWS README
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/*

%files -n lib%name-devel-doc
%doc %_datadir/gtk-doc/html/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif # enabled static

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin