Accepting request 98275 from Base:System

update to bluez-4.97

OBS-URL: https://build.opensuse.org/request/show/98275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bluez?expand=0&rev=92
This commit is contained in:
Stephan Kulow 2011-12-31 16:19:06 +00:00 committed by Git OBS Bridge
commit 85283927d6
6 changed files with 130 additions and 55 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b34aa28c831d77e92d348951653bc58347f4b6177e2f89cd5ffb8ffc37142ae
size 952234

3
bluez-4.97.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c24a13a907793484784f4c7b50c76b23a7fdf1a8f7f469eb5b61007364fd423f
size 985031

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Dec 27 11:01:18 UTC 2011 - seife+obs@b1-systems.com
- update to bluez-4.97:
- Update support for proximity profile.
- Fix issue with SBC audio decoding quality.
- Fix multiple issues with HFP support.
- Fix multiple issues with A2DP support.
- Fix multiple issues with AVDTP support.
- Fix multiple issues with AVRCP support.
- Add support for AVRCP meta-data transfer.
- Add support for Bluetooth based thermometers.
- add %check section to .spec - there is now a unittest
-------------------------------------------------------------------
Tue Dec 20 19:46:07 UTC 2011 - crrodriguez@opensuse.org
- kernel.org currently lacks of bluez tarballs
- Fix build failures due to lack of autotools
-------------------------------------------------------------------
Fri Dec 16 03:22:40 UTC 2011 - crrodriguez@opensuse.org
- Fix systemd units installation.
-------------------------------------------------------------------
Wed Nov 16 11:29:07 UTC 2011 - seife+obs@b1-systems.com
- require pkgconfig(libnl-1) instead of libnl-1_1-devel
-------------------------------------------------------------------
Fri Sep 16 12:02:37 UTC 2011 - jengelh@medozas.de

View File

@ -15,11 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bluez-gstreamer
BuildRequires: dbus-1-devel flex
BuildRequires: dbus-1-devel
BuildRequires: flex
%if 0%{?suse_version} > 1120
BuildRequires: libcap-ng-devel
%define with_libcapng --enable-capng
@ -27,21 +25,25 @@ BuildRequires: libcap-ng-devel
%if 0%{?suse_version} > 1130
BuildRequires: pkgconfig(systemd)
%endif
BuildRequires: pkgconfig(libnl-1)
BuildRequires: glib2-devel >= 2.16
BuildRequires: libnl-1_1-devel libusb-devel
BuildRequires: alsa-devel libsndfile-devel pkg-config udev
BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel
BuildRequires: libusb-devel
BuildRequires: alsa-devel
BuildRequires: libsndfile-devel
BuildRequires: pkg-config
BuildRequires: check-devel
BuildRequires: udev
BuildRequires: gstreamer-0_10-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: readline-devel
BuildRequires: libudev-devel
Url: http://www.bluez.org
Version: 4.96
Release: 1
Version: 4.97
Release: 0
Summary: Bluetooth Sound Support
Group: Productivity/Multimedia/Sound/Utilities
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Utilities
AutoReqProv: on
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2
Source: bluez-%{version}.tar.bz2
Source3: bluetooth.sysconfig
Source4: bluetooth.sh
Source6: README.SUSE
@ -71,17 +73,11 @@ Authors:
%setup -n bluez-%{version} -q
%patch1 -p1
cp %{S:6} .
%{?suse_update_config:%{suse_update_config -f . }}
%build
# autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS -g" \
./configure --prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \
%configure --with-pic \
--libdir=%{_libdir} \
--libexecdir=/lib \
--localstatedir=/var \
--enable-gstreamer \
--enable-alsa \
--enable-usb \

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Tue Dec 27 11:01:18 UTC 2011 - seife+obs@b1-systems.com
- update to bluez-4.97:
- Update support for proximity profile.
- Fix issue with SBC audio decoding quality.
- Fix multiple issues with HFP support.
- Fix multiple issues with A2DP support.
- Fix multiple issues with AVDTP support.
- Fix multiple issues with AVRCP support.
- Add support for AVRCP meta-data transfer.
- Add support for Bluetooth based thermometers.
- add %check section to .spec - there is now a unittest
-------------------------------------------------------------------
Tue Dec 20 19:46:07 UTC 2011 - crrodriguez@opensuse.org
- kernel.org currently lacks of bluez tarballs
- Fix build failures due to lack of autotools
-------------------------------------------------------------------
Fri Dec 16 03:22:40 UTC 2011 - crrodriguez@opensuse.org
- Fix systemd units installation.
-------------------------------------------------------------------
Wed Nov 16 11:29:07 UTC 2011 - seife+obs@b1-systems.com
- require pkgconfig(libnl-1) instead of libnl-1_1-devel
-------------------------------------------------------------------
Fri Sep 16 12:02:37 UTC 2011 - jengelh@medozas.de

View File

@ -16,32 +16,37 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bluez
BuildRequires: dbus-1-devel flex
BuildRequires: dbus-1-devel
BuildRequires: flex
%if 0%{?suse_version} > 1120
BuildRequires: libcap-ng-devel
%define with_libcapng --enable-capng
%endif
%if 0%{?suse_version} > 1130
BuildRequires: pkgconfig(systemd)
%if 0%{?suse_version} > 1140
BuildRequires: systemd
%{?systemd_requires}
%define has_systemd 1
%endif
BuildRequires: pkgconfig(libnl-1)
BuildRequires: glib2-devel >= 2.16
BuildRequires: libnl-1_1-devel libusb-devel
BuildRequires: alsa-devel libsndfile-devel pkg-config udev
BuildRequires: libusb-devel
BuildRequires: alsa-devel
BuildRequires: libsndfile-devel
BuildRequires: pkg-config
BuildRequires: check-devel
BuildRequires: udev
BuildRequires: readline-devel
BuildRequires: libudev-devel
BuildRequires: libtool
BuildRequires: automake
Url: http://www.bluez.org
Version: 4.96
Release: 1
Version: 4.97
Release: 0
Summary: Bluetooth Stack for Linux
Group: Hardware/Mobile
License: GPL-2.0+
Group: Hardware/Mobile
AutoReqProv: on
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2
Source: bluez-%{version}.tar.bz2
Source2: bluez-coldplug.init
Source3: bluetooth.sysconfig
Source4: bluetooth.sh
@ -83,8 +88,8 @@ Authors:
and others, see AUTHORS
%package devel
License: GPL-2.0+
Summary: Files needed for BlueZ development
License: GPL-2.0+
Group: Development/Sources
Requires: libbluetooth3 = %{version}
@ -100,8 +105,8 @@ Authors:
and others, see AUTHORS
%package -n libbluetooth3
License: GPL-2.0+
Summary: Bluetooth Libraries
License: GPL-2.0+
Group: Hardware/Mobile
Provides: bluez-libs = 3.36
Obsoletes: bluez-libs <= 3.36
@ -117,9 +122,9 @@ Authors:
and others, see AUTHORS in the documentation of the "bluez" package.
%package cups
Group: Hardware/Printing
License: GPL-2.0+
Summary: CUPS Driver for Bluetooth Printers
License: GPL-2.0+
Group: Hardware/Printing
Requires: libbluetooth3 = %{version}
%description cups
@ -134,9 +139,9 @@ Authors:
and others, see AUTHORS in the documentation of the "bluez" package.
%package test
Group: Development/Tools/Debuggers
License: GPL-2.0+ ; MIT
Summary: Tools for testing of various Bluetooth-functions
License: GPL-2.0+ ; MIT
Group: Development/Tools/Debuggers
Requires: libbluetooth3 = %{version} python-gobject2 dbus-1-python
%description test
@ -151,9 +156,9 @@ Authors:
and others, see AUTHORS in the documentation of the "bluez" package.
%package alsa
Group: Productivity/Multimedia/Sound/Utilities
License: GPL-2.0+
Summary: Bluetooth Sound Support
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Utilities
Requires: libbluetooth3 = %{version}
Provides: bluez-audio:%_libdir/alsa-lib/libasound_module_pcm_bluetooth.so
@ -170,9 +175,9 @@ Authors:
and others, see AUTHORS in the documentation of the "bluez" package.
%package compat
Group: Hardware/Mobile
License: GPL-2.0+
Summary: Bluetooth Stack for Linux
License: GPL-2.0+
Group: Hardware/Mobile
Requires: libbluetooth3 = %{version}
%description compat
@ -193,19 +198,13 @@ Authors:
# changed significantly anyway. I'll keep it until i get confirmation in bugzilla.
##%%patch2 -p1
cp %{S:6} .
%{?suse_update_config:%{suse_update_config -f . }}
mkdir dbus-apis
cp -a doc/*.txt dbus-apis/
%build
# autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS -g" \
./configure --prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir} \
--libdir=%{_libdir} \
autoreconf -fiv
%configure --with-pic \
--libexecdir=/lib \
--localstatedir=/var \
--enable-gstreamer \
--enable-alsa \
--enable-usb \
@ -222,6 +221,9 @@ CFLAGS="$RPM_OPT_FLAGS -g" \
--enable-thermometer \
--enable-datafiles \
--enable-pcmcia \
%if 0%{?has_systemd}
--with-systemdunitdir=%{_unitdir} \
%endif
%{?with_libcapng}
make %{?_smp_mflags} all V=1
@ -263,18 +265,35 @@ then if test -e %{buildroot}%{_libdir}/cups/backend/bluetooth
fi
fi
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
%pre
%if 0%{?has_systemd}
%service_add_pre bluetooth.service
%endif
%post
%{fillup_only -n bluetooth}
%{insserv_force_if_yast bluez-coldplug}
%if 0%{?has_systemd}
%service_add_post bluetooth.service
%endif
%preun
%stop_on_removal bluez-coldplug
%if 0%{?has_systemd}
%service_del_preun bluetooth.service
%endif
%postun
%{insserv_cleanup}
%if 0%{?has_systemd}
%service_del_postun bluetooth.service
%endif
%post -n libbluetooth3 -p /sbin/ldconfig
@ -323,8 +342,8 @@ rm -rf $RPM_BUILD_ROOT
%dir /var/lib/bluetooth
%dir %{_sysconfdir}/modprobe.d
%config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf
%if 0%{suse_version} > 1130
/lib/systemd/system/bluetooth.service
%if 0%{?has_systemd}
%{_unitdir}/bluetooth.service
%endif
%files devel