Summary: Bluetooth utilities
Summary(pl.UTF-8): Narzędzia Bluetooth
Name: bluez-utils
-Version: 3.16
-Release: 2
+Version: 3.18
+Release: 1
Epoch: 0
License: GPL v2+
Group: Applications/System
#Source0Download: http://www.bluez.org/download.html
Source0: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
-# Source0-md5: f6e5bf09d5f282671aa0abe50e700ee6
+# Source0-md5: 2b6b4d519b8f75ef3990122934e660ba
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}-udev.rules
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: bison
-BuildRequires: bluez-libs-devel >= 3.16
+BuildRequires: bluez-libs-devel >= 3.17
BuildRequires: dbus-glib-devel >= 0.60
BuildRequires: glib2-devel >= 2.0
BuildRequires: gstreamer-devel >= 0.10
BuildRequires: libusb-devel
BuildRequires: pkgconfig >= 1:0.9.0
BuildRequires: rpmbuild(macros) >= 1.268
-# used only by noinst bluetoothd-service-sync
-#BuildRequires: libopensync-devel
-# used only by noinst bluetoothd-service-transfer
-#BuildRequires: openobex-devel >= 1.1
-Requires: bluez-libs >= 3.16
+BuildRequires: libopensync-devel
+BuildRequires: openobex-devel >= 1.1
+Requires: bluez-libs >= 3.17
Requires: rc-scripts
Obsoletes: bluez-pan
Obsoletes: bluez-sdp
Summary: Bluetooth backend for CUPS
Summary(pl.UTF-8): Backend Bluetooth dla CUPS-a
Group: Applications/Printing
-Requires: bluez-libs >= 3.16
+Requires: bluez-libs >= 3.17
Requires: cups
%description -n cups-backend-bluetooth
Summary: Bluetooth support for gstreamer
Summary(pl.UTF-8): Obsługa Bluetooth dla gstreamera
Group: Libraries
-Requires: bluez-libs >= 3.16
+Requires: bluez-libs >= 3.17
Requires: gstreamer >= 0.10
Requires: gstreamer-plugins-base >= 0.10
--enable-pcmciarules \
--enable-serial \
--enable-test \
+ --enable-hid2hci \
+ --enable-usb \
+ --enable-alsa \
+ --enable-hal \
+ --enable-pcmciarules \
+ --enable-obex \
+ --enable-sync \
--with-cups=/usr
%{__make} \
DESTDIR=$RPM_BUILD_ROOT \
cupsdir=%{cupsdir} \
udevdir=/lib/udev
+# patch to makefile
+install transfer/bluetoothd-service-transfer $RPM_BUILD_ROOT%{_libdir}/bluetooth
+install transfer/transfer.service $RPM_BUILD_ROOT%{_sysconfdir}/bluetooth
+install sync/bluetoothd-service-sync $RPM_BUILD_ROOT%{_libdir}/bluetooth
+#
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bluetooth
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/bluetooth
%attr(755,root,root) %{_libdir}/bluetooth/bluetoothd-service-network
%attr(755,root,root) %{_libdir}/bluetooth/bluetoothd-service-serial
%attr(755,root,root) %{_libdir}/bluetooth/bluetoothd-service-input
+%attr(755,root,root) %{_libdir}/bluetooth/bluetoothd-service-transfer
+%attr(755,root,root) %{_libdir}/bluetooth/bluetoothd-service-sync
%dir %{_sysconfdir}/bluetooth
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bluetooth/hcid.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bluetooth/rfcomm.conf
%{_sysconfdir}/bluetooth/audio.service
%{_sysconfdir}/bluetooth/network.service
%{_sysconfdir}/bluetooth/serial.service
+%{_sysconfdir}/bluetooth/transfer.service
%attr(754,root,root) /etc/rc.d/init.d/bluetooth
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/bluetooth
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/bluetooth.conf