packages: gnome-bluetooth/gnome-bluetooth.spec, gnome-bluetooth/61-gnome-bl...
megabajt
megabajt at pld-linux.org
Tue May 3 00:14:11 CEST 2011
Author: megabajt Date: Mon May 2 22:14:11 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- provide udev rules to make /dev/rfkill usable (from Fedora)
- release 2
---- Files affected:
packages/gnome-bluetooth:
gnome-bluetooth.spec (1.87 -> 1.88) , 61-gnome-bluetooth-rfkill.rules (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/gnome-bluetooth/gnome-bluetooth.spec
diff -u packages/gnome-bluetooth/gnome-bluetooth.spec:1.87 packages/gnome-bluetooth/gnome-bluetooth.spec:1.88
--- packages/gnome-bluetooth/gnome-bluetooth.spec:1.87 Tue Apr 5 23:45:01 2011
+++ packages/gnome-bluetooth/gnome-bluetooth.spec Tue May 3 00:14:06 2011
@@ -3,11 +3,12 @@
Summary(pl.UTF-8): Podsystem GNOME Bluetooth
Name: gnome-bluetooth
Version: 3.0.0
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/3.0/%{name}-%{version}.tar.bz2
# Source0-md5: 390f878091a0f21cf2578f3cbc36dbff
+Source1: 61-gnome-bluetooth-rfkill.rules
URL: http://live.gnome.org/GnomeBluetooth
BuildRequires: autoconf >= 2.52
BuildRequires: automake >= 1:1.9
@@ -38,6 +39,7 @@
Requires: dbus-glib
Requires: dconf
Requires: hicolor-icon-theme
+Requires: udev-acl
Obsoletes: bluez-gnome < 1.9
Obsoletes: bluez-pin
Obsoletes: python-gnome-bluetooth
@@ -139,10 +141,13 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/udev/rules.d
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d
+
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnome-bluetooth.la \
$RPM_BUILD_ROOT%{_libdir}/gnome-bluetooth/plugins/*.la \
$RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/libbluetooth.la \
@@ -189,6 +194,7 @@
%{_mandir}/man1/bluetooth-applet.1*
%{_mandir}/man1/bluetooth-sendto.1*
%{_mandir}/man1/bluetooth-wizard.1*
+/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
%files libs
%defattr(644,root,root,755)
@@ -223,6 +229,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.88 2011/05/02 22:14:06 megabajt
+- provide udev rules to make /dev/rfkill usable (from Fedora)
+- release 2
+
Revision 1.87 2011/04/05 21:45:01 megabajt
- updated to 3.0.0; merged from DEVEL
================================================================
Index: packages/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules
diff -u /dev/null packages/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules:1.1
--- /dev/null Tue May 3 00:14:11 2011
+++ packages/gnome-bluetooth/61-gnome-bluetooth-rfkill.rules Tue May 3 00:14:06 2011
@@ -0,0 +1,5 @@
+# Get access to /dev/rfkill for users
+ENV{ACL_MANAGE}=="0", GOTO="gnome_bluetooth_end"
+ACTION!="add|change", GOTO="gnome_bluetooth_end"
+KERNEL=="rfkill", TAG+="udev-acl"
+LABEL="gnome_bluetooth_end"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-bluetooth/gnome-bluetooth.spec?r1=1.87&r2=1.88&f=u
More information about the pld-cvs-commit
mailing list