From 3180d7e2c9ff1f42f996881abfc0ead3a9962efee3470d1d4ec1ae46a81c4c36 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 18 Feb 2011 14:42:11 +0000 Subject: [PATCH] Accepting request 62059 from home:fcrozat:branches:GNOME:Factory thanks OBS-URL: https://build.opensuse.org/request/show/62059 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-bluetooth?expand=0&rev=61 --- 61-gnome-bluetooth-rfkill.rules | 4 ++++ gnome-bluetooth.changes | 6 ++++++ gnome-bluetooth.spec | 9 ++++++--- 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 61-gnome-bluetooth-rfkill.rules 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..cb6aa58 100644 --- a/gnome-bluetooth.changes +++ b/gnome-bluetooth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 18 14:23:34 UTC 2011 - fcrozat@novell.com + +- Add 61-gnome-bluetooth-rfkill.rules: add ACL to rfkill device. + To be replaced by urfkill in the future + ------------------------------------------------------------------- Sun Feb 13 14:19:21 CET 2011 - vuntz@opensuse.org diff --git a/gnome-bluetooth.spec b/gnome-bluetooth.spec index 5a843b2..d1f9344 100644 --- a/gnome-bluetooth.spec +++ b/gnome-bluetooth.spec @@ -1,7 +1,7 @@ # -# spec file for package gnome-bluetooth (Version 2.32.0) +# spec file for package gnome-bluetooth # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,13 @@ Name: gnome-bluetooth Version: 2.32.0 -Release: 1 +Release: 2 License: GPLv2+ 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 @@ -128,6 +129,7 @@ NOCONFIGURE=1 gnome-autogen.sh %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif +install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules find %{buildroot} -type f -name "*.la" -delete -print %suse_update_desktop_file bluetooth-properties %suse_update_desktop_file bluetooth-applet @@ -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