SHA256
1
0
forked from pool/bluez
OBS User unknown
2009-06-02 10:25:19 +00:00
committed by Git OBS Bridge
parent 3a350cce43
commit 9581df435f
9 changed files with 76 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package bluez (Version 4.39)
# spec file for package bluez (Version 4.40)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -23,7 +23,7 @@ BuildRequires: dbus-1-devel flex
BuildRequires: glib2-devel libnl-devel libusb-devel
BuildRequires: alsa-devel libsndfile-devel
Url: http://www.bluez.org
Version: 4.39
Version: 4.40
Release: 1
Summary: Bluetooth Stack for Linux
Group: Hardware/Mobile
@@ -38,7 +38,7 @@ Source4: bluetooth.sh
Source5: org.bluez.service
Source6: README.SUSE
Source7: bluetooth.modprobe
Patch1: bluez-4.20-bluetooth.rules.diff
Source8: bluetooth.rules
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: bluez-utils = 3.36
Obsoletes: bluez-utils <= 3.36
@@ -162,7 +162,6 @@ Authors:
%prep
%setup -q
%patch1 -p0
cp %{S:1} scripts/
cp %{S:6} .
%{?suse_update_config:%{suse_update_config -f . }}
@@ -221,13 +220,15 @@ cd ..
rm -v $RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la $RPM_BUILD_ROOT/%{_libdir}/libbluetooth.la
rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
rm -v $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d
mv -v $RPM_BUILD_ROOT/%{_sysconfdir}/udev/bluetooth.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/40-bluetooth.rules
install --mode=0755 -D %{S:2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/bluetooth-coldplug
install --mode=0644 -D %{S:3} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bluetooth
install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/lib/udev/bluetooth.sh
install --mode=0644 -D %{S:5} $RPM_BUILD_ROOT/usr/share/dbus-1/system-services/org.bluez.service
install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf
install --mode=0644 -D %{S:8} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/40-bluetooth.rules
#mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d
mv -v $RPM_BUILD_ROOT/etc/udev/bluetooth-hid2hci.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/41-bluetooth-hid2hci.rules
mv -v $RPM_BUILD_ROOT/etc/udev/bluetooth-serial.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/42-bluetooth-serial.rules
ln -s ../../etc/init.d/bluetooth $RPM_BUILD_ROOT/usr/sbin/rcbluetooth
%clean
@@ -354,6 +355,18 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man1/dund.1.gz
%changelog
* Wed May 20 2009 seife@suse.de
- update to bluez-4.40:
- Add telephony driver for oFono telephony stack.
- Add support for Dell specific HID proxy switching.
- Add support for running hid2hci from udev.
- Add mapping for AVRCP Play and Pause to dedicated key codes.
- Fix AVRCP keycodes to better match existing X keymap support.
- Fix various quoting issues within telephony support.
- Fix memory allocation issue when generating PDUs for SDP.
- Fix race condition on device removal.
- Fix non-cancelable issue with CreateDevice method.
- Fix non-working CancelDiscovery method call.
* Mon May 11 2009 seife@suse.de
- update to bluez-4.39:
- Add workaround for dealing with unknown inquiry complete.