summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2020-06-25 10:10:21 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2020-07-14 13:08:03 +0900
commitf8a7dd5707477ca3164bc7b7672fe021ec4d227d (patch)
tree0b2c30c53d3a40df3a3d9b1c6875f08d2b2e086b
parent2ae88318dda408df00da95133ca0e907cbbdb72d (diff)
downloadbluez-accepted/tizen_5.5_unified_wearable_hotfix.tar.gz
bluez-accepted/tizen_5.5_unified_wearable_hotfix.tar.bz2
bluez-accepted/tizen_5.5_unified_wearable_hotfix.zip
Bluez testing tools only use libbluetooth.so. So we don't need to provide it as the developement package. Change-Id: I47960e8eb3c4bb8137ea4561458714d47ce6302f Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r--packaging/bluez.spec41
1 files changed, 4 insertions, 37 deletions
diff --git a/packaging/bluez.spec b/packaging/bluez.spec
index fbc4b144..4ed935cf 100644
--- a/packaging/bluez.spec
+++ b/packaging/bluez.spec
@@ -9,7 +9,7 @@
Name: bluez
Summary: Bluetooth Stack for Linux
Version: 5.50
-Release: 1
+Release: 2
Group: Network & Connectivity/Bluetooth
License: GPL-2.0+ and LGPL-2.1+
URL: http://www.bluez.org/
@@ -60,16 +60,6 @@ Recommends: %{name}-profile_common = %{version}-%{release}
%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}
@@ -84,14 +74,6 @@ Conflicts: %{name}-extension-bredr = %{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
@@ -105,7 +87,6 @@ Summary: Tools for testing of various Bluetooth-functions
License: GPL-2.0+
Group: Development/Tools
Requires: dbus-python
-Requires: libbluetooth = %{version}
Requires: python-gobject
%description test
@@ -408,10 +389,6 @@ ln -sf ../bluetooth.service %{buildroot}%{_libpath}/systemd/system/multi-user.ta
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
@@ -449,6 +426,8 @@ popd
%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
@@ -474,19 +453,6 @@ popd
%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.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,-)
@@ -518,6 +484,7 @@ popd
%{_bindir}/hex2hcd
#%{_bindir}/btattach
%exclude /usr/lib/debug/*
+%{_libdir}/libbluetooth.so*
%docs_package