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
|
|
|
#
|
2020-07-20 10:49:37 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
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.
|
|
|
|
|
2020-07-20 10:49:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:08:39 +01:00
|
|
|
#
|
|
|
|
|
2012-04-19 10:18:40 +02:00
|
|
|
|
2007-01-16 00:08:39 +01:00
|
|
|
Name: dbus-1-glib
|
2020-07-20 10:49:37 +02:00
|
|
|
Version: 0.110
|
2012-01-25 10:33:13 +01:00
|
|
|
Release: 0
|
2011-07-21 14:31:04 +02:00
|
|
|
Summary: GLib-based library for using D-Bus
|
2020-07-20 10:49:37 +02:00
|
|
|
License: AFL-2.1 OR GPL-2.0-or-later
|
|
|
|
URL: https://dbus.freedesktop.org/
|
2011-10-12 22:11:13 +02:00
|
|
|
Source0: http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-%{version}.tar.gz
|
2011-07-21 14:31:04 +02:00
|
|
|
Source1: baselibs.conf
|
2015-05-31 05:25:11 +02:00
|
|
|
BuildRequires: dbus-1-devel >= 1.8
|
2020-07-20 10:49:37 +02:00
|
|
|
BuildRequires: glib2-devel >= 2.40
|
2012-01-25 10:33:13 +01:00
|
|
|
BuildRequires: libexpat-devel
|
2011-07-21 14:31:04 +02:00
|
|
|
BuildRequires: libselinux-devel
|
2012-04-19 10:17:07 +02:00
|
|
|
Requires: dbus-1
|
2016-10-25 19:44:03 +02:00
|
|
|
Recommends: dbus-1-glib-tool
|
2008-11-02 15:38:35 +01:00
|
|
|
#
|
2008-02-29 22:37:14 +01:00
|
|
|
|
2007-01-16 00:08:39 +01:00
|
|
|
%package -n dbus-1-glib-devel
|
2007-03-02 09:24:55 +01:00
|
|
|
Summary: Developer package for D-Bus/GLib bindings
|
2012-09-19 16:08:01 +02:00
|
|
|
Requires: dbus-1-devel
|
2007-01-16 00:08:39 +01:00
|
|
|
Requires: dbus-1-glib = %{version}
|
2016-10-25 19:44:03 +02:00
|
|
|
Requires: dbus-1-glib-tool = %{version}
|
2007-01-16 00:08:39 +01:00
|
|
|
Requires: glib2-devel
|
2008-02-29 22:37:14 +01:00
|
|
|
|
2007-03-02 09:24:55 +01:00
|
|
|
%package -n dbus-1-glib-doc
|
|
|
|
Summary: Documentation for the D-Bus/GLib bindings
|
2010-01-14 15:40:31 +01:00
|
|
|
%if 0%{?suse_version} >= 1120
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2007-01-16 00:08:39 +01:00
|
|
|
|
2016-10-25 19:44:03 +02:00
|
|
|
%package -n dbus-1-glib-tool
|
|
|
|
Summary: Tool package for D-Bus/GLib bindings
|
|
|
|
Requires: dbus-1-glib = %{version}
|
|
|
|
|
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.
|
|
|
|
|
2016-10-25 19:44:03 +02:00
|
|
|
%description -n dbus-1-glib-tool
|
|
|
|
D-Bus add-on tool to integrate the standard D-Bus library with the
|
|
|
|
GLib thread abstraction and main loop.
|
|
|
|
|
2007-01-16 00:08:39 +01:00
|
|
|
%prep
|
2016-10-14 07:50:13 +02:00
|
|
|
%setup -q -n dbus-glib-%{version}
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%build
|
2009-11-16 10:29:06 +01:00
|
|
|
%configure \
|
|
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
2011-10-04 10:31:35 +02:00
|
|
|
%if 0%{?_crossbuild}
|
2016-10-14 07:50:13 +02:00
|
|
|
--with-dbus-binding-tool=%{_bindir}/dbus-binding-tool \
|
2011-10-04 10:31:35 +02:00
|
|
|
%endif
|
2009-01-29 23:03:25 +01:00
|
|
|
--disable-static
|
2020-07-20 10:49:37 +02:00
|
|
|
%make_build
|
2007-01-16 00:08:39 +01:00
|
|
|
|
|
|
|
%install
|
2020-07-20 10:49:37 +02:00
|
|
|
%make_install
|
2016-10-14 07:50:13 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-02-19 00:22:41 +01:00
|
|
|
# Remove the exacutable bit from dbus-bash-completion.sh
|
|
|
|
chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
|
2007-01-16 00:08:39 +01:00
|
|
|
|
2017-06-09 19:30:44 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:08:39 +01:00
|
|
|
|
2016-10-14 07:50:13 +02:00
|
|
|
%files
|
2007-01-16 00:08:39 +01:00
|
|
|
%{_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
|
|
|
|
%{_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
|
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
|
|
|
|
2016-10-25 19:44:03 +02:00
|
|
|
%files -n dbus-1-glib-tool
|
|
|
|
%{_bindir}/dbus-binding-tool
|
2020-07-20 10:49:37 +02:00
|
|
|
%{_mandir}/man?/dbus-binding-tool.1%{?ext_man}
|
2016-10-25 19:44:03 +02:00
|
|
|
|
2007-03-02 09:24:55 +01:00
|
|
|
%changelog
|