diff --git a/bluez-qt.spec b/bluez-qt.spec index 0b8194f..f06a08a 100644 --- a/bluez-qt.spec +++ b/bluez-qt.spec @@ -58,6 +58,14 @@ Supplements: packageand(lib%{_libname}%{sonum}:libQtQuick5) Async Bluez wrapper library. QML imports. +%package udev +Summary: bluez-qt integration with udev +Group: System/Base + +%description udev +Async Bluez wrapper library. +Udev rules. + %package devel Summary: Async Bluez wrapper library - development files Group: Development/Libraries/C and C++ @@ -71,7 +79,7 @@ Development files for QBluez Async Bluez wrapper library. %setup -q -n %{rname}-%{version} %build - %cmake_kf5 -d build + %cmake_kf5 -d build -- -DUDEV_RULES_INSTALL_DIR="%_libexecdir/udev" %make_jobs %install @@ -92,6 +100,10 @@ Development files for QBluez Async Bluez wrapper library. %doc README* COPYING.LIB %{_kf5_qmldir}/ +%files udev +%defattr(-,root,root) +%{_libexecdir}/udev/ + %files devel %defattr(-,root,root) %{_kf5_libdir}/cmake/%{_libname}/