%description plugin-headless
This package is Bluez plugin to manager headless device
+%package mesh
+Summary: contains binaries for bluetooth mesh
+Requires: %{name}-compat = %{version}-%{release}
+License: GPL-2.0+
+%description mesh
+Contains bluetooth mesh daemon
+
%prep
%setup -q
cp %{SOURCE1001} .
%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
+%files mesh
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%license COPYING
+%{_sysconfdir}/dbus-1/system.d/bluetooth-mesh.conf
+%attr(755, network_fw, network_fw)%{_libexecdir}/bluetooth/bluetooth-meshd
+%{_libpath}/systemd/system/bluetooth-mesh.service
+%{_datadir}/dbus-1/system-services/org.bluez.mesh.service
+%exclude /usr/lib/debug/*
+
%files devel
%manifest %{name}.manifest
%defattr(-, root, root)