File meanwhile.spec of Package meanwhile

#
# spec file for package meanwhile
#
# Copyright (c) 2011 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:  glib2-devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
Version:        1.0.2
Release:        122
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 --disable-doxygen --disable-static
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}
rm -rf %{buildroot}%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/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}/pkgconfig/meanwhile.pc

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

%changelog
openSUSE Build Service is sponsored by