Name: bluez Version: 4.89 Release: 2mamba Summary: Userspace tools for the Bluetooth wireless library for Linux Group: Applications/Communication Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.bluez.org Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.gz Patch0: bluez-utils-2.11-config.patch Patch1: bluez-utils-3.9-initscript.patch Patch2: bluez-4.59-oui.patch Patch3: bluez-4.59-utf8.patch Patch4: bluez-4.59-wacom.patch Patch5: bluez-4.59-cf.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libalsa-devel BuildRequires: libdbus-devel BuildRequires: libglib-devel %if "%{stage1}" != "1" BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel %endif BuildRequires: libnl-devel BuildRequires: libusb0-devel >= 0.1.8 BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: flex BuildRequires: bison BuildRequires: libcap-ng-devel Requires: bluez-firmware Requires: libbluetooth = %{version}-%{release} Provides: bluez-utils Obsoletes: bluez-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Userspace tools for the Bluetooth wireless library for Linux. %package -n libbluetooth Group: System/Libraries Summary: The Bluetooth wireless library for Linux %description -n libbluetooth The Bluetooth wireless library for Linux. %package -n libbluetooth-devel Group: Development/Libraries Summary: Static libraries and headers for libbluetooth Requires: libbluetooth = %{version}-%{release} Provides: libbluez-devel Obsoletes: libbluez-devel %description -n libbluetooth-devel The Bluetooth wireless library for Linux. This package contains static libraries and header files need for development. %prep %setup -q #%patch0 -p1 #%patch1 -p1 #%patch2 -p0 #%patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure \ --libexecdir=/lib \ --enable-health \ --enable-pnat \ --enable-attrib \ %if "%{stage1}" == "1" --disable-gstreamer \ %else --enable-gstreamer \ %endif --enable-alsa \ --enable-usb \ --enable-tracer \ --enable-tools \ --enable-bccmd \ --enable-pcmcia \ --enable-hid2hci \ --enable-dfutool \ --enable-hidd \ --enable-pand \ --enable-dund \ --enable-cups \ --enable-udevrules \ --enable-configfiles \ --disable-hal \ --enable-capng \ --enable-input \ --enable-audio \ --enable-serial \ --enable-network # --enable-initscripts \ # --enable-pcmciarules %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ rulesdir=%{_sysconfdir}/udev/rules.d install -D -m0644 audio/audio.conf %{buildroot}%{_sysconfdir}/bluetooth/audio.conf install -D -m0644 input/input.conf %{buildroot}%{_sysconfdir}/bluetooth/input.conf install -D -m0644 serial/serial.conf %{buildroot}%{_sysconfdir}/bluetooth/serial.conf #install -D -m755 scripts/bluetooth.init \ # %{buildroot}%{_initrddir}/bluetooth #install -D -m644 scripts/bluetooth.default \ # %{buildroot}%{_sysconfdir}/sysconfig/bluetooth %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post # new install # # disable service by default as it is started by udev now /sbin/chkconfig --del bluetooth 2>&1 &>/dev/null : %post -n libbluetooth -p /sbin/ldconfig %postun -n libbluetooth -p /sbin/ldconfig %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/bluetooth/* #%config(noreplace) %{_sysconfdir}/sysconfig/bluetooth %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf #%config %{_sysconfdir}/default/bluetooth %{_sysconfdir}/udev/rules.d/97-bluetooth.rules %{_sysconfdir}/udev/rules.d/97-bluetooth-hid2hci.rules %{_sysconfdir}/udev/rules.d/97-bluetooth-serial.rules #%{_initrddir}/bluetooth /%{_lib}/udev/bluetooth_serial %{_bindir}/* %{_sbindir}/* %{_datadir}/alsa/bluetooth.conf %{_mandir}/man1/* %{_mandir}/man8/* %doc AUTHORS ChangeLog COPYING README %files -n libbluetooth %defattr(-,root,root) %{_libdir}/libbluetooth.so.* #%{_libdir}/bluetooth/plugins/audio.la #%{_libdir}/bluetooth/plugins/audio.so #%{_libdir}/bluetooth/plugins/hal.la #%{_libdir}/bluetooth/plugins/hal.so #%{_libdir}/bluetooth/plugins/input.la #%{_libdir}/bluetooth/plugins/input.so #%{_libdir}/bluetooth/plugins/netlink.la #%{_libdir}/bluetooth/plugins/netlink.so #%{_libdir}/bluetooth/plugins/network.la #%{_libdir}/bluetooth/plugins/network.so #%{_libdir}/bluetooth/plugins/serial.la #%{_libdir}/bluetooth/plugins/serial.so #%{_libdir}/bluetooth/plugins/service.la #%{_libdir}/bluetooth/plugins/service.so %{_libdir}/alsa-lib/libasound_module_ctl_bluetooth.la %{_libdir}/alsa-lib/libasound_module_ctl_bluetooth.so %{_libdir}/alsa-lib/libasound_module_pcm_bluetooth.la %{_libdir}/alsa-lib/libasound_module_pcm_bluetooth.so %{_libdir}/cups/backend/bluetooth %if "%{stage1}" != "1" %{_libdir}/gstreamer-0.10/libgstbluetooth.la %{_libdir}/gstreamer-0.10/libgstbluetooth.so %endif #%{_prefix}/libexec/udev/bluetooth_serial %files -n libbluetooth-devel %defattr(-,root,root) %{_includedir}/bluetooth/*.h %{_libdir}/libbluetooth.la %{_libdir}/libbluetooth.so %{_libdir}/pkgconfig/bluez.pc %changelog * Sat Mar 12 2011 Silvan Calarco 4.89-2mamba - configure options reworked * Thu Mar 10 2011 Silvan Calarco 4.89-1mamba - update to 4.89 * Mon Aug 16 2010 Automatic Build System 4.69-1mamba - automatic update by autodist * Fri Jul 09 2010 Automatic Build System 4.67-1mamba - automatic update by autodist * Sat Jun 26 2010 Automatic Build System 4.66-1mamba - automatic update by autodist * Fri Feb 19 2010 Stefano Cotta Ramusino 4.61-1mamba - update to 4.61 * Mon Jan 04 2010 Stefano Cotta Ramusino 4.59-1mamba - update to 4.59 - added patches to support more bluetooth devices - added missing build requirements * Thu Oct 15 2009 Automatic Build System 4.56-1mamba - automatic update by autodist * Thu Aug 27 2009 Automatic Build System 4.50-1mamba - automatic update by autodist * Thu Aug 20 2009 Automatic Build System 4.48-1mamba - automatic update by autodist * Fri Aug 07 2009 Automatic Build System 4.47-1mamba - automatic update by autodist * Sat Jul 25 2009 Automatic Build System 4.46-1mamba - automatic update by autodist * Mon Jul 06 2009 Automatic Build System 4.43-1mamba - automatic update by autodist * Sat Jun 27 2009 Automatic Build System 4.42-1mamba - automatic update by autodist * Thu Jun 18 2009 Automatic Build System 4.41-1mamba - automatic update by autodist * Sat May 02 2009 Automatic Build System 4.37-1mamba - automatic update by autodist * Mon Apr 20 2009 Automatic Build System 4.36-1mamba - automatic update by autodist * Sat Apr 18 2009 Silvan Calarco 4.34-4mamba - removed library duplicates in bluez package * Mon Apr 13 2009 Silvan Calarco 4.34-3mamba - don't obsolete libbluez for compatibility * Fri Apr 10 2009 Silvan Calarco 4.34-2mamba - rebuilt enabling configure options instead of --enable-all * Thu Apr 09 2009 Silvan Calarco 4.34-1mamba - update to 4.34 * Wed May 28 2008 Silvan Calarco 3.32-1mamba - update to 3.32 - fixed udev rules file location * Mon Apr 28 2008 Silvan Calarco 3.30-1mamba - update to 3.30 - added requirement for bluez-firmware * Tue Mar 06 2007 Silvan Calarco 3.9-1qilnx - update to version 3.9 by autospec * Tue Feb 21 2006 Davide Madrisan 2.25-2qilnx - start and stop the bluetooth service using 'service' - enable and start the bluetooth service by default * Wed Feb 01 2006 Stefano Cotta Ramusino 2.25-1qilnx - update to version 2.25 by autospec - added initscript patch * Wed Dec 07 2005 Alessandro Ramazzina 2.22-1qilnx - update to version 2.22 by autospec * Thu Oct 13 2005 Alessandro Ramazzina 2.21-1qilnx - update to version 2.21 by autospec * Fri Aug 26 2005 Davide Madrisan 2.19-1qilnx - update to version 2.19 by autospec - also fix security issue QSA-2005-092 (CAN-2005-2547) - dbus support enabled * Wed Dec 01 2004 Silvan Calarco 2.11-2qilnx - added initscript chkconfig header * Mon Nov 29 2004 Silvan Calarco 2.11-1qilnx - new version build - added bluetooth initscript * Fri Sep 10 2004 Silvan Calarco 2.10-1qilnx - first build