Accepting request 437306 from home:Zaitor:branches:GNOME:Next

Split out dbus-binding-tool and recommend it for install.

OBS-URL: https://build.opensuse.org/request/show/437306
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1-glib?expand=0&rev=51
This commit is contained in:
Fridrich Strba 2016-10-25 17:44:03 +00:00 committed by Git OBS Bridge
parent 14d0003267
commit e15cea7800
2 changed files with 21 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Oct 20 09:25:32 UTC 2016 - zaitor@opensuse.org
- Split out dbus-binding-tool in own sub-package.
-------------------------------------------------------------------
Wed Oct 12 19:28:57 UTC 2016 - zaitor@opensuse.org

View File

@ -30,6 +30,7 @@ BuildRequires: glib2-devel >= 2.32
BuildRequires: libexpat-devel
BuildRequires: libselinux-devel
Requires: dbus-1
Recommends: dbus-1-glib-tool
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -38,6 +39,7 @@ Summary: Developer package for D-Bus/GLib bindings
Group: Development/Libraries/Other
Requires: dbus-1-devel
Requires: dbus-1-glib = %{version}
Requires: dbus-1-glib-tool = %{version}
Requires: glib2-devel
%package -n dbus-1-glib-doc
@ -47,6 +49,11 @@ Group: Documentation/HTML
BuildArch: noarch
%endif
%package -n dbus-1-glib-tool
Summary: Tool package for D-Bus/GLib bindings
Group: Development/Libraries/Other
Requires: dbus-1-glib = %{version}
%description
D-Bus add-on library to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.
@ -59,6 +66,10 @@ GLib thread abstraction and main loop.
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-tool
D-Bus add-on tool to integrate the standard D-Bus library with the
GLib thread abstraction and main loop.
%prep
%setup -q -n dbus-glib-%{version}
@ -92,8 +103,6 @@ chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%files -n dbus-1-glib-devel
%defattr(-, root, root)
%{_bindir}/dbus-binding-tool
%{_mandir}/man?/dbus-binding-tool.1%{ext_man}
%{_includedir}/dbus-1.0/dbus/*
%{_libdir}/*glib*.so
%{_libdir}/pkgconfig/dbus-glib-1.pc
@ -104,4 +113,9 @@ chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/dbus-glib
%files -n dbus-1-glib-tool
%defattr(-, root, root)
%{_bindir}/dbus-binding-tool
%{_mandir}/man?/dbus-binding-tool.1%{ext_man}
%changelog