Name: bluez
Summary: Bluetooth Stack for Linux
Version: 5.52
-Release: 1
+Release: 2
Group: Network & Connectivity/Bluetooth
License: GPL-2.0+ and LGPL-2.1+
URL: http://www.bluez.org/
%description
The Bluetooth stack for Linux.
-%package devel
-Summary: Files needed for BlueZ development
-License: GPL-2.0+
-Group: Development/Libraries
-Requires: libbluetooth = %{version}
-
-%description devel
-Files needed to develop applications for the BlueZ Bluetooth protocol
-stack.
-
%package extension-bredr
Summary: Bluez extension for BREDR functionality
Requires: %{name} = %{version}-%{release}
%description extension-le
Bluez extension for LE functionality
-%package -n libbluetooth
-Summary: Bluetooth Libraries
-License: GPL-2.0+
-Group: Network & Connectivity/Bluetooth
-
-%description -n libbluetooth
-Bluetooth protocol stack libraries.
-
%package -n obexd
Summary: OBEX Server A basic OBEX server implementation
Group: Network & Connectivity/Bluetooth
License: GPL-2.0+
Group: Development/Tools
Requires: dbus-python
-Requires: libbluetooth = %{version}
Requires: python-gobject
%description test
install -D -m 0644 obexd/src/obex.service %{buildroot}%{_libpath}/systemd/system/
-%post -n libbluetooth -p /sbin/ldconfig
-
-%postun -n libbluetooth -p /sbin/ldconfig
-
%post -n bluez-extension-bredr
pushd %{_libexecdir}/bluetooth
for FILE in bluetoothd.bredr; do mv "$FILE" "${FILE%.bredr}"; done
%attr(755, network_fw, network_fw)%{_libexecdir}/bluetooth/bluetoothd
%exclude %{_libexecdir}/bluetooth/bluetoothd.bredr
%exclude %{_libexecdir}/bluetooth/bluetoothd.le
+%exclude %{_includedir}/bluetooth/*
+%exclude %{_libdir}/pkgconfig/bluez.pc
%{_bindir}/bccmd
#%{_sbindir}/hid2hci
%dir /usr/lib/udev
%exclude /usr/lib/debug/*
%{_sysconfdir}/bluetooth/mesh-main.conf
-%files devel
-%manifest %{name}.manifest
-%defattr(-, root, root)
-%{_includedir}/bluetooth/*
-%{_libdir}/libbluetooth.so
-%{_libdir}/pkgconfig/bluez.pc
-
-%files -n libbluetooth
-%manifest %{name}.manifest
-%defattr(-, root, root)
-%{_libdir}/libbluetooth.so.*
-%license COPYING
-
%files -n obexd
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_bindir}/hex2hcd
#%{_bindir}/btattach
%exclude /usr/lib/debug/*
+%{_libdir}/libbluetooth.so*
%docs_package