From: Arkadiusz Miśkiewicz Date: Fri, 28 Apr 2006 18:47:00 +0000 (+0000) Subject: - rel 3 X-Git-Tag: auto/th/bluez-utils-2_25-4~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbluez-utils.git;a=commitdiff_plain;h=95e83f9eeae60f6f13bd762640ebb50d51dca8c1 - rel 3 Changed files: bluez-utils.spec -> 1.37 --- diff --git a/bluez-utils.spec b/bluez-utils.spec index 862e191..fc65b09 100644 --- a/bluez-utils.spec +++ b/bluez-utils.spec @@ -1,10 +1,8 @@ -# TODO: -# - check init script, add support for rfcomm bind on startup Summary: Bluetooth utilities Summary(pl): Narzêdzia Bluetooth Name: bluez-utils Version: 2.25 -Release: 2 +Release: 3 Epoch: 0 License: GPL v2 Group: Applications/System @@ -12,6 +10,8 @@ Source0: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz # Source0-md5: ae3729ab5592be06ed01b973d4b3e9fe Source1: %{name}.init Source2: %{name}.sysconfig +Source3: %{name}-udev.rules +Source4: %{name}-udev.script Patch0: %{name}-etc_dir.patch URL: http://bluez.sourceforge.net/ BuildRequires: autoconf @@ -102,6 +102,7 @@ Skrypt init dla podsystemu Bluetooth. %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} +install -d $RPM_BUILD_ROOT{/etc/udev/rules.d/70-bluetooth.rules,/lib/udev/bluetooth.sh} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ @@ -109,6 +110,8 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bluetooth install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/bluetooth +install %{SOURCE3} $RPM_BUILD_ROOT/etc/udev/rules.d/70-bluetooth.rules +install %{SOURCE4} $RPM_BUILD_ROOT/lib/udev/bluetooth.sh %clean rm -rf $RPM_BUILD_ROOT @@ -144,3 +147,5 @@ fi %files init %defattr(644,root,root,755) %attr(754,root,root) /etc/rc.d/init.d/bluetooth +%attr(755,root,root) /lib/udev/bluetooth.sh +%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/70-bluetooth.rules