# Christopher (siege) O'Brien %define with_doc_subpackage @WITH_DOC_SUBPACKAGE@%{nil} Summary: Lotus Sametime Community Client library Name: @PACKAGE@ Epoch: 0 Version: @VERSION@ Release: @RELEASE@ License: LGPL Group: Applications/Internet URL: http://meanwhile.sourceforge.net/ Requires: glib2 >= @GLIB_VERSION@ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: glib2-devel >= @GLIB_VERSION@ %if %{with_doc_subpackage} BuildRequires: doxygen %endif %description Library for connecting as a client to a Lotus Sametime community. Provides a simplified interface for authentication, presence, messaging, conferencing, and remote preferences. %prep %setup -q %build %if %{with_doc_subpackage} %configure --enable-doxygen %else %configure %endif %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{makeinstall} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,0755) %doc AUTHORS ChangeLog COPYING INSTALL LICENSE NEWS README TODO %{_libdir}/libmeanwhile.so* %package devel Group: Applications/Internet Summary: Development package for the Meanwhile library License: LGPL Requires: %{name} = %{version}-%{release} %description devel Development package for the Meanwhile library %files devel %defattr(-,root,root,-) %{_includedir}/meanwhile/ %{_libdir}/libmeanwhile.a %{_libdir}/libmeanwhile.la %{_libdir}/pkgconfig/meanwhile.pc %if %{with_doc_subpackage} %package doc Group: Applications/Internet Summary: Documentation for the Meanwhile library License: GNU Free Documentation License %description doc Documentation for the Meanwhile library %files doc %defattr(-,root,root,-) %{_datadir}/doc/%{name}-doc-%{version}/ %endif %post /sbin/ldconfig 2> /dev/null %postun /sbin/ldconfig 2> /dev/null %changelog * Fri Nov 18 2005 - removed the gmp and gmp-devel requirements * Wed Sep 21 2005 - added doc sub package * Sat Sep 17 2005 - added gmp and gmp-devel requrements * Sun Jan 16 2005 - removed python package (now in meanwhile-python module) * Mon Dec 27 2004 - updated python package * Thu Jul 22 2004 - moved .a, .la into -devel package - added docs to install * Mon May 10 2004 - Separated meanwhile from meanwhile-gaim - First distribution with autoconf/automake/libtool * Tue Apr 13 2004 - Initial rpm build.