loudmouth/loudmouth-1.0.spec

Name: loudmouth
Summary: Jabber programming library written in C
Version: 1.0.5
Release: 1
License: LGPL
Group: System Environment/Libraries
URL: http://www.loudmouth-project.org/
Description: 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.

CentOS 7 x86_64

The build could not start because the following file is missing: loudmouth-1.0.5.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: loudmouth-1.0.5.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag


%{?el3:%define _without_gnutls 1}
%{?rh9:%define _without_gnutls 1}
%{?rh7:%define _without_gnutls 1}
%{?el2:%define _without_gnutls 1}

%{?rh7:%define _without_gtkdoc 1}
%{?el2:%define _without_gtkdoc 1}

Summary: Jabber programming library written in C
Name: loudmouth
Version: 1.0.5
Release: 1%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://www.loudmouth-project.org/

Source: http://ftp.imendio.com/pub/imendio/loudmouth/src/loudmouth-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc-c++, gtk-doc >= 0.10
BuildRequires: glib2-devel >= 2.4, libidn-devel, check-devel
%{!?_without_gtkdoc:BuildRequires: gtk-doc >= 0.10}
%{!?_without_gnutls:BuildRequires: gnutls-devel >= 1.0}
%{?_without_gnutls:BuildRequires: openssl-devel}

%description
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 devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel, libidn-devel
%{!?_without_gnutls:Requires: gnutls-devel >= 1.0}
%{?_without_gnutls:Requires: openssl-devel}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure \
%{!?_without_gtkdoc:--enable-gtk-doc} \
	--enable-static="no" \
%{!?_without_gnutls:--with-ssl="gnutls"} \
%{?_without_gnutls:--with-ssl="openssl"}
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING NEWS README
%{_libdir}/libloudmouth-1.so.*

%files devel
%defattr(-, root, root, 0755)
%doc %{_datadir}/gtk-doc/html/loudmouth/
%{_libdir}/libloudmouth-1.so
%{_libdir}/pkgconfig/loudmouth-1.0.pc
%{_includedir}/loudmouth-1.0/
%exclude %{_libdir}/libloudmouth-1.la

%changelog
* Wed May 23 2007 Dag Wieers <dag@wieers.com> - 1.0.5-1
- Updated to release 1.0.5.

* Thu Apr 29 2004 Dag Wieers <dag@wieers.com> - 0.16-1
- Updated to release 0.16.

* Mon Mar 15 2004 Dag Wieers <dag@wieers.com> - 0.15.1-1
- Initial packahe. (using DAR)