File dbus-1-glib.spec of Package dbus-1-glib

#
# spec file for package dbus-1-glib (Version 0.76)
#
# 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:           dbus-1-glib
BuildRequires:  dbus-1-devel glib2-devel libexpat-devel
BuildRequires:  libselinux-devel
Url:            http://dbus.freedesktop.org/
License:        GPL v2 or later; Other uncritical OpenSource License
Group:          Development/Libraries/Other
Version:        0.76
Release:        32.<RELEASE4>
AutoReqProv:    on
# bug437293
%ifarch ppc64
Obsoletes:      dbus-1-glib-64bit
%endif
%ifarch  ppc
Obsoletes:      dbus-1-glib-32bit
%endif
#
Summary:        GLib-based library for using D-Bus
Source0:        dbus-glib-%{version}.tar.gz
Patch0:         %{name}-selinux.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)

%package -n dbus-1-glib-devel
License:        Other uncritical OpenSource License
Summary:        Developer package for D-Bus/GLib bindings
Requires:       dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Requires:       dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`)
Requires:       dbus-1-glib = %{version}
Requires:       glib2-devel
AutoReqProv:    on
Group:          Development/Libraries/Other

%package -n dbus-1-glib-doc
License:        GPL v2 or later; Other uncritical OpenSource License
Summary:        Documentation for the D-Bus/GLib bindings
Requires:       dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
Requires:       dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1-devel`)
Requires:       dbus-1-glib = %{version}
AutoReqProv:    on
Group:          Documentation/HTML

%description
D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.



Authors:
--------
    Olivier Andrieu <oliv__a@users.sourceforge.net>
    Philip Blundell <pb@nexus.co.uk>
    Anders Carlsson <andersca@gnome.org>
    Kristian Hogsberg  <krh@redhat.com>
    Alex Larsson <alexl@redhat.com>
    Michael Meeks <michael@ximian.com>
    Seth Nickell <seth@gnome.org>
    Havoc Pennington <hp@redhat.com>
    Harri Porten <porten@kde.org>
    Matthew Rickard <mjricka@epoch.ncsc.mil>
    Zack Rusin <zack@kde.org>
    Joe Shaw <joe@assbarn.com>
    Colin Walters <walters@gnu.org>
    David Zeuthen <david@fubar.dk>

%description -n dbus-1-glib-devel
D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.



Authors:
--------
    Olivier Andrieu <oliv__a@users.sourceforge.net>
    Philip Blundell <pb@nexus.co.uk>
    Anders Carlsson <andersca@gnome.org>
    Kristian Hogsberg  <krh@redhat.com>
    Alex Larsson <alexl@redhat.com>
    Michael Meeks <michael@ximian.com>
    Seth Nickell <seth@gnome.org>
    Havoc Pennington <hp@redhat.com>
    Harri Porten <porten@kde.org>
    Matthew Rickard <mjricka@epoch.ncsc.mil>
    Zack Rusin <zack@kde.org>
    Joe Shaw <joe@assbarn.com>
    Colin Walters <walters@gnu.org>
    David Zeuthen <david@fubar.dk>

%description -n dbus-1-glib-doc
D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.



Authors:
--------
    Olivier Andrieu <oliv__a@users.sourceforge.net>
    Philip Blundell <pb@nexus.co.uk>
    Anders Carlsson <andersca@gnome.org>
    Kristian Hogsberg  <krh@redhat.com>
    Alex Larsson <alexl@redhat.com>
    Michael Meeks <michael@ximian.com>
    Seth Nickell <seth@gnome.org>
    Havoc Pennington <hp@redhat.com>
    Harri Porten <porten@kde.org>
    Matthew Rickard <mjricka@epoch.ncsc.mil>
    Zack Rusin <zack@kde.org>
    Joe Shaw <joe@assbarn.com>
    Colin Walters <walters@gnu.org>
    David Zeuthen <david@fubar.dk>

%prep
%setup -n dbus-glib-%{version} -q
%patch0

%build
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fno-strict-aliasing -fPIC"
./configure								\
    --prefix=%{_prefix}							\
    --exec_prefix=%{_exec_prefix}					\
    --sysconfdir=%{_sysconfdir}						\
    --datadir=%{_datadir}						\
    --localstatedir=%{_localstatedir}					\
    --libdir=%{_libdir}							\
    --mandir=%{_mandir}
make

%install
make DESTDIR=%{buildroot} install

%post
%{run_ldconfig}

%postun
%{run_ldconfig}

%clean
%{__rm} -rf %{buildroot}

%files 
%defattr(-, root, root)
%{_libdir}/*glib*.so.*
%{_libdir}/*glib*.so

%files -n dbus-1-glib-devel
%defattr(-, root, root)
%{_bindir}/dbus-binding-tool
%{_includedir}/dbus-1.0/dbus/*
%{_libdir}/*glib*.a
%{_libdir}/*glib*.la
%{_libdir}/pkgconfig/dbus-glib-1.pc

%files -n dbus-1-glib-doc
%defattr(-, root, root)
%dir %{_datadir}/gtk-doc/
%dir %{_datadir}/gtk-doc/html
%dir %{_datadir}/gtk-doc/html/dbus-glib/
%{_datadir}/gtk-doc/html/dbus-glib/*

%changelog
* Tue Dec 09 2008 ro@suse.de
- remove ix86 from ifarch statement obsoleting 32bit package
* Thu Oct 30 2008 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Mon Aug 25 2008 prusnak@suse.cz
- enabled SELinux support [Fate#303662]
* Wed Jun 25 2008 aj@suse.de
- Do not require gtk-doc to build.
* Tue Jun 17 2008 thoenig@suse.de
- Update to dbus-1-glib 0.76
- Critical fixes:
 - ABI now guaranteed frozen
 - Fix broken introspection XML
 - Return an error on unknown property Get
 - Fix error handling in dbus_g_proxy_end_call_internal
- Other notable fixes:
 - Fixes for /bin/sh as dash
 - Fixes for non-gcc compilers
 - Correctly detect path to dbus-daemon
 - : Memory leak fixes
 - New function to specify default timeout for calls on proxy
 - Implement org.freedesktop.DBus.Properties.GetAll
 - Require DBus 1.1
- Drop patches which went upstream
* Tue May 13 2008 aj@suse.de
- Reduce BuildRequires.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Fri Feb 29 2008 tambet@suse.de
- Fix the generated introspection XML (patch from upstream).
- Fix the bug where GObject signals get emitted twice per dbus signal
  (bfo #12505).
- Make the dbus-binding-tool ignore XML namespaces it doesn't understand,
  making it possible to add documentation to the same place where interface
  definitions live (bfo #14429).
* Wed Jun 27 2007 thoenig@suse.de
- Update to dbus-1-glib 0.74
- Changes:
  * Init threading first to stop a warning from new GLib.
  * Remove the XML documentation support in configure
  * Fix typo in _dbus_gvalue_signals_error
  * Update GLib requirement.
  * Document dbus-gtype-specialized
  * Add simple test suite for peer objects.
  * Support peer-to-peer proxies.
  * Add dbus_connection_get_g_connection.
  * Stop compiler warnings.
  * Handle dbus errors which are not name has no owner
  * Update abstract socket test from DBus, which now cross-compiles
  * Rename the error quark to be unique
  * Update AUTHORS
* Sat Apr 28 2007 aj@suse.de
- Add libexpat-devel to build requires.
* Thu Mar 01 2007 thoenig@suse.de
- new upstream version 0.73
- new package dbus-1-glib-doc
- drop patch dbus-glib-introspect-fix-thoenig-01.patch
* Mon Nov 06 2006 thoenig@suse.de
- loosen dependency to D-Bus
* Tue Aug 01 2006 thoenig@suse.de
- new upstream version 0.71
- new package: dbus-1-glib-devel
- moved dbus-binding-tool from dbus-1-glib to dbus-1-glib-devel
- moved GLib header and .la files from dbus-1-devel to
  dbus-1-glib-devel
* Tue Aug 01 2006 thoenig@suse.de
- split out binings to sparate spec files
openSUSE Build Service is sponsored by