File libgalago.spec of Package libgalago

#
# spec file for package libgalago (Version 0.5.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libgalago
BuildRequires:  check-devel fdupes
%if %suse_version > 1010
BuildRequires:  dbus-1-glib-devel
%else
BuildRequires:  dbus-1-devel dbus-1-glib
%endif
# Only for directory ownership:
BuildRequires:  gtk-doc
# NOTE: If you are upgrading, don't forget to change tarball in galago-sharp
Version:        0.5.2
Release:        120
Url:            http://www.galago-project.org/
Group:          System/Libraries
License:        LGPL v2.1 or later
Summary:        The Galago Presence Library
Source:         %{name}-%{version}.tar.bz2
AutoReqProv:    on
Requires:       galago-daemon
Requires:       %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Galago is a D-BUS-based desktop presence framework used to provide
account,person, and presence information for users on IM services and
othercommunication networks for use in other desktop applications, such
as e-mailclients or address books.



Authors:
--------
    Christian Hammond <chipx86@gnupdate.org>

%package devel
License:        LGPL v2.1 or later
Group:          System/Libraries
Summary:        The Galago Presence Library
Requires:       %{name} = %{version} dbus-1-devel glib2-devel glibc-devel
%if %suse_version > 1010
Requires:       dbus-1-glib-devel
%endif

%description devel
Galago is a D-BUS-based desktop presence framework used to provide
account, person, and presence information for users on IM services and
other communication networks for use in other desktop applications,
such as e-mail clients or address books.



Authors:
--------
    Christian Hammond <chipx86@gnupdate.org>

%package doc
License:        LGPL v2.1 or later
Group:          System/Libraries
Summary:        The Galago Presence Library
Requires:       %{name} = %{version}

%description doc
Galago is a D-BUS-based desktop presence framework used to provide
account, person, and presence information for users on IM services and
other communication networks for use in other desktop applications,
such as e-mail clients or address books.



Authors:
--------
    Christian Hammond <chipx86@gnupdate.org>

%lang_package
%prep
%setup -q

%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure\
	--disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang %{name}
# Remove autopackage stuff, we provide a RPM package:
rm -r $RPM_BUILD_ROOT%{_datadir}/autopackage
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*

%files lang -f %{name}.lang

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

%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/libgalago

%changelog
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Tue Mar 27 2007 sbrabec@suse.cz
- Require check-devel.
* Tue Mar 06 2007 sbrabec@suse.cz
- Updated to version 0.5.2:
  * Bug fixes.
  * Only set up matches for the D-BUS signals we care about.
  * Added the following asynchronous query functions:
    - galago_account_get_avatar_async
    - galago_account_get_presence_async
    - galago_get_service_async
    - galago_service_get_account_async
* Tue Feb 13 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552#c17).
* Fri Jan 12 2007 sbrabec@suse.cz
- Spec file cleanup.
* Fri Dec 22 2006 maw@suse.de
- Move to /usr.
* Mon Nov 27 2006 sbrabec@suse.cz
- Build correctly in older products.
* Sat Oct 14 2006 danw@suse.de
- Remove dead patch
* Wed Sep 13 2006 jhargadon@suse.de
- update to version 0.5.1
- Moved to gtk-doc for the documentation. It should now be compatible
  with devhelp.
-  Fixed a memory leak in connection registration.
- Added a German translation
* Tue Aug 15 2006 ro@suse.de
- adapt to dbus api
* Tue Aug 15 2006 ro@suse.de
- added dbus-1-glib-devel to BuildRequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 0.3.3.
* Tue Jun 28 2005 sbrabec@suse.cz
- Require galago-daemon (needed by applications using libgalago).
* Mon May 30 2005 sbrabec@suse.cz
- New SuSE package, version 0.3.2.
openSUSE Build Service is sponsored by