# # spec file for package dbus-1-glib (Version 0.71) # # Copyright (c) 2006 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: dbus-1-glib BuildRequires: dbus-1 dbus-1-devel dbus-1-x11 expat glib2-devel libxml2-devel URL: http://dbus.freedesktop.org/ License: GNU General Public License (GPL) - all versions, Other License(s), see package Group: Development/Libraries/Other Version: 0.71 Release: 19 Autoreqprov: on Summary: GLib-based library for using D-Bus Source0: dbus-glib-%{version}.tar.gz Patch0: dbus-glib-nameownerchange-workaround-thoenig-01.patch Patch1: dbus-glib-introspect-fix-thoenig-01.patch Patch2: dbus-glib-gvalue-utils-fix-thoenig-01.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`) %package -n dbus-1-glib-devel 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 %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> %prep %setup -n dbus-glib-%{version} -q %patch0 -p0 %patch1 -p0 %patch2 -p0 autoreconf -fi %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 %changelog -n dbus-1-glib * 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