loudmouth.spec.in
author hallski <hallski>
Mon, 02 Aug 2004 23:57:41 +0000
changeset 84 7ae7b690aa89
parent 73 043d4594d84a
permissions -rw-r--r--
2004-05-28 Mikael Hallendal <micke@imendio.com> * configure.in: - Correctly inform whether SSL support was enabled or not. 2004-05-28 Mikael Hallendal <micke@imendio.com> * src/lm-sha.c: Fixed lvalue cast that wasn't approved by newer GCC. 2004-05-10 Mikael Hallendal <micke@imendio.com> * configure.in: Enable Mono on request * mono/*: - Updated the bindings some. - Removed the autogenerated, it's such a small API that I figured it was easier to wrap it manually. 2004-04-30 Mikael Hallendal <micke@imendio.com> * loudmouth/lm-parser.c (parser_end_node_cb): Unref the message node. 2004-04-29 Mikael Hallendal <micke@imendio.com> * examples/lm-change-password.c: * examples/Makefile.am: - Added a small tool to change the password on a jabber account. 2004-04-27 Mikael Hallendal <micke@imendio.com> * Ignore on autogenerated files. 2004-04-20 Mikael Hallendal <micke@imendio.com> * loudmouth/*.[ch]: Updated copyright information 2004-04-20 Mikael Hallendal <micke@imendio.com> * configure.in: Now depend on Glib 2.4 * loudmouth/lm-queue.[ch]: Removed, use the new GQueue in Glib 2.4 * loudmouth/lm-connection.[ch]: Use GQueue instead of LmQueue. 2004-04-16 Mikael Hallendal <micke@imendio.com> * configure.in: Added libtasn1 requirement * loudmouth.spec.in: Added requirement on libtasn if built with SSL. 2004-04-04 Mikael Hallendal <micke@imendio.com> * loudmouth/lm-sha.c: Commited compile fix from Sjoerd. 2004-03-20 Mikael Hallendal <micke@imendio.com> * docs/reference/loudmouth-sections.txt: - Added lm_connection_get_state - Added LmConnectionState

%define ver @VERSION@
%define name @PACKAGE@

%define with_ssl 1

Summary: Loadmouth is a Jabber client written in C.
Name: %name
Version: %ver
Release: imendio.2
Vendor: Imendio
URL: http://www.imendio.com/projects/loudmouth
Source0: %{name}-%{ver}.tar.gz
License: LGPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-root
Requires: glib2 >= @GLIB2_REQUIRED@
BuildRequires: glib2-devel >= @GLIB2_REQUIRED@
BuildRequires: gtk-doc >= 0.10

%if %{with_ssl}
Requires: gnutls >= @GNUTLS_REQUIRED@
Requires: libtasn1 >= @LIBTASN1_REQUIRED@
BuildRequires: gnutls-devel >= @GNUTLS_REQUIRED@
BuildRequires: libtasn1-devel >= @LIBTASN1_REQUIRED@
%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 RoadRunner..
Group: 		Development/Libraries
Requires:	%name = %{PACKAGE_VERSION}
Requires:	glib2-devel >= @GLIB2_REQUIRED@

%if %{with_ssl}
Requires:       gnutls-devel >= @GNUTLS_REQUIRED@
%endif

%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 \
%if %{with_ssl}
           --with-ssl=yes
%else
           --with-ssl=no
%endif
	  
make

%install
rm -rf %{buildroot}
%makeinstall 

# remove, not shipped
rm -f $RPM_BUILD_ROOT%{_libdir}/libloudmouth-1.la

%clean
rm -rf $RPM_BUILD_ROOT

%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/*
%{_prefix}/include/loudmouth-1.0
%{_datadir}/gtk-doc/html/loudmouth

%changelog
* Wed Oct 01 2003 Mikael Hallendal <micke@imendio.com>
- Added with_ssl to be able to easily turn of SSL dependency.
  
* Wed Jun 25 2003 Mikael Hallendal <micke@imendio.com>
- Updated to reflect move of project.

* Sat Mar 29 2003 Mikael Hallendal <micke@codefactory.se>
- Initial build