2007-02-15 18:16:44 +01:00
|
|
|
#
|
2011-08-18 09:10:44 +02:00
|
|
|
# spec file for package dbus-1-x11
|
2007-02-15 18:16:44 +01:00
|
|
|
#
|
2011-01-03 10:48:19 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-02-15 18:16:44 +01:00
|
|
|
#
|
2008-08-08 02:10:13 +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-02-15 18:16:44 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
- update to version 1.5.8:
• Clean up dead code, and make more warnings fatal in development builds
(fd.o #39231, fd.o #41012; Simon McVittie)
• Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie)
• Add _DBUS_STATIC_ASSERT and use it to check invariants
• Fix a small memory leak, and a failure to report errors, when updating
a service file entry for activation (fd.o #39230, Simon McVittie)
· Clean up (non-abstract) Unix sockets on bus daemon exit
· On systems that use libcap-ng but not systemd, drop supplemental groups
when switching to the daemon user (Red Hat #726953, Steve Grubb)
- add libtool as buildrequire to make the spec file more reliable
- update to version 1.5.8:
• Clean up dead code, and make more warnings fatal in development builds
(fd.o #39231, fd.o #41012; Simon McVittie)
• Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie)
• Add _DBUS_STATIC_ASSERT and use it to check invariants
• Fix a small memory leak, and a failure to report errors, when updating
a service file entry for activation (fd.o #39230, Simon McVittie)
· Clean up (non-abstract) Unix sockets on bus daemon exit
· On systems that use libcap-ng but not systemd, drop supplemental groups
when switching to the daemon user (Red Hat #726953, Steve Grubb)
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=68
2011-10-12 00:44:48 +02:00
|
|
|
# norootforbuild
|
2007-02-15 18:16:44 +01:00
|
|
|
|
2011-08-18 09:10:44 +02:00
|
|
|
|
2007-02-15 18:16:44 +01:00
|
|
|
Name: dbus-1-x11
|
2011-08-17 22:21:10 +02:00
|
|
|
%define _name dbus
|
2007-02-15 18:16:44 +01:00
|
|
|
BuildRequires: xorg-x11-devel
|
2007-10-03 00:50:39 +02:00
|
|
|
Url: http://dbus.freedesktop.org/
|
- Update to 1.5.0
• 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
2011-04-20 12:07:41 +02:00
|
|
|
License: GPL2+ or AFL 2.1
|
2009-07-17 18:13:29 +02:00
|
|
|
Group: System/Daemons
|
|
|
|
Summary: D-Bus Message Bus System
|
2007-02-15 18:16:44 +01:00
|
|
|
# COMMON1-BEGIN
|
|
|
|
# COMMON1-BEGIN
|
2011-05-18 16:05:04 +02:00
|
|
|
BuildRequires: doxygen libexpat-devel libzio pkg-config update-desktop-files
|
2008-09-05 20:16:27 +02:00
|
|
|
BuildRequires: audit-devel
|
2011-10-02 16:37:37 +02:00
|
|
|
BuildRequires: libtool
|
- update to version 1.5.8:
• Clean up dead code, and make more warnings fatal in development builds
(fd.o #39231, fd.o #41012; Simon McVittie)
• Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie)
• Add _DBUS_STATIC_ASSERT and use it to check invariants
• Fix a small memory leak, and a failure to report errors, when updating
a service file entry for activation (fd.o #39230, Simon McVittie)
· Clean up (non-abstract) Unix sockets on bus daemon exit
· On systems that use libcap-ng but not systemd, drop supplemental groups
when switching to the daemon user (Red Hat #726953, Steve Grubb)
- add libtool as buildrequire to make the spec file more reliable
- update to version 1.5.8:
• Clean up dead code, and make more warnings fatal in development builds
(fd.o #39231, fd.o #41012; Simon McVittie)
• Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie)
• Add _DBUS_STATIC_ASSERT and use it to check invariants
• Fix a small memory leak, and a failure to report errors, when updating
a service file entry for activation (fd.o #39230, Simon McVittie)
· Clean up (non-abstract) Unix sockets on bus daemon exit
· On systems that use libcap-ng but not systemd, drop supplemental groups
when switching to the daemon user (Red Hat #726953, Steve Grubb)
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=68
2011-10-12 00:44:48 +02:00
|
|
|
Version: 1.5.8
|
2011-07-01 12:08:52 +02:00
|
|
|
Release: 1
|
2008-11-02 15:38:31 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: dbus-1-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2011-08-17 22:21:10 +02:00
|
|
|
Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz
|
2011-05-05 14:04:08 +02:00
|
|
|
Source1: rc.boot.dbus
|
2007-02-15 18:16:44 +01:00
|
|
|
Source2: dbus-1.desktop
|
2008-09-05 20:16:27 +02:00
|
|
|
Source3: dbus_at_console.ck
|
2010-02-12 07:57:00 +01:00
|
|
|
Source4: baselibs.conf
|
2009-02-17 22:17:46 +01:00
|
|
|
Patch0: dbus-log-deny.patch
|
2011-10-12 11:51:10 +02:00
|
|
|
# PATCH-FIX-OPENSUSE coolo@suse.de -- force a feature configure won't accept without x11 in buildrequires
|
|
|
|
Patch1: dbus-do-autolaunch.patch
|
2008-12-15 12:25:37 +01:00
|
|
|
%if 0%{?suse_version} > 1100
|
|
|
|
%bcond_without selinux
|
|
|
|
%else
|
|
|
|
%bcond_with selinux
|
|
|
|
%endif
|
|
|
|
%if %{with selinux}
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
%endif
|
2010-10-07 22:02:37 +02:00
|
|
|
BuildRequires: libcap-ng-devel
|
2007-02-15 18:16:44 +01:00
|
|
|
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.
|
|
|
|
|
2007-02-19 11:59:04 +01:00
|
|
|
%prep
|
|
|
|
# COMMON2-BEGIN
|
|
|
|
# COMMON2-BEGIN
|
2011-08-17 22:21:10 +02:00
|
|
|
%setup -n %{_name}-%{version} -q
|
2009-01-29 23:01:42 +01:00
|
|
|
%patch0 -p1
|
2011-10-12 11:51:10 +02:00
|
|
|
%patch1 -p1
|
2007-02-19 11:59:04 +01:00
|
|
|
|
|
|
|
%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"
|
2010-07-20 20:18:20 +02:00
|
|
|
export V=1
|
2007-02-19 11:59:04 +01:00
|
|
|
%endif
|
2009-07-17 18:13:29 +02:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic \
|
|
|
|
--bindir=/bin \
|
|
|
|
--libexecdir=/lib/%{name} \
|
2007-07-27 15:33:15 +02:00
|
|
|
--libdir=/%{_lib} \
|
2007-02-19 11:59:04 +01:00
|
|
|
--with-init-scripts=suse \
|
2008-01-17 22:34:04 +01:00
|
|
|
--enable-inotify \
|
2007-02-19 11:59:04 +01:00
|
|
|
--enable-doxygen-docs \
|
2008-09-05 20:16:27 +02:00
|
|
|
%if %{with selinux}
|
|
|
|
--enable-selinux \
|
|
|
|
%endif
|
|
|
|
--enable-libaudit \
|
2010-07-20 20:18:20 +02:00
|
|
|
--with-console-auth-dir=/var/run/dbus/at_console/ \
|
2011-10-12 11:51:10 +02:00
|
|
|
--with-systemdsystemunitdir=/lib/systemd/system
|
2010-07-20 20:18:20 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-02-19 11:59:04 +01:00
|
|
|
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
|
2007-07-29 17:32:54 +02:00
|
|
|
mv $tdir/bin/dbus-launch %{buildroot}/%{_bindir}
|
2007-02-19 11:59:04 +01:00
|
|
|
mv $tdir/%{_mandir}/man1/dbus-launch.1* %{buildroot}/%{_mandir}/man1
|
|
|
|
rm -rf $tdir
|
2007-02-15 18:16:44 +01:00
|
|
|
|
- update to version 1.5.8:
• Clean up dead code, and make more warnings fatal in development builds
(fd.o #39231, fd.o #41012; Simon McVittie)
• Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie)
• Add _DBUS_STATIC_ASSERT and use it to check invariants
• Fix a small memory leak, and a failure to report errors, when updating
a service file entry for activation (fd.o #39230, Simon McVittie)
· Clean up (non-abstract) Unix sockets on bus daemon exit
· On systems that use libcap-ng but not systemd, drop supplemental groups
when switching to the daemon user (Red Hat #726953, Steve Grubb)
- add libtool as buildrequire to make the spec file more reliable
- update to version 1.5.8:
• Clean up dead code, and make more warnings fatal in development builds
(fd.o #39231, fd.o #41012; Simon McVittie)
• Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie)
• Add _DBUS_STATIC_ASSERT and use it to check invariants
• Fix a small memory leak, and a failure to report errors, when updating
a service file entry for activation (fd.o #39230, Simon McVittie)
· Clean up (non-abstract) Unix sockets on bus daemon exit
· On systems that use libcap-ng but not systemd, drop supplemental groups
when switching to the daemon user (Red Hat #726953, Steve Grubb)
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=68
2011-10-12 00:44:48 +02:00
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
2007-02-15 18:16:44 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/dbus-launch
|
|
|
|
%{_mandir}/man1/dbus-launch.1*
|
2007-11-23 02:03:01 +01:00
|
|
|
|
2007-02-19 11:59:04 +01:00
|
|
|
%changelog
|