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
|
|
|
#
|
2012-01-27 18:50:18 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2010-2012 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-01-27 18:50:18 +01:00
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
Name: bluez
|
2012-07-11 08:36:38 +02:00
|
|
|
BuildRequires: dbus-1-devel >= 1.4
|
2011-12-27 13:50:19 +01:00
|
|
|
BuildRequires: flex
|
2010-10-11 11:56:33 +02:00
|
|
|
BuildRequires: libcap-ng-devel
|
2011-12-18 21:30:51 +01:00
|
|
|
%if 0%{?suse_version} > 1140
|
|
|
|
BuildRequires: systemd
|
|
|
|
%{?systemd_requires}
|
|
|
|
%define has_systemd 1
|
2011-08-04 22:55:26 +02:00
|
|
|
%endif
|
2011-12-27 13:50:19 +01:00
|
|
|
BuildRequires: alsa-devel
|
2012-03-11 10:01:02 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: check-devel
|
2012-07-11 08:36:38 +02:00
|
|
|
BuildRequires: glib2-devel >= 2.28
|
2011-12-27 13:50:19 +01:00
|
|
|
BuildRequires: libsndfile-devel
|
2012-03-11 10:01:02 +01:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libusb-devel
|
2011-12-27 13:50:19 +01:00
|
|
|
BuildRequires: pkg-config
|
2011-02-21 20:17:04 +01:00
|
|
|
BuildRequires: readline-devel
|
2012-03-11 10:01:02 +01:00
|
|
|
BuildRequires: udev
|
|
|
|
BuildRequires: pkgconfig(libnl-1)
|
2008-09-16 01:32:35 +02:00
|
|
|
Url: http://www.bluez.org
|
2012-07-11 08:36:38 +02:00
|
|
|
Version: 4.101
|
2011-12-27 13:50:19 +01:00
|
|
|
Release: 0
|
2008-09-15 10:31:24 +02:00
|
|
|
Summary: Bluetooth Stack for Linux
|
2011-12-18 21:30:51 +01:00
|
|
|
License: GPL-2.0+
|
2008-09-15 10:31:24 +02:00
|
|
|
Group: Hardware/Mobile
|
2011-12-20 21:05:03 +01:00
|
|
|
Source: bluez-%{version}.tar.bz2
|
2012-07-11 08:36:38 +02:00
|
|
|
# bug in the 4.100 tarball: missing file...
|
|
|
|
Source1: org.bluez.service
|
2009-08-27 19:11:24 +02:00
|
|
|
Source2: bluez-coldplug.init
|
2008-09-24 17:21:01 +02:00
|
|
|
Source3: bluetooth.sysconfig
|
2011-06-23 04:42:33 +02:00
|
|
|
Source5: baselibs.conf
|
2008-09-24 17:21:01 +02:00
|
|
|
Source6: README.SUSE
|
2009-01-08 17:55:14 +01:00
|
|
|
Source7: bluetooth.modprobe
|
2012-07-20 17:52:19 +02:00
|
|
|
# already fixed upstream
|
|
|
|
Patch0: 0001-network-fix-network-Connect-method-parameters.patch
|
2012-07-11 08:36:38 +02:00
|
|
|
# TODO: push upstream (jeffm?) -- seife
|
|
|
|
Patch3: bluez-4.100-libsbc-make-it-installable.diff
|
|
|
|
# TODO: check for obsoletion
|
|
|
|
Patch9: 001-remove-rule-dell-mouse.patch
|
2008-09-15 10:31:24 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2009-04-18 13:52:46 +02:00
|
|
|
Requires: libbluetooth3 = %{version}
|
2009-07-10 16:41:47 +02:00
|
|
|
%if %( echo `rpm -q --queryformat %%{version} udev` ) < 144
|
|
|
|
%define OLD_UDEV 1
|
|
|
|
%else
|
|
|
|
%define OLD_UDEV 0
|
2012-10-17 13:38:01 +02:00
|
|
|
%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190
|
|
|
|
%define NEW_UDEV 1
|
|
|
|
%else
|
|
|
|
%define NEW_UDEV 0
|
|
|
|
%endif
|
2009-07-10 16:41:47 +02:00
|
|
|
%endif
|
2011-05-05 11:59:41 +02:00
|
|
|
|
2010-04-15 23:52:09 +02:00
|
|
|
# In openSUSE 11.3 there is upstream compliant CUPS 1.4
|
|
|
|
# which means to have a fixed "/usr/lib/cups/" directory
|
|
|
|
# on all platforms (see Novell/Suse Bugzilla bnc#575544):
|
|
|
|
%if 0%{?suse_version} > 1120
|
|
|
|
%define cups_lib_dir %{_prefix}/lib/cups
|
|
|
|
%else
|
|
|
|
%define cups_lib_dir %{_libdir}/cups
|
|
|
|
%endif
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Bluetooth stack for Linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
2008-09-16 01:32:35 +02:00
|
|
|
and others, see AUTHORS
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Files needed for BlueZ development
|
2011-12-27 13:50:19 +01:00
|
|
|
License: GPL-2.0+
|
2008-09-15 10:31:24 +02:00
|
|
|
Group: Development/Sources
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
2008-09-16 01:32:35 +02:00
|
|
|
and others, see AUTHORS
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package -n libbluetooth3
|
|
|
|
Summary: Bluetooth Libraries
|
2011-12-27 13:50:19 +01:00
|
|
|
License: GPL-2.0+
|
2008-09-15 10:31:24 +02:00
|
|
|
Group: Hardware/Mobile
|
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
|
|
|
|
Bluetooth protocol stack libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
2008-09-16 01:32:35 +02:00
|
|
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package cups
|
|
|
|
Summary: CUPS Driver for Bluetooth Printers
|
2011-12-27 13:50:19 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Hardware/Printing
|
2008-09-15 17:50:20 +02:00
|
|
|
Requires: libbluetooth3 = %{version}
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description cups
|
|
|
|
Contains the files required by CUPS for printing to Bluetooth-connected
|
|
|
|
printers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
2008-09-16 01:32:35 +02:00
|
|
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package test
|
|
|
|
Summary: Tools for testing of various Bluetooth-functions
|
2011-12-27 13:50:19 +01:00
|
|
|
License: GPL-2.0+ ; MIT
|
|
|
|
Group: Development/Tools/Debuggers
|
2012-03-11 10:01:02 +01:00
|
|
|
Requires: dbus-1-python
|
|
|
|
Requires: libbluetooth3 = %{version}
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-20 10:23:38 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
|
|
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
|
|
|
|
|
|
|
%package sbc
|
|
|
|
Summary: Bluetooth Low-Complexity, Sub-Band Codec Utilities
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Hardware/Mobile
|
|
|
|
Requires: libbluetooth3 = %{version}
|
|
|
|
Requires: libsbc0 = %{version}
|
|
|
|
|
|
|
|
%description sbc
|
|
|
|
The package contains utilities for using the SBC codec.
|
|
|
|
|
|
|
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
|
|
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
|
|
|
|
|
|
|
%package -n libsbc0
|
|
|
|
Summary: Bluetooth Low-Complexity, Sub-Band Codec Library
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Hardware/Mobile
|
|
|
|
Requires: libbluetooth3 = %{version}
|
|
|
|
|
|
|
|
%description -n libsbc0
|
|
|
|
The package contains libraries for using the SBC codec.
|
|
|
|
|
|
|
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
2008-09-16 01:32:35 +02:00
|
|
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%package alsa
|
|
|
|
Summary: Bluetooth Sound Support
|
2011-12-27 13:50:19 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Multimedia/Sound/Utilities
|
2008-09-15 17:50:20 +02:00
|
|
|
Requires: libbluetooth3 = %{version}
|
2008-09-24 15:04:20 +02:00
|
|
|
Provides: bluez-audio:%_libdir/alsa-lib/libasound_module_pcm_bluetooth.so
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%description alsa
|
|
|
|
The package contains libraries for using bluetooth audio services.
|
|
|
|
|
|
|
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
2008-09-16 01:32:35 +02:00
|
|
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
2008-09-15 10:31:24 +02:00
|
|
|
|
2008-11-17 16:42:21 +01:00
|
|
|
%package compat
|
2009-01-08 17:55:14 +01:00
|
|
|
Summary: Bluetooth Stack for Linux
|
2011-12-27 13:50:19 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Hardware/Mobile
|
2008-11-17 16:42:21 +01:00
|
|
|
Requires: libbluetooth3 = %{version}
|
|
|
|
|
|
|
|
%description compat
|
|
|
|
The Bluetooth stack for Linux. This package contains older and partly
|
|
|
|
deprecated binaries that might still be needed for compatibility.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Marcel Holtmann <marcel@holtmann.org>
|
|
|
|
and others, see AUTHORS
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-07-20 17:52:19 +02:00
|
|
|
%patch0 -p1
|
2012-04-20 10:23:38 +02:00
|
|
|
%patch3 -p1
|
2011-05-05 11:59:41 +02:00
|
|
|
# disabled the patch because it does no longer cleanly apply and the rule has
|
|
|
|
# changed significantly anyway. I'll keep it until i get confirmation in bugzilla.
|
2012-07-11 08:36:38 +02:00
|
|
|
##%%patch9 -p1
|
2008-09-24 17:21:01 +02:00
|
|
|
cp %{S:6} .
|
2008-11-17 16:42:21 +01:00
|
|
|
mkdir dbus-apis
|
|
|
|
cp -a doc/*.txt dbus-apis/
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%build
|
2011-12-20 21:05:03 +01:00
|
|
|
autoreconf -fiv
|
2012-07-11 08:36:38 +02:00
|
|
|
%configure --with-pic \
|
|
|
|
%if 0%{?has_systemd}
|
|
|
|
--with-systemdunitdir=%{_unitdir} \
|
|
|
|
%endif
|
2008-09-15 10:31:24 +02:00
|
|
|
--libexecdir=/lib \
|
|
|
|
--enable-gstreamer \
|
|
|
|
--enable-alsa \
|
|
|
|
--enable-usb \
|
|
|
|
--enable-tools \
|
|
|
|
--enable-bccmd \
|
|
|
|
--enable-hid2hci \
|
|
|
|
--enable-dfutool \
|
|
|
|
--enable-cups \
|
|
|
|
--enable-test \
|
2008-11-17 16:42:21 +01:00
|
|
|
--enable-pand \
|
|
|
|
--enable-dund \
|
2011-08-04 22:55:26 +02:00
|
|
|
--enable-wiimote \
|
|
|
|
--enable-datafiles \
|
2012-07-11 08:36:38 +02:00
|
|
|
--enable-pcmcia
|
|
|
|
|
2010-11-21 23:45:17 +01:00
|
|
|
make %{?_smp_mflags} all V=1
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2008-09-24 17:21:01 +02:00
|
|
|
# bluez-test
|
|
|
|
cd test
|
2008-11-17 16:42:21 +01:00
|
|
|
install --mode=0755 \
|
2009-06-09 16:57:32 +02:00
|
|
|
simple-agent \
|
|
|
|
simple-service \
|
2008-11-17 16:42:21 +01:00
|
|
|
list-devices \
|
2009-12-29 19:03:33 +01:00
|
|
|
test-audio \
|
2008-11-17 16:42:21 +01:00
|
|
|
test-adapter \
|
|
|
|
test-device \
|
|
|
|
test-discovery \
|
2009-12-29 19:03:33 +01:00
|
|
|
test-input \
|
2008-11-17 16:42:21 +01:00
|
|
|
test-manager \
|
2009-06-09 16:57:32 +02:00
|
|
|
test-network \
|
2008-11-17 16:42:21 +01:00
|
|
|
test-serial \
|
|
|
|
test-service \
|
|
|
|
test-telephony \
|
|
|
|
$RPM_BUILD_ROOT/%{_bindir}/
|
2008-09-24 17:21:01 +02:00
|
|
|
cd ..
|
2012-04-20 10:23:38 +02:00
|
|
|
rm -v $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2008-10-14 18:27:04 +02:00
|
|
|
rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
|
2008-09-24 17:21:01 +02:00
|
|
|
rm -v $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la
|
2009-08-27 19:11:24 +02:00
|
|
|
install --mode=0755 -D %{S:2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/bluez-coldplug
|
2008-09-24 17:21:01 +02:00
|
|
|
install --mode=0644 -D %{S:3} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bluetooth
|
2009-03-17 16:53:42 +01:00
|
|
|
install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
|
2010-04-15 23:52:09 +02:00
|
|
|
# In openSUSE 11.3 there is upstream compliant CUPS 1.4
|
|
|
|
# which means to have a fixed "/usr/lib/cups/" directory
|
|
|
|
# on all platforms (see Novell/Suse Bugzilla bnc#575544):
|
|
|
|
if ! test -e %{buildroot}%{cups_lib_dir}/backend/bluetooth
|
|
|
|
then if test -e %{buildroot}%{_libdir}/cups/backend/bluetooth
|
|
|
|
then mkdir -p %{buildroot}%{cups_lib_dir}/backend
|
|
|
|
mv %{buildroot}%{_libdir}/cups/backend/bluetooth %{buildroot}%{cups_lib_dir}/backend/bluetooth
|
|
|
|
fi
|
|
|
|
fi
|
2012-04-28 08:41:54 +02:00
|
|
|
# no idea why this is suddenly necessary...
|
|
|
|
install --mode 0755 -d $RPM_BUILD_ROOT/var/lib/bluetooth
|
2008-09-15 10:31:24 +02:00
|
|
|
|
2011-12-27 13:50:19 +01:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2011-12-18 21:30:51 +01:00
|
|
|
%pre
|
|
|
|
%if 0%{?has_systemd}
|
|
|
|
%service_add_pre bluetooth.service
|
|
|
|
%endif
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%post
|
|
|
|
%{fillup_only -n bluetooth}
|
2009-08-27 19:11:24 +02:00
|
|
|
%{insserv_force_if_yast bluez-coldplug}
|
2011-12-18 21:30:51 +01:00
|
|
|
%if 0%{?has_systemd}
|
|
|
|
%service_add_post bluetooth.service
|
|
|
|
%endif
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%preun
|
2009-08-27 19:11:24 +02:00
|
|
|
%stop_on_removal bluez-coldplug
|
2011-12-18 21:30:51 +01:00
|
|
|
%if 0%{?has_systemd}
|
|
|
|
%service_del_preun bluetooth.service
|
|
|
|
%endif
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%{insserv_cleanup}
|
2011-12-18 21:30:51 +01:00
|
|
|
%if 0%{?has_systemd}
|
|
|
|
%service_del_postun bluetooth.service
|
|
|
|
%endif
|
2008-09-15 10:31:24 +02:00
|
|
|
|
2012-04-20 10:23:38 +02:00
|
|
|
%post -n libsbc0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libsbc0 -p /sbin/ldconfig
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%post -n libbluetooth3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libbluetooth3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2008-11-17 16:42:21 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog README README.SUSE dbus-apis
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_bindir}/hcitool
|
|
|
|
%{_bindir}/l2ping
|
|
|
|
%{_bindir}/rfcomm
|
|
|
|
%{_bindir}/sdptool
|
|
|
|
%{_bindir}/ciptool
|
|
|
|
%{_bindir}/dfutool
|
2010-09-03 16:42:42 +02:00
|
|
|
%{_bindir}/gatttool
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_sbindir}/hciattach
|
|
|
|
%{_sbindir}/hciconfig
|
|
|
|
%{_sbindir}/bluetoothd
|
2011-05-05 11:59:41 +02:00
|
|
|
#%{_sbindir}/hid2hci
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_sbindir}/bccmd
|
2012-10-17 13:38:01 +02:00
|
|
|
%if 0%{NEW_UDEV}
|
|
|
|
%dir /usr/lib/udev
|
|
|
|
/usr/lib/udev/*
|
|
|
|
%else
|
2008-09-15 10:31:24 +02:00
|
|
|
%dir /lib/udev
|
|
|
|
/lib/udev/*
|
2012-10-17 13:38:01 +02:00
|
|
|
%endif
|
2009-07-10 16:41:47 +02:00
|
|
|
%if 0%{OLD_UDEV}
|
|
|
|
%dir %{_sysconfdir}/udev/rules.d
|
|
|
|
%config %{_sysconfdir}/udev/rules.d/*
|
|
|
|
%endif
|
2009-08-27 19:11:24 +02:00
|
|
|
%{_sysconfdir}/init.d/bluez-coldplug
|
2008-09-15 10:31:24 +02:00
|
|
|
%doc %{_mandir}/man8/hciattach.8.gz
|
|
|
|
%doc %{_mandir}/man8/hciconfig.8.gz
|
|
|
|
%doc %{_mandir}/man8/bluetoothd.8.gz
|
|
|
|
%doc %{_mandir}/man8/hid2hci.8.gz
|
|
|
|
%doc %{_mandir}/man8/bccmd.8.gz
|
2009-07-10 16:41:47 +02:00
|
|
|
%doc %{_mandir}/man8/l2ping.8.gz
|
2008-09-15 10:31:24 +02:00
|
|
|
%doc %{_mandir}/man1/hcitool.1.gz
|
|
|
|
%doc %{_mandir}/man1/sdptool.1.gz
|
|
|
|
%doc %{_mandir}/man1/ciptool.1.gz
|
|
|
|
%doc %{_mandir}/man1/rfcomm.1.gz
|
|
|
|
%doc %{_mandir}/man1/dfutool.1.gz
|
2009-07-10 16:41:47 +02:00
|
|
|
%doc %{_mandir}/man1/hciemu.1.gz
|
|
|
|
%doc %{_mandir}/man1/rctest.1.gz
|
2008-09-15 10:31:24 +02:00
|
|
|
%dir %{_sysconfdir}/bluetooth
|
|
|
|
%config(noreplace) %{_sysconfdir}/bluetooth/main.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/bluetooth/rfcomm.conf
|
|
|
|
/var/adm/fillup-templates/sysconfig.bluetooth
|
|
|
|
%config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf
|
|
|
|
%dir /var/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
|
|
|
%if 0%{?has_systemd}
|
|
|
|
%{_unitdir}/bluetooth.service
|
2011-08-04 22:55:26 +02:00
|
|
|
%endif
|
2012-07-11 08:36:38 +02:00
|
|
|
%{_datadir}/dbus-1/system-services/org.bluez.service
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/usr/include/bluetooth
|
|
|
|
%{_libdir}/libbluetooth.so
|
|
|
|
%{_libdir}/pkgconfig/bluez.pc
|
2012-04-20 10:23:38 +02:00
|
|
|
%{_libdir}/libsbc.so
|
|
|
|
%{_libdir}/pkgconfig/libsbc.pc
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files -n libbluetooth3
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/libbluetooth.so.*
|
2012-01-27 18:50:18 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog README
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files cups
|
|
|
|
%defattr(-,root,root)
|
2010-04-15 23:52:09 +02:00
|
|
|
%dir %{cups_lib_dir}
|
|
|
|
%dir %{cups_lib_dir}/backend
|
|
|
|
%{cups_lib_dir}/backend/bluetooth
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files test
|
|
|
|
%defattr(-,root,root)
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_sbindir}/hciemu
|
2008-09-15 10:31:24 +02:00
|
|
|
%{_bindir}/l2test
|
|
|
|
%{_bindir}/rctest
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_bindir}/list-devices
|
2009-06-09 16:57:32 +02:00
|
|
|
%{_bindir}/simple-agent
|
|
|
|
%{_bindir}/simple-service
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_bindir}/test-adapter
|
2009-12-29 19:03:33 +01:00
|
|
|
%{_bindir}/test-audio
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_bindir}/test-device
|
|
|
|
%{_bindir}/test-discovery
|
2009-12-29 19:03:33 +01:00
|
|
|
%{_bindir}/test-input
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_bindir}/test-manager
|
2009-06-09 16:57:32 +02:00
|
|
|
%{_bindir}/test-network
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_bindir}/test-serial
|
2008-11-17 16:42:21 +01:00
|
|
|
%{_bindir}/test-service
|
2008-10-07 11:07:33 +02:00
|
|
|
%{_bindir}/test-telephony
|
2008-09-15 10:31:24 +02:00
|
|
|
|
|
|
|
%files alsa
|
|
|
|
%defattr(-,root,root)
|
2010-09-03 16:42:42 +02:00
|
|
|
%dir /usr/share/alsa
|
|
|
|
%config /usr/share/alsa/bluetooth.conf
|
2008-09-24 17:21:01 +02:00
|
|
|
%{_libdir}/alsa-lib/*.so
|
2008-09-15 10:31:24 +02:00
|
|
|
|
2012-04-20 10:23:38 +02:00
|
|
|
%files sbc
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/sbcdec
|
|
|
|
%{_bindir}/sbcenc
|
|
|
|
%{_bindir}/sbcinfo
|
|
|
|
|
|
|
|
%files -n libsbc0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsbc.so.*
|
|
|
|
|
2008-11-17 16:42:21 +01:00
|
|
|
%files compat
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/dund
|
|
|
|
%{_bindir}/pand
|
|
|
|
%doc %{_mandir}/man1/pand.1.gz
|
|
|
|
%doc %{_mandir}/man1/dund.1.gz
|
|
|
|
|
2008-09-15 10:31:24 +02:00
|
|
|
%changelog
|