%define lib_name %mklibname %{name}- %{api_version} %{lib_major} %define lib_major 0 %define api_version 1 Summary: Loudmouth is a C library for programming with the Jabber protocol Name: loudmouth Version: 0.15.1 Release: 1mdk License: LGPL Group: System/Libraries URL: http://loudmouth.imendio.org/ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: glib2-devel BuildRequires: gnutls-devel >= 1.0.0 %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 -n %{lib_name} Summary: %{summary} Group: %{group} %description -n %{lib_name} 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 Summary: Libraries and include files for loudmouth Group: Development/GNOME and GTK+ Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-%{api_version}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Requires: %{lib_name} = %{version}-%{release} Requires: glib2-devel %description -n %{lib_name}-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. This package includes libraries and header files for developing Loudmouth applications. %prep %setup -q %build # we don't use libtool 1.5 yet %define __libtoolize /bin/true %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig -n %{lib_name} %postun -p /sbin/ldconfig -n %{lib_name} %files -n %{lib_name} %defattr(-,root,root,-) %doc README AUTHORS NEWS ChangeLog %{_libdir}/*.so.* %files -n %{lib_name}-devel %defattr(-,root,root,-) %{_libdir}/*.la %{_libdir}/*.a %{_libdir}/*.so %{_libdir}/pkgconfig/* %{_includedir}/* %changelog * Fri Jan 23 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.15.1-1mdk - Release 0.15.1 - Remove patch 0 (merged upstream) * Thu Jan 22 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.15-1mdk - Release 0.15 - Patch0 : use gnutls 1.0 API * Sat Dec 27 2003 Abel Cheung <deaddog@deaddog.org> 0.14.1-2mdk - Rebuild with new gnutls * Mon Oct 13 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0.14.1-1mdk - Release 0.14.1 * Tue Aug 19 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.13.2-1mdk - Release 0.13.2 * Tue Aug 5 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.13.1-1mdk - Release 0.13.1, with SSL support * Tue Aug 5 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.13-1mdk - Release 0.13 * Fri Jul 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.12-1mdk - Release 0.12 * Tue Jul 15 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.11-1mdk - Release 0.11 * Mon Jul 7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.10.1-1mdk - Release 0.10.1 (please, Mickael, next time, don't do a release while I packaging old version :) * Mon Jul 7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0.10-1mdk - First Mandrake package