Group :: System/Libraries
RPM: loudmouth
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_disable static
%def_disable debug
%def_disable gtk_doc
Name: loudmouth
Version: 1.4.3
Release: alt2
Summary: Jabber library for C
Group: System/Libraries
License: LGPL
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
URL: http://www.loudmouth-project.org/
Source: http://ftp.imendio.com/pub/imendio/%name/src/%name-%version.tar.bz2
# Automatically added by buildreq on Wed Oct 08 2008
BuildRequires: gcc-c++ glib2-devel gtk-doc libcheck-devel libgnutls-devel libidn-devel
%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
%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
BuildArch: noarch
%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
%build
%configure \
%{?_enable_gtk_doc:--enable-gtk-doc} \
--with-ssl=gnutls \
--with-asyncns=yes \
%{subst_enable debug} \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files -n lib%name
%doc AUTHORS COPYING ChangeLog NEWS README
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_pkgconfigdir/*
%_includedir/*
%files -n lib%name-devel-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
%def_disable debug
%def_disable gtk_doc
Name: loudmouth
Version: 1.4.3
Release: alt2
Summary: Jabber library for C
Group: System/Libraries
License: LGPL
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
URL: http://www.loudmouth-project.org/
Source: http://ftp.imendio.com/pub/imendio/%name/src/%name-%version.tar.bz2
# Automatically added by buildreq on Wed Oct 08 2008
BuildRequires: gcc-c++ glib2-devel gtk-doc libcheck-devel libgnutls-devel libidn-devel
%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
%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
BuildArch: noarch
%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
%build
%configure \
%{?_enable_gtk_doc:--enable-gtk-doc} \
--with-ssl=gnutls \
--with-asyncns=yes \
%{subst_enable debug} \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install
%files -n lib%name
%doc AUTHORS COPYING ChangeLog NEWS README
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_pkgconfigdir/*
%_includedir/*
%files -n lib%name-devel-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