added glib >= 2.32 patch [release 1.4.3-2mamba;Sun Aug 19 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 04:59:29 +01:00
parent 3d804ca32d
commit c57b40071f
3 changed files with 88 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libloudmouth # libloudmouth
Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP protocol. It's designed to be easy to get started with and yet extensible to let you do anything the XMPP protocol allows.

View File

@ -0,0 +1,13 @@
Index: loudmouth-1.4.3/loudmouth/lm-error.c
===================================================================
--- loudmouth-1.4.3.orig/loudmouth/lm-error.c
+++ loudmouth-1.4.3/loudmouth/lm-error.c
@@ -19,7 +19,7 @@
*/
#include <config.h>
-#include <glib/gerror.h>
+#include <glib.h>
#include "lm-error.h"
/**

73
libloudmouth.spec Normal file
View File

@ -0,0 +1,73 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libloudmouth
Version: 1.4.3
Release: 2mamba
Summary: An asynchronous XMPP library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://groups.google.com/group/loudmouth-dev
Source: http://ftp.gnome.org/pub/GNOME/sources/loudmouth/%{majver}/loudmouth-%{version}.tar.bz2
Patch0: %{name}-1.4.3-glib-2.32.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libidn-devel
BuildRequires: libtasn1-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP protocol. It's designed to be easy to get started with and yet extensible to let you do anything the XMPP protocol allows.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Loudmouth is a lightweight and easy-to-use C library for programming with the XMPP protocol. It's designed to be easy to get started with and yet extensible to let you do anything the XMPP protocol allows.
This package contains static libraries and header files need for development.
%prep
%setup -q -n loudmouth-%{version}
%patch0 -p1
%build
%configure --disable-debug
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libloudmouth-1.so.*
%doc AUTHORS COPYING ChangeLog NEWS README README.WIN32
%files devel
%defattr(-,root,root)
%{_includedir}/loudmouth-1.0/loudmouth/*.h
%{_libdir}/libloudmouth-1.a
%{_libdir}/libloudmouth-1.la
%{_libdir}/libloudmouth-1.so
%{_libdir}/pkgconfig/*.pc
%dir %{_datadir}/gtk-doc/html/loudmouth
%{_datadir}/gtk-doc/html/loudmouth/*
%changelog
* Sun Aug 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-2mamba
- added glib >= 2.32 patch
* Thu Jan 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
- package created by autospec