Marcus Meissner
7dadcd40ab
OBS-URL: https://build.opensuse.org/request/show/528060 OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-broker?expand=0&rev=1
92 lines
2.5 KiB
RPMSpec
92 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package dbus-broker
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: dbus-broker
|
|
Version: 4
|
|
Release: 0
|
|
Summary: XDG-conforming message bus implementation
|
|
License: Apache-2.0
|
|
Group: Productivity/Telephony/Utilities
|
|
Url: https://github.com/bus1/dbus-broker
|
|
|
|
Source: https://github.com/bus1/dbus-broker/archive/v%version.tar.gz
|
|
Patch1: use-system-deps.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: meson
|
|
BuildRequires: pkg-config
|
|
BuildRequires: pkgconfig(audit) >= 2.7
|
|
BuildRequires: pkgconfig(libcdvar) >= 1
|
|
BuildRequires: pkgconfig(libclist) >= 3
|
|
BuildRequires: pkgconfig(libcrbtree) >= 3
|
|
BuildRequires: pkgconfig(libcsundry) >= 1
|
|
BuildRequires: pkgconfig(libselinux) >= 2.5
|
|
BuildRequires: pkgconfig(libsystemd) >= 230
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.10
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50
|
|
BuildRequires: pkgconfig(systemd) >= 230
|
|
BuildRequires: pkgconfig(expat)
|
|
|
|
%description
|
|
dbus-broker is an implementation of a message bus as defined by the
|
|
D-Bus specification. It has some different characteristics/features
|
|
from classic D-Bus:
|
|
|
|
* No shared medium
|
|
* No IPC to implement IPC
|
|
* User-based accounting
|
|
* Reliable messages
|
|
* Just the bus implementation, no external communication
|
|
* Local only, no remote transport
|
|
* Support for SASL pipelining
|
|
* Runtime broker control
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -P 1 -p1
|
|
|
|
%build
|
|
%meson -Daudit=true -Dselinux=true
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
mkdir -p "%buildroot/%_sbindir"
|
|
ln -s service "%buildroot/%_sbindir/rcdbus-broker"
|
|
|
|
%pre
|
|
%service_add_pre dbus-broker.service
|
|
|
|
%post
|
|
%service_add_post dbus-broker.service
|
|
|
|
%preun
|
|
%service_del_preun dbus-broker.service
|
|
|
|
%postun
|
|
%service_del_postun dbus-broker.service
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_bindir/dbus-broker*
|
|
%_unitdir/*.service
|
|
%_prefix/lib/systemd/user/*.service
|
|
%_sbindir/rc*
|
|
%doc COPYING LICENSE
|
|
|
|
%changelog
|