diff --git a/61-gnome-bluetooth-rfkill.rules b/61-gnome-bluetooth-rfkill.rules new file mode 100644 index 0000000..0f6d947 --- /dev/null +++ b/61-gnome-bluetooth-rfkill.rules @@ -0,0 +1,4 @@ +# Get access to /dev/rfkill for users +# until urfkill is available +# +KERNEL=="rfkill", TAG+="udev-acl" diff --git a/gnome-bluetooth.changes b/gnome-bluetooth.changes index 4340217..0a81314 100644 --- a/gnome-bluetooth.changes +++ b/gnome-bluetooth.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Feb 18 14:23:34 UTC 2011 - fcrozat@novell.com + +- Add 61-gnome-bluetooth-rfkill.rules: add ACL to rfkill device. + This will be replaced by urfkill in the future, but in the + meantime, people need to be able to switch off devices. Fix + bnc#632256. + ------------------------------------------------------------------- Sun Feb 13 14:19:21 CET 2011 - vuntz@opensuse.org diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index b9afc52..f89b136 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -25,6 +25,7 @@ Summary: GNOME Bluetooth graphical utilities Url: http://live.gnome.org/GnomeBluetooth Group: System/GUI/GNOME Source: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2 +Source1: 61-gnome-bluetooth-rfkill.rules # PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches Patch0: lxde-support.patch # PATCH-FIX-UPSTREAM gnome-bluetooth-fix-introspection-build.patch bgo#630024 vuntz@opensuse.org -- Fix build with recent gobject-introspection @@ -133,6 +134,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %suse_update_desktop_file bluetooth-applet %find_lang %{name}2 %{?no_lang_C} %find_lang %{name} %{?no_lang_C} %{name}2.lang +install -m0644 -D %{SOURCE1} %{buildroot}/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules %fdupes %{buildroot} %clean @@ -168,6 +170,7 @@ rm -rf %{buildroot} %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf +/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules %{_bindir}/bluetooth-* %{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop %{_datadir}/applications/bluetooth-properties.desktop