2008-09-15 10:31:24 +02:00
|
|
|
#
|
2011-01-24 16:07:41 +01:00
|
|
|
# spec file for package bluez
|
2008-09-15 10:31:24 +02:00
|
|
|
#
|
2019-01-10 20:18:07 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2019-10-04 11:52:25 +02:00
|
|
|
# Copyright (c) 2010-2019 B1 Systems GmbH, Vohburg, Germany
|
2008-09-15 10:31:24 +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.
|
|
|
|
|
2019-01-10 20:18:07 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-09-15 10:31:24 +02:00
|
|
|
#
|
|
|
|
|
2012-01-27 18:50:18 +01:00
|
|
|
|
2019-10-07 09:34:57 +02:00
|
|
|
# maintained at https://github.com/seifes-opensuse-packages/bluez.git
|
|
|
|
# contributions via pull requests are welcome!
|
|
|
|
#
|
2008-09-15 10:31:24 +02:00
|
|
|
Name: bluez
|
2019-09-20 22:37:21 +02:00
|
|
|
Version: 5.51
|
2011-12-27 13:50:19 +01:00
|
|
|
Release: 0
|
2008-09-15 10:31:24 +02:00
|
|
|
Summary: Bluetooth Stack for Linux
|
2018-03-14 19:50:47 +01:00
|
|
|
License: GPL-2.0-or-later
|
2008-09-15 10:31:24 +02:00
|
|
|
Group: Hardware/Mobile
|
2013-01-25 08:57:16 +01:00
|
|
|
Url: http://www.bluez.org
|
2013-09-09 11:07:05 +02:00
|
|
|
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.xz
|
2011-06-23 04:42:33 +02:00
|
|
|
Source5: baselibs.conf
|
2009-01-08 17:55:14 +01:00
|
|
|
Source7: bluetooth.modprobe
|
2019-10-21 14:23:56 +02:00
|
|
|
# fix some logitech HID devices, bnc#681049, bnc#850478 --seife+obs@b1-systems.com
|
|
|
|
Patch1: bluez-5.11-logitech-hid2hci.patch
|
|
|
|
Patch2: bluez-sdp-unix-path.patch
|
|
|
|
# PATCH-FIX-UPSTREAM: find the cups dir in libexec not in libdir
|
|
|
|
Patch3: bluez-cups-libexec.patch
|
|
|
|
# workaround for broken tests (reported upstream but not yet fixed)
|
|
|
|
Patch4: bluez-disable-broken-tests.diff
|
|
|
|
# boo#1152672, upstream fix
|
|
|
|
Patch5: 0001-mesh-Fix-segmentation-fault-on-Join-call.patch
|
|
|
|
# Move 43xx firmware path for RPi3 bluetooth support bsc#1140688
|
|
|
|
Patch10: RPi-Move-the-43xx-firmware-into-lib-firmware.patch
|
|
|
|
# Upstream suggests to use btmon instead of hcidump and does not want those patches
|
|
|
|
# => PATCH-FIX-OPENSUSE for those two :-)
|
|
|
|
# fix some memory leak with malformed packet (reported upstream but not yet fixed)
|
|
|
|
Patch101: CVE-2016-9800-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch
|
|
|
|
Patch102: CVE-2016-9804-tool-hcidump-Fix-memory-leak-with-malformed-packet.patch
|
2019-02-20 22:10:26 +01:00
|
|
|
|
2013-01-25 08:57:16 +01:00
|
|
|
BuildRequires: automake
|
2017-03-01 21:50:58 +01:00
|
|
|
BuildRequires: flex
|
2013-01-25 08:57:16 +01:00
|
|
|
BuildRequires: libtool
|
2017-03-01 21:50:58 +01:00
|
|
|
BuildRequires: pkgconfig
|
2013-01-25 08:57:16 +01:00
|
|
|
BuildRequires: readline-devel
|
2017-03-01 21:50:58 +01:00
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(check)
|
|
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.6
|
2019-06-30 14:53:42 +02:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2018-06-11 09:26:20 +02:00
|
|
|
BuildRequires: pkgconfig(ell) >= 0.3
|
2019-06-30 14:53:42 +02:00
|
|
|
%endif
|
2013-01-25 08:57:16 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
2017-09-19 20:25:35 +02:00
|
|
|
# json-c is needed for --enable-mesh
|
|
|
|
BuildRequires: pkgconfig(json-c)
|
2017-03-01 21:50:58 +01:00
|
|
|
BuildRequires: pkgconfig(libcap-ng)
|
|
|
|
BuildRequires: pkgconfig(libical)
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: pkgconfig(sndfile)
|
|
|
|
BuildRequires: pkgconfig(udev)
|
2017-12-12 09:24:25 +01:00
|
|
|
Requires(post): systemd
|
2013-01-25 08:57:16 +01:00
|
|
|
Recommends: sbc
|
2008-09-24 15:04:20 +02:00
|
|
|
Provides: bluez-utils = 3.36
|
2008-09-15 10:31:24 +02:00
|
|
|
Obsoletes: bluez-utils <= 3.36
|
2008-09-24 15:04:20 +02:00
|
|
|
Provides: bluez-audio = 3.36
|
|
|
|
Obsoletes: bluez-audio <= 3.36
|
2013-09-09 11:07:05 +02:00
|
|
|
Obsoletes: bluez-hcidump < 5.0
|
|
|
|
Provides: bluez-hcidump = %{version}
|
|
|
|
Obsoletes: obexd-client < 5.0
|
|
|
|
Provides: obexd-client = %{version}
|
2013-01-25 08:57:16 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-03-01 21:50:58 +01:00
|
|
|
%{?systemd_requires}
|
2016-07-31 17:46:40 +02:00
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%description
|
2016-08-02 19:27:10 +02:00
|
|
|
BlueZ provides support for the core Bluetooth layers and protocols.
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Files needed for BlueZ development
|
2018-03-14 19:50:47 +01:00
|
|
|
License: GPL-2.0-or-later
|
2016-08-02 19:27:10 +02:00
|
|
|
Group: Development/Languages/C and C++
|
2008-09-15 17:50:20 +02:00
|
|
|
Requires: libbluetooth3 = %{version}
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files needed to develop applications for the BlueZ Bluetooth protocol
|
|
|
|
stack.
|
|
|
|
|
|
|
|
%package -n libbluetooth3
|
|
|
|
Summary: Bluetooth Libraries
|
2018-03-14 19:50:47 +01:00
|
|
|
License: GPL-2.0-or-later
|
2016-08-02 19:27:10 +02:00
|
|
|
Group: System/Libraries
|
2008-09-24 15:04:20 +02:00
|
|
|
Provides: bluez-libs = 3.36
|
|
|
|
Obsoletes: bluez-libs <= 3.36
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description -n libbluetooth3
|
2016-08-02 19:27:10 +02:00
|
|
|
BlueZ provides support for the core Bluetooth layers and protocols.
|
|
|
|
It is uses a modular implementation. It has many interesting features:
|
|
|
|
|
|
|
|
* Multithreaded data processing
|
|
|
|
* Support for multiple Bluetooth devices
|
|
|
|
* Real hardware abstraction
|
|
|
|
* Standard socket interface to all layers
|
|
|
|
* Device and service level security support
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package cups
|
|
|
|
Summary: CUPS Driver for Bluetooth Printers
|
2018-03-14 19:50:47 +01:00
|
|
|
License: GPL-2.0-or-later
|
2011-12-27 13:50:19 +01:00
|
|
|
Group: Hardware/Printing
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description cups
|
|
|
|
Contains the files required by CUPS for printing to Bluetooth-connected
|
|
|
|
printers.
|
|
|
|
|
|
|
|
%package test
|
|
|
|
Summary: Tools for testing of various Bluetooth-functions
|
2018-03-14 19:50:47 +01:00
|
|
|
License: GPL-2.0-or-later AND MIT
|
2011-12-27 13:50:19 +01:00
|
|
|
Group: Development/Tools/Debuggers
|
2012-03-11 10:01:02 +01:00
|
|
|
Requires: dbus-1-python
|
|
|
|
Requires: python-gobject2
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description test
|
|
|
|
Contains a few tools for testing various bluetooth functions. The
|
|
|
|
BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A.
|
|
|
|
|
2017-06-08 13:26:04 +02:00
|
|
|
%package auto-enable-devices
|
|
|
|
Summary: Configuration that automatically enables all bluetooth devices
|
2018-03-14 19:50:47 +01:00
|
|
|
License: GPL-2.0-or-later
|
2017-06-08 13:26:04 +02:00
|
|
|
Group: Hardware/Mobile
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description auto-enable-devices
|
|
|
|
Contains configuration that automatically enables all bluetooth devices
|
|
|
|
that are connected to the system if no other tool is handling them (e.g.
|
|
|
|
desktop specific applets like blueman or GNOME or KDE applets).
|
|
|
|
|
2017-07-07 21:15:52 +02:00
|
|
|
%post auto-enable-devices
|
|
|
|
{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||:
|
|
|
|
|
|
|
|
%postun auto-enable-devices
|
|
|
|
{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||:
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%prep
|
2019-10-21 14:23:56 +02:00
|
|
|
%setup -q
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch10 -p1
|
|
|
|
%patch101 -p1
|
|
|
|
%patch102 -p1
|
2008-11-17 16:42:21 +01:00
|
|
|
mkdir dbus-apis
|
|
|
|
cp -a doc/*.txt dbus-apis/
|
2013-10-08 10:46:44 +02:00
|
|
|
# FIXME: Change the dbus service to be a real service, not systemd launched
|
|
|
|
sed -i "s:Exec=/bin/false:Exec=%{_libexecdir}/bluetooth/obexd:g" obexd/src/org.bluez.obex.service
|
|
|
|
sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service
|
|
|
|
# END FIXME
|
2008-09-15 10:31:24 +02:00
|
|
|
|
2017-06-08 13:26:04 +02:00
|
|
|
# for auto-enable subpackage
|
|
|
|
echo AutoEnable=true >> src/main.conf
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%build
|
2017-05-26 23:27:55 +02:00
|
|
|
# because of patch4...
|
|
|
|
autoreconf -fi
|
2015-12-28 15:35:08 +01:00
|
|
|
# --enable-experimental is needed or btattach does not build (bug?)
|
2016-08-02 19:27:10 +02:00
|
|
|
%configure \
|
2017-03-01 21:50:58 +01:00
|
|
|
--disable-silent-rules \
|
2013-09-09 11:07:05 +02:00
|
|
|
--enable-pie \
|
|
|
|
--enable-library \
|
|
|
|
--enable-tools \
|
|
|
|
--enable-cups \
|
2019-06-30 14:53:42 +02:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2017-09-19 20:25:35 +02:00
|
|
|
--enable-mesh \
|
2019-06-30 14:53:42 +02:00
|
|
|
%endif
|
2017-03-02 13:30:53 +01:00
|
|
|
--enable-midi \
|
2013-09-09 11:07:05 +02:00
|
|
|
--enable-test \
|
2015-12-28 15:35:08 +01:00
|
|
|
--enable-experimental \
|
2017-03-02 13:30:53 +01:00
|
|
|
--enable-deprecated \
|
2016-06-07 17:11:33 +02:00
|
|
|
--enable-datafiles \
|
2017-07-09 12:31:17 +02:00
|
|
|
--enable-sixaxis \
|
2016-06-07 17:11:33 +02:00
|
|
|
--with-systemdsystemunitdir=%{_unitdir} \
|
|
|
|
--with-systemduserunitdir=%{_userunitdir}
|
2012-07-11 08:36:38 +02:00
|
|
|
|
2017-03-01 21:50:58 +01:00
|
|
|
make %{?_smp_mflags} all
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%install
|
2013-01-25 08:57:16 +01:00
|
|
|
%make_install
|
2017-03-01 21:50:58 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2013-01-25 08:57:16 +01:00
|
|
|
install --mode=0644 -D %{SOURCE7} %{buildroot}/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
|
2012-04-28 08:41:54 +02:00
|
|
|
# no idea why this is suddenly necessary...
|
2013-01-25 08:57:16 +01:00
|
|
|
install --mode 0755 -d %{buildroot}%{_localstatedir}/lib/bluetooth
|
2008-09-15 10:31:24 +02:00
|
|
|
|
2013-10-08 10:46:44 +02:00
|
|
|
# FIXME: Do not delete the systemd service once we support systemd user/session services
|
2016-07-31 17:46:40 +02:00
|
|
|
rm %{buildroot}%{_userunitdir}/obex.service
|
2013-10-08 10:46:44 +02:00
|
|
|
# end FIXME
|
|
|
|
|
2016-04-10 11:53:17 +02:00
|
|
|
## same as in fedora...
|
|
|
|
# "make install" fails to install gatttool, used with Bluetooth Low Energy
|
2019-02-02 10:10:23 +01:00
|
|
|
# boo#970628
|
2016-04-10 11:53:17 +02:00
|
|
|
install -m0755 attrib/gatttool %{buildroot}%{_bindir}
|
|
|
|
|
2019-02-02 10:10:23 +01:00
|
|
|
## install btgatt-client for -test package, see
|
|
|
|
## https://www.spinics.net/lists/linux-bluetooth/msg63258.html
|
|
|
|
install -m0755 tools/btgatt-client %{buildroot}%{_bindir}
|
2019-02-20 22:10:26 +01:00
|
|
|
# btmgmt can be useful
|
|
|
|
install -m0755 tools/btmgmt %{buildroot}%{_bindir}
|
2019-06-30 14:53:42 +02:00
|
|
|
# avinfo can be useful for debugging
|
|
|
|
install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir}
|
2019-02-02 10:10:23 +01:00
|
|
|
|
2017-06-08 13:26:04 +02:00
|
|
|
# for auto-enable subpackage
|
|
|
|
find . -name main.conf
|
|
|
|
install --mode 0644 -D src/main.conf %{buildroot}/%{_sysconfdir}/bluetooth/main.conf
|
|
|
|
|
2014-02-24 17:31:35 +01:00
|
|
|
# rpmlint warnings...
|
|
|
|
cd %{buildroot}%{_libdir}/bluez/test
|
|
|
|
chmod 0644 *.py *.xml *.dtd
|
|
|
|
|
2018-02-12 08:35:21 +01:00
|
|
|
# fix python shebang
|
2019-10-02 11:05:02 +02:00
|
|
|
sed -i -e '1s/env p/p/' %{buildroot}%{_libdir}/bluez/test/{example-gatt-{client,server},test-mesh}
|
|
|
|
|
|
|
|
# boo#1151518
|
|
|
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
|
mv %{buildroot}%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
|
mv %{buildroot}%{_datadir}/dbus-1/system-services/org.bluez.mesh.service %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
|
cat > %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE << EOF
|
|
|
|
The bluetooth-mesh dbus system config has been disabled due to security
|
|
|
|
concerns. See https://bugzilla.opensuse.org/show_bug.cgi?id=1151518 for
|
|
|
|
details.
|
|
|
|
|
|
|
|
If you want to use this feature anyway, copy
|
|
|
|
bluetooth-mesh.conf to %{_sysconfdir}/dbus-1/systemd.d/ and
|
|
|
|
org.bluez.mesh.service to %{_datadir}/dbus-1/system-services/,
|
|
|
|
then reboot.
|
|
|
|
EOF
|
|
|
|
touch -r %{SOURCE0} %{buildroot}%{_defaultdocdir}/%{name}/README-mesh.SUSE
|
2018-02-12 08:35:21 +01:00
|
|
|
|
2011-12-27 13:50:19 +01:00
|
|
|
%check
|
2013-08-15 09:18:33 +02:00
|
|
|
%if ! 0%{?qemu_user_space_build}
|
2017-03-03 10:36:57 +01:00
|
|
|
##make %%{?_smp_mflags} check
|
2017-05-26 23:27:55 +02:00
|
|
|
# deliberately not running parallel, as the test suite has spurious failures otherwise
|
2017-03-03 10:36:57 +01:00
|
|
|
make check V=0
|
2013-08-15 09:18:33 +02:00
|
|
|
%endif
|
2011-12-27 13:50:19 +01:00
|
|
|
|
2011-12-18 21:30:51 +01:00
|
|
|
%pre
|
2019-10-04 14:40:17 +02:00
|
|
|
%service_add_pre bluetooth.service bluetooth-mesh.service
|
2011-12-18 21:30:51 +01:00
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%post
|
2013-11-27 10:08:38 +01:00
|
|
|
%{?udev_rules_update:%udev_rules_update}
|
2013-01-21 11:30:56 +01:00
|
|
|
# todo: check if this is still obeyed / needed with systemd
|
2008-09-15 10:31:24 +02:00
|
|
|
%{fillup_only -n bluetooth}
|
2013-01-25 08:57:16 +01:00
|
|
|
# We need the bluez systemd service enabled at any time. It won't start up
|
2019-10-04 14:40:17 +02:00
|
|
|
# on its own, as it is triggered by udev in the end (bnc#796671)
|
2017-12-12 09:24:25 +01:00
|
|
|
/bin/systemctl enable bluetooth.service 2>&1 || :
|
|
|
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%preun
|
2019-10-04 14:40:17 +02:00
|
|
|
%service_del_preun bluetooth.service bluetooth-mesh.service
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%postun
|
2019-10-04 14:40:17 +02:00
|
|
|
%service_del_postun bluetooth.service bluetooth-mesh.service
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%post -n libbluetooth3 -p /sbin/ldconfig
|
|
|
|
%postun -n libbluetooth3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2019-04-09 21:28:33 +02:00
|
|
|
%doc AUTHORS ChangeLog README dbus-apis src/main.conf
|
2019-10-02 11:05:02 +02:00
|
|
|
%doc %{_defaultdocdir}/%{name}/*
|
2018-06-11 09:26:20 +02:00
|
|
|
%license COPYING
|
2014-02-24 17:31:35 +01:00
|
|
|
%{_bindir}/bluemoon
|
2015-12-28 15:35:08 +01:00
|
|
|
%{_bindir}/btattach
|
2016-04-10 11:53:17 +02:00
|
|
|
%{_bindir}/gatttool
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_bindir}/hcitool
|
|
|
|
%{_bindir}/l2ping
|
|
|
|
%{_bindir}/rfcomm
|
|
|
|
%{_bindir}/sdptool
|
|
|
|
%{_bindir}/ciptool
|
2013-09-09 11:07:05 +02:00
|
|
|
%{_bindir}/hciattach
|
|
|
|
%{_bindir}/hciconfig
|
2015-02-05 19:27:06 +01:00
|
|
|
%{_bindir}/hex2hcd
|
2014-08-21 15:09:49 +02:00
|
|
|
%{_bindir}/mpris-proxy
|
2017-07-09 12:31:17 +02:00
|
|
|
%dir %{_libdir}/bluetooth
|
|
|
|
%dir %{_libdir}/bluetooth/plugins
|
|
|
|
%{_libdir}/bluetooth/plugins/sixaxis.so
|
2017-03-01 21:50:58 +01:00
|
|
|
%dir %{_libexecdir}/bluetooth
|
|
|
|
%{_libexecdir}/bluetooth/bluetoothd
|
2019-09-20 22:37:21 +02:00
|
|
|
%{_libexecdir}/bluetooth/bluetooth-meshd
|
2017-03-01 21:50:58 +01:00
|
|
|
%{_libexecdir}/bluetooth/obexd
|
2013-09-09 11:07:05 +02:00
|
|
|
%{_bindir}/bluetoothctl
|
|
|
|
%{_bindir}/btmon
|
2019-06-30 14:53:42 +02:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2017-09-19 20:25:35 +02:00
|
|
|
%{_bindir}/meshctl
|
2019-06-30 14:53:42 +02:00
|
|
|
%endif
|
2013-09-09 11:07:05 +02:00
|
|
|
%{_bindir}/hcidump
|
|
|
|
%{_bindir}/bccmd
|
2017-03-01 21:50:58 +01:00
|
|
|
%{_libexecdir}/udev/
|
|
|
|
%{_mandir}/man1/btattach.1%{ext_man}
|
|
|
|
%{_mandir}/man1/hcidump.1%{ext_man}
|
|
|
|
%{_mandir}/man1/hciattach.1%{ext_man}
|
|
|
|
%{_mandir}/man1/hciconfig.1%{ext_man}
|
|
|
|
%{_mandir}/man8/bluetoothd.8%{ext_man}
|
|
|
|
%{_mandir}/man1/hid2hci.1%{ext_man}
|
|
|
|
%{_mandir}/man1/bccmd.1%{ext_man}
|
|
|
|
%{_mandir}/man1/l2ping.1%{ext_man}
|
|
|
|
%{_mandir}/man1/hcitool.1%{ext_man}
|
|
|
|
%{_mandir}/man1/sdptool.1%{ext_man}
|
|
|
|
%{_mandir}/man1/ciptool.1%{ext_man}
|
|
|
|
%{_mandir}/man1/rfcomm.1%{ext_man}
|
|
|
|
%{_mandir}/man1/rctest.1%{ext_man}
|
2008-09-15 10:31:24 +02:00
|
|
|
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
|
2019-10-02 11:05:02 +02:00
|
|
|
# not packaged, boo#1151518
|
|
|
|
###%%config %%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf
|
2013-01-25 08:57:16 +01:00
|
|
|
%dir %{_localstatedir}/lib/bluetooth
|
2009-01-08 17:55:14 +01:00
|
|
|
%dir %{_sysconfdir}/modprobe.d
|
2009-03-17 16:53:42 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
|
2011-12-18 21:30:51 +01:00
|
|
|
%{_unitdir}/bluetooth.service
|
2019-09-20 22:37:21 +02:00
|
|
|
%{_unitdir}/bluetooth-mesh.service
|
2012-07-11 08:36:38 +02:00
|
|
|
%{_datadir}/dbus-1/system-services/org.bluez.service
|
2013-09-09 11:07:05 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.bluez.obex.service
|
2019-10-02 11:05:02 +02:00
|
|
|
# not packaged, boo#1151518
|
|
|
|
###%%{_datadir}/dbus-1/system-services/org.bluez.mesh.service
|
2019-09-20 22:37:21 +02:00
|
|
|
%{_datadir}/zsh/site-functions/_bluetoothctl
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2013-01-25 08:57:16 +01:00
|
|
|
%{_includedir}/bluetooth
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_libdir}/libbluetooth.so
|
|
|
|
%{_libdir}/pkgconfig/bluez.pc
|
|
|
|
|
|
|
|
%files -n libbluetooth3
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libbluetooth.so.*
|
2018-06-11 09:26:20 +02:00
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
%license COPYING
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files cups
|
|
|
|
%defattr(-,root,root)
|
2017-03-01 21:50:58 +01:00
|
|
|
%dir %{_libexecdir}/cups
|
|
|
|
%dir %{_libexecdir}/cups/backend
|
|
|
|
%{_libexecdir}/cups/backend/bluetooth
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files test
|
|
|
|
%defattr(-,root,root)
|
2019-06-30 14:53:42 +02:00
|
|
|
%{_bindir}/avinfo
|
2013-09-09 11:07:05 +02:00
|
|
|
#{_bindir}/hciemu
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_bindir}/l2test
|
|
|
|
%{_bindir}/rctest
|
2019-02-02 10:10:23 +01:00
|
|
|
%{_bindir}/btgatt-client
|
2019-02-20 22:10:26 +01:00
|
|
|
%{_bindir}/btmgmt
|
2013-09-09 11:07:05 +02:00
|
|
|
%dir %{_libdir}/bluez
|
|
|
|
%{_libdir}/bluez/test
|
2008-11-17 16:42:21 +01:00
|
|
|
|
2017-06-08 13:26:04 +02:00
|
|
|
%files auto-enable-devices
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/bluetooth
|
|
|
|
%config(noreplace) %{_sysconfdir}/bluetooth/main.conf
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%changelog
|