dbus-1-glib/dbus-1-glib.spec

261 lines
8.6 KiB
RPMSpec

#
# spec file for package dbus-1-glib (Version 0.78)
#
# 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.78
Release: 1
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: dbus-1-glib-64bit
%endif
#
Summary: GLib-based library for using D-Bus
Source0: dbus-glib-%{version}.tar.bz2
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 \
--libexecdir=%{_prefix}/lib/%{name} \
--disable-static
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
%{__rm} %{buildroot}/%{_libdir}/*.la
%post
%{run_ldconfig}
%postun
%{run_ldconfig}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root)
%{_libdir}/*glib*.so.*
%{_sysconfdir}/profile.d/dbus-bash-completion.sh
%{_prefix}/lib/%{name}
%files -n dbus-1-glib-devel
%defattr(-, root, root)
%{_bindir}/dbus-binding-tool
%{_includedir}/dbus-1.0/dbus/*
%{_libdir}/*glib*.so
%{_libdir}/pkgconfig/dbus-glib-1.pc
%files -n dbus-1-glib-doc
%defattr(-, root, root)
%dir %{_datadir}/gtk-doc/
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/dbus-glib
%changelog
* Sat Jan 24 2009 vuntz@novell.com
- Use %%{_prefix}/lib/%%{name} for libexecdir
- Fix a few rpmlint warnings:
+ Recompress tarball as bz2
+ Move /usr/lib/libdbus-glib-1.so to devel package
+ Disable static libraries
* Thu Jan 01 2009 mboman@suse.de
- Update to version 0.78
+ add bash completion for dbus-send(1)
+ fdo#17329: allow hash tables to contain complex types
+ fdo#17798: add support for 'o', 'g' and 'as' in dictionaries
+ fdo#17797: add support for 'g' type, as a boxed char *
+ fdo#17795: depend on Glib 2.10 for hash unref consistency
+ fdo#17794: make run-test.sh fail when die is called
+ fdo#18573 - Fix race when service appears and disappears quickly
+ fdo#17614: Use g_slice for allocating temporary async call data
+ fdo#10373: Use of deprecated API (was used incorrectly)
+ fdo#16419: stack overflow demarshaling recursive variants
+ fdo#16114 [patch] wincaps-to-uscore property names for GetAll()
* Wed Dec 10 2008 olh@suse.de
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
* 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