1e8e42d4d3
• D-Bus Specification v0.16 · Add support for path_namespace and arg0namespace in match rules (fd.o #24317, #34870; Will Thompson, David Zeuthen, Simon McVittie) · Make argNpath support object paths, not just object-path-like strings, and document it better (fd.o #31818, Will Thompson) • Let the bus daemon implement more than one interface (fd.o #33757, Simon McVittie) • Optimize _dbus_string_replace_len to reduce waste (fd.o #21261, Roberto Guido) • Require user intervention to compile with missing 64-bit support (fd.o #35114, Simon McVittie) • Add dbus_type_is_valid as public API (fd.o #20496, Simon McVittie) • Raise UnknownObject instead of UnknownMethod for calls to methods on paths that are not part of the object tree, and UnknownInterface for calls to unknown interfaces in the bus daemon (fd.o #34527, Lennart Poettering) - Update to 1.4.8 • Rename configure.in to configure.ac, and update it to modern conventions (fd.o #32245; Javier Jardón, Simon McVittie) • Correctly give XDG_DATA_HOME priority over XDG_DATA_DIRS (fd.o #34496, Anders Kaseorg) • Prevent X11 autolaunching if $DISPLAY is unset or empty, and add --disable-x11-autolaunch configure option to prevent it altogether in embedded environments (fd.o #19997, NB#219964; Simon McVittie) • Install the documentation, and an index for Devhelp (fd.o #13495, Debian #454142; Simon McVittie, Matthias Clasen) • If checks are not disabled, check validity of string-like types and booleans when sending them (fd.o #16338, NB#223152; Simon McVittie) OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=41
115 lines
3.0 KiB
RPMSpec
115 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package dbus-1-x11 (Version 1.4.1)
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: dbus-1-x11
|
|
BuildRequires: xorg-x11-devel
|
|
Url: http://dbus.freedesktop.org/
|
|
License: GPL2+ or AFL 2.1
|
|
Group: System/Daemons
|
|
Summary: D-Bus Message Bus System
|
|
# COMMON1-BEGIN
|
|
# COMMON1-BEGIN
|
|
BuildRequires: doxygen libexpat-devel libzio pkgconfig
|
|
BuildRequires: audit-devel
|
|
Version: 1.4.6
|
|
Release: 1
|
|
AutoReqProv: on
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: dbus-1-64bit
|
|
%endif
|
|
#
|
|
Source0: dbus-%{version}.tar.bz2
|
|
Source1: rc.boot.dbus
|
|
Source2: dbus-1.desktop
|
|
Source3: dbus_at_console.ck
|
|
Source4: baselibs.conf
|
|
Patch0: dbus-log-deny.patch
|
|
%if 0%{?suse_version} > 1100
|
|
%bcond_without selinux
|
|
%else
|
|
%bcond_with selinux
|
|
%endif
|
|
%if %{with selinux}
|
|
BuildRequires: libselinux-devel
|
|
%endif
|
|
BuildRequires: libcap-ng-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# COMMON1-END
|
|
# COMMON1-END
|
|
|
|
%description
|
|
D-Bus contains some tools that require Xlib to be installed, those are
|
|
in this separate package so server systems need not install X.
|
|
|
|
%prep
|
|
# COMMON2-BEGIN
|
|
# COMMON2-BEGIN
|
|
%setup -n dbus-%{version} -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
autoreconf -fi
|
|
export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC"
|
|
export CXXFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing"
|
|
%if 0%{?suse_version} > 1000
|
|
export CFLAGS="$CFLAGS -fstack-protector"
|
|
export CXXFLAGS="$CXXFLAGS -fstack-protector"
|
|
export V=1
|
|
%endif
|
|
%configure \
|
|
--disable-static \
|
|
--with-pic \
|
|
--bindir=/bin \
|
|
--libexecdir=/lib/%{name} \
|
|
--libdir=/%{_lib} \
|
|
--with-init-scripts=suse \
|
|
--enable-inotify \
|
|
--enable-doxygen-docs \
|
|
%if %{with selinux}
|
|
--enable-selinux \
|
|
%endif
|
|
--enable-libaudit \
|
|
--with-console-auth-dir=/var/run/dbus/at_console/ \
|
|
--with-systemdsystemunitdir=/lib/systemd/system
|
|
make %{?_smp_mflags}
|
|
doxygen -u && doxygen
|
|
./cleanup-man-pages.sh
|
|
|
|
%install
|
|
# COMMON2-END
|
|
# COMMON2-END
|
|
tdir=$(mktemp -d)
|
|
make DESTDIR=$tdir install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
mv $tdir/bin/dbus-launch %{buildroot}/%{_bindir}
|
|
mv $tdir/%{_mandir}/man1/dbus-launch.1* %{buildroot}/%{_mandir}/man1
|
|
rm -rf $tdir
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/dbus-launch
|
|
%{_mandir}/man1/dbus-launch.1*
|
|
|
|
%changelog
|