2007-01-16 00:08:39 +01:00
|
|
|
#
|
2011-06-17 18:31:07 +02:00
|
|
|
# spec file for package dbus-1-glib
|
2007-01-16 00:08:39 +01:00
|
|
|
#
|
2011-06-17 18:31:07 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:08:39 +01:00
|
|
|
#
|
2008-08-26 01:50:46 +02: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-16 00:08:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-29 22:37:14 +01:00
|
|
|
|
2007-01-16 00:08:39 +01:00
|
|
|
Name: dbus-1-glib
|
2008-02-29 22:37:14 +01:00
|
|
|
Url: http://dbus.freedesktop.org/
|
2010-07-20 20:19:05 +02:00
|
|
|
License: Other uncritical OpenSource License
|
2007-01-16 00:08:39 +01:00
|
|
|
Group: Development/Libraries/Other
|
2011-06-17 18:31:07 +02:00
|
|
|
Version: 0.94
|
2011-07-22 08:56:18 +02:00
|
|
|
Release: 3
|
2011-07-21 14:31:04 +02:00
|
|
|
Summary: GLib-based library for using D-Bus
|
|
|
|
Source0: dbus-glib-%{version}.tar.gz
|
|
|
|
Source1: baselibs.conf
|
|
|
|
# PATCH-FIX-UPSTREAM dbus-1-glib-fix-marshalling-regression.patch vuntz@opensuse.org -- Fix regression causing issues in NM, taken from git
|
|
|
|
Patch0: dbus-1-glib-fix-marshalling-regression.patch
|
|
|
|
BuildRequires: dbus-1-devel glib2-devel libexpat-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' dbus-1`)
|
2008-11-02 15:38:35 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: dbus-1-glib-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:08:39 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-02-29 22:37:14 +01:00
|
|
|
|
2007-01-16 00:08:39 +01:00
|
|
|
%package -n dbus-1-glib-devel
|
2008-04-10 14:10:31 +02:00
|
|
|
License: Other uncritical OpenSource License
|
2007-03-02 09:24:55 +01:00
|
|
|
Summary: Developer package for D-Bus/GLib bindings
|
2007-01-16 00:08:39 +01: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
|
|
|
|
Group: Development/Libraries/Other
|
2008-02-29 22:37:14 +01:00
|
|
|
|
2007-03-02 09:24:55 +01:00
|
|
|
%package -n dbus-1-glib-doc
|
2010-01-14 15:40:31 +01:00
|
|
|
License: GPLv2+ ; Other uncritical OpenSource License
|
2007-03-02 09:24:55 +01:00
|
|
|
Summary: Documentation for the D-Bus/GLib bindings
|
|
|
|
Group: Documentation/HTML
|
2010-01-14 15:40:31 +01:00
|
|
|
%if 0%{?suse_version} >= 1120
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
D-Bus add-on library to integrate the standard D-Bus library with the
|
|
|
|
GLib thread abstraction and main loop.
|
|
|
|
|
|
|
|
%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 09:24:55 +01:00
|
|
|
%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-16 00:08:39 +01:00
|
|
|
%prep
|
|
|
|
%setup -n dbus-glib-%{version} -q
|
2011-07-21 14:31:04 +02:00
|
|
|
%patch0 -p1
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%build
|
2009-11-16 10:29:06 +01:00
|
|
|
export CFLAGS="${RPM_OPT_FLAGS} -fstack-protector -fPIC"
|
|
|
|
%configure \
|
|
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
2009-01-29 23:03:25 +01:00
|
|
|
--disable-static
|
2010-07-20 20:19:05 +02:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%install
|
2009-01-29 23:03:25 +01:00
|
|
|
%makeinstall
|
|
|
|
%{__rm} %{buildroot}/%{_libdir}/*.la
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{run_ldconfig}
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%{run_ldconfig}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/*glib*.so.*
|
2009-02-06 22:04:06 +01:00
|
|
|
%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
|
2009-11-16 10:29:06 +01:00
|
|
|
%{_libexecdir}/%{name}
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%files -n dbus-1-glib-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/dbus-binding-tool
|
2009-11-16 10:29:06 +01:00
|
|
|
%doc %{_mandir}/man?/dbus-binding-tool.*
|
2007-01-16 00:08:39 +01:00
|
|
|
%{_includedir}/dbus-1.0/dbus/*
|
2009-01-29 23:03:25 +01:00
|
|
|
%{_libdir}/*glib*.so
|
2007-01-16 00:08:39 +01:00
|
|
|
%{_libdir}/pkgconfig/dbus-glib-1.pc
|
|
|
|
|
2007-03-02 09:24:55 +01:00
|
|
|
%files -n dbus-1-glib-doc
|
|
|
|
%defattr(-, root, root)
|
2008-06-25 19:09:13 +02:00
|
|
|
%dir %{_datadir}/gtk-doc/
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2009-01-29 23:03:25 +01:00
|
|
|
%{_datadir}/gtk-doc/html/dbus-glib
|
2007-03-02 09:24:55 +01:00
|
|
|
|
|
|
|
%changelog
|