- Add udev rules to access /dev/rfkill (#514798)
This commit is contained in:
parent
1c609b4259
commit
c91d47dc8a
3
61-gnome-bluetooth-rfkill.rules
Normal file
3
61-gnome-bluetooth-rfkill.rules
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Get access to /dev/rfkill for users
|
||||||
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
|
||||||
|
KERNEL=="rfkill", ENV{ACL_MANAGE}="1"
|
@ -1,12 +1,13 @@
|
|||||||
Name: gnome-bluetooth
|
Name: gnome-bluetooth
|
||||||
Version: 2.27.9
|
Version: 2.27.9
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Bluetooth graphical utilities
|
Summary: Bluetooth graphical utilities
|
||||||
|
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://live.gnome.org/GnomeBluetooth
|
URL: http://live.gnome.org/GnomeBluetooth
|
||||||
Source0: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
|
Source0: http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
|
||||||
|
Source1: 61-gnome-bluetooth-rfkill.rules
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
Patch0: 0001-Bug-590874-crash-in-Bluetooth-adding-a-bluetoot.patch
|
Patch0: 0001-Bug-590874-crash-in-Bluetooth-adding-a-bluetoot.patch
|
||||||
@ -87,6 +88,8 @@ desktop-file-install --vendor="" \
|
|||||||
--dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ \
|
--dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/ \
|
||||||
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
|
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
|
||||||
|
|
||||||
|
install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
|
||||||
|
|
||||||
# gnome-bluetooth2 is the name for the gettext domain,
|
# gnome-bluetooth2 is the name for the gettext domain,
|
||||||
# gnome-bluetooth is the name in the docs
|
# gnome-bluetooth is the name in the docs
|
||||||
%find_lang gnome-bluetooth2
|
%find_lang gnome-bluetooth2
|
||||||
@ -177,6 +180,7 @@ fi
|
|||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%{_datadir}/gnome-bluetooth/
|
%{_datadir}/gnome-bluetooth/
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -193,6 +197,9 @@ fi
|
|||||||
%{_datadir}/gtk-doc/html/gnome-bluetooth/
|
%{_datadir}/gtk-doc/html/gnome-bluetooth/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 2.27.9-4
|
||||||
|
- Add udev rules to access /dev/rfkill (#514798)
|
||||||
|
|
||||||
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 2.27.9-3
|
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 2.27.9-3
|
||||||
- Don't crash when exiting the wizard
|
- Don't crash when exiting the wizard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user