From 1c040a0c1fbab370dc564bfbc52f4264879478aa Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: May 05 2005 13:45:51 +0000 Subject: auto-import loudmouth-0.17.2-2 on branch devel from loudmouth-0.17.2-2.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..8c9a89f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +loudmouth-0.17.2.tar.bz2 diff --git a/loudmouth.spec b/loudmouth.spec new file mode 100644 index 0000000..f4e33d3 --- /dev/null +++ b/loudmouth.spec @@ -0,0 +1,95 @@ +%define with_ssl 1 + +Name: loudmouth +Version: 0.17.2 +Release: 2 +Summary: Loudmouth is a Jabber programming library written in C + +Group: System Environment/Libraries +License: LGPL +URL: http://www.imendio.com/projects/loudmouth +Source0: http://ftp.gnome.org/pub/GNOME/sources/loudmouth/0.17/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: glib2-devel >= 2.4.0 +BuildRequires: gtk-doc >= 0.10 + +%if %{with_ssl} +BuildRequires: gnutls-devel >= 1.0.0 +BuildRequires: libtasn1 >= 0.2.6 +BuildRequires: libgcrypt-devel +%endif + + +%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: Development files for Loudmouth +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + + +%description 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. + +%prep +%setup -q + + +%build +%configure --enable-gtk-doc \ + --enable-mono=no \ +%if %{with_ssl} + --with-ssl=yes +%else + --with-ssl=no +%endif + +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc ChangeLog NEWS README COPYING +%{_libdir}/libloudmouth*.so.* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libloudmouth*.so +%{_libdir}/libloudmouth*.a +%{_libdir}/pkgconfig/* +%{_includedir}/%{name}-1.0 +%{_datadir}/gtk-doc/html/%{name} + + +%changelog +* Thu May 5 2005 Brian Pepple - 0.17.2-2 +- added %%{_includedir}. +- Add libgcrypt-devel BR. + +* Sun May 1 2005 Brian Pepple - 0.17.2-1 +- Initial Fedora build. + diff --git a/sources b/sources index e69de29..80729fa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +db5dd069f3c7de18d5347ebaaee4ad61 loudmouth-0.17.2.tar.bz2