2007-01-15 23:08:39 +00:00
|
|
|
#
|
2009-02-06 21:04:06 +00:00
|
|
|
# spec file for package dbus-1-glib (Version 0.80)
|
2007-01-15 23:08:39 +00:00
|
|
|
#
|
2009-01-29 22:03:25 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:08:39 +00:00
|
|
|
#
|
2008-08-25 23:50:46 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:08:39 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-29 21:37:14 +00:00
|
|
|
|
2007-01-15 23:08:39 +00:00
|
|
|
Name: dbus-1-glib
|
2008-06-25 17:09:13 +00:00
|
|
|
BuildRequires: dbus-1-devel glib2-devel libexpat-devel
|
2008-08-25 23:50:46 +00:00
|
|
|
BuildRequires: libselinux-devel
|
2008-02-29 21:37:14 +00:00
|
|
|
Url: http://dbus.freedesktop.org/
|
2009-07-23 13:41:25 +00:00
|
|
|
License: GPL v2 or later ; Other uncritical OpenSource License
|
2007-01-15 23:08:39 +00:00
|
|
|
Group: Development/Libraries/Other
|
2009-02-06 21:04:06 +00:00
|
|
|
Version: 0.80
|
2009-07-23 13:41:25 +00:00
|
|
|
Release: 2
|
2008-02-29 21:37:14 +00:00
|
|
|
AutoReqProv: on
|
2008-11-02 14:38:35 +00:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: dbus-1-glib-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-15 23:08:39 +00:00
|
|
|
Summary: GLib-based library for using D-Bus
|
2009-01-29 22:03:25 +00:00
|
|
|
Source0: dbus-glib-%{version}.tar.bz2
|
2008-08-25 23:50:46 +00:00
|
|
|
Patch0: %{name}-selinux.patch
|
2009-07-23 13:41:25 +00:00
|
|
|
Patch1: marshall-skip-source.patch
|
2007-01-15 23:08:39 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
|
2008-02-29 21:37:14 +00:00
|
|
|
|
2007-01-15 23:08:39 +00:00
|
|
|
%package -n dbus-1-glib-devel
|
2008-04-10 12:10:31 +00:00
|
|
|
License: Other uncritical OpenSource License
|
2007-03-02 08:24:55 +00:00
|
|
|
Summary: Developer package for D-Bus/GLib bindings
|
2007-01-15 23:08:39 +00:00
|
|
|
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
|
2008-02-29 21:37:14 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:08:39 +00:00
|
|
|
Group: Development/Libraries/Other
|
2008-02-29 21:37:14 +00:00
|
|
|
|
2007-03-02 08:24:55 +00:00
|
|
|
%package -n dbus-1-glib-doc
|
2009-07-23 13:41:25 +00:00
|
|
|
License: GPL v2 or later ; Other uncritical OpenSource License
|
2007-03-02 08:24:55 +00:00
|
|
|
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}
|
2008-02-29 21:37:14 +00:00
|
|
|
AutoReqProv: on
|
2007-03-02 08:24:55 +00:00
|
|
|
Group: Documentation/HTML
|
2007-01-15 23:08:39 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-02 08:24:55 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 23:08:39 +00:00
|
|
|
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
|
2008-08-25 23:50:46 +00:00
|
|
|
%patch0
|
2009-07-23 13:41:25 +00:00
|
|
|
%patch1
|
2007-01-15 23:08:39 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fno-strict-aliasing -fPIC"
|
2009-01-29 22:03:25 +00:00
|
|
|
%configure \
|
|
|
|
--libexecdir=%{_prefix}/lib/%{name} \
|
|
|
|
--disable-static
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-15 23:08:39 +00:00
|
|
|
|
|
|
|
%install
|
2009-01-29 22:03:25 +00:00
|
|
|
%makeinstall
|
|
|
|
%{__rm} %{buildroot}/%{_libdir}/*.la
|
2007-01-15 23:08:39 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{run_ldconfig}
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%{run_ldconfig}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/*glib*.so.*
|
2009-02-06 21:04:06 +00:00
|
|
|
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
|
2009-01-29 22:03:25 +00:00
|
|
|
%{_prefix}/lib/%{name}
|
2007-01-15 23:08:39 +00:00
|
|
|
|
|
|
|
%files -n dbus-1-glib-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/dbus-binding-tool
|
|
|
|
%{_includedir}/dbus-1.0/dbus/*
|
2009-01-29 22:03:25 +00:00
|
|
|
%{_libdir}/*glib*.so
|
2007-01-15 23:08:39 +00:00
|
|
|
%{_libdir}/pkgconfig/dbus-glib-1.pc
|
|
|
|
|
2007-03-02 08:24:55 +00:00
|
|
|
%files -n dbus-1-glib-doc
|
|
|
|
%defattr(-, root, root)
|
2008-06-25 17:09:13 +00:00
|
|
|
%dir %{_datadir}/gtk-doc/
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2009-01-29 22:03:25 +00:00
|
|
|
%{_datadir}/gtk-doc/html/dbus-glib
|
2007-03-02 08:24:55 +00:00
|
|
|
|
|
|
|
%changelog
|