File meanwhile.spec of Package meanwhile

#
# spec file for package meanwhile (Version 1.0.2)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           meanwhile
BuildRequires:  doxygen glib2-devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
Version:        1.0.2
Release:        112
Summary:        Lotus Sametime Community Client Library
Url:            http://meanwhile.sf.net/
Source:         %{name}-%{version}.tar.bz2
Patch:          meanwhile-status.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Library to establish instant messaging connections to the Lotus
Sametime IM server.



Authors:
--------
    Christopher (siege) O'Brien  <siege@preoccupied.net>

%package devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
Summary:        Lotus Sametime Community Client library
Requires:       %{name} = %{version} glib2-devel

%description devel
Library to establish instant messaging connections to the Lotus
Sametime IM server.



Authors:
--------
    Christopher (siege) O'Brien  <siege@preoccupied.net>

%package doc
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
Summary:        Lotus Sametime Community Client library
Requires:       %{name} = %{version}

%description doc
Library to establish instant messaging connections to the Lotus
Sametime IM server.



Authors:
--------
    Christopher (siege) O'Brien  <siege@preoccupied.net>

%prep
%setup -q
%patch -p1

%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}\
	htmldocdir=%{_docdir}/%{name}/html\
	latexdocdir=%{_docdir}/%{name}/latex\
	sampledir=%{_docdir}/%{name}/samples

%install
%makeinstall\
	htmldocdir=%{_docdir}/%{name}/html\
	latexdocdir=%{_docdir}/%{name}/latex\
	sampledir=%{_docdir}/%{name}/samples
# NEWS is empty
cp -a AUTHORS ChangeLog COPYING LICENSE README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%run_ldconfig

%postun
%run_ldconfig

%files
%defattr(-,root,root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/[ACLRT]*
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%{_includedir}/meanwhile
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/meanwhile.pc

%files doc
%defattr(-,root,root)
%{_docdir}/%{name}/html
%{_docdir}/%{name}/latex
%{_docdir}/%{name}/samples

%changelog
* Thu May 14 2009 rfno@fietze-home.de
- apply patch to fix status update problem
  (http://sourceforge.net/tracker/index.php?func=detail&aid=1626349&group_id=110565&atid=656718)
* Thu May 10 2007 sbrabec@suse.cz
- Updated to version 1.0.2:
  * Encryption support.
  * Documentation package.
  * Large message support.
  * API changes, new library version.
  * Bug fixes.
* Fri Jan 27 2006 dmueller@suse.de
- update to 0.4.2 for Kopete support (#118081)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 26 2005 mls@suse.de
- make devel package require base package
* Tue May 17 2005 adrian@suse.de
- update to version 0.4.1
* Tue Apr 26 2005 adrian@suse.de
- update to version 0.4.0
* Tue Dec 07 2004 adrian@suse.de
- initial package of version 0.3
openSUSE Build Service is sponsored by