diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..adc40ec --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libbluetooth13 diff --git a/bluez-gstreamer.spec b/bluez-gstreamer.spec index bf12d05..0b42572 100644 --- a/bluez-gstreamer.spec +++ b/bluez-gstreamer.spec @@ -52,6 +52,7 @@ Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so %define OLD_UDEV 0 %endif + %description The package contains libraries for using bluetooth audio services. @@ -70,6 +71,7 @@ Authors: cp %{S:6} . %{?suse_update_config:%{suse_update_config -f . }} + %build # autoreconf -sfi CFLAGS="$RPM_OPT_FLAGS -g" \ @@ -95,17 +97,22 @@ CFLAGS="$RPM_OPT_FLAGS -g" \ %{?with_libcapng} make %{?_smp_mflags} all V=1 + %install make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT/usr/[^l]* $RPM_BUILD_ROOT/[^u]* $RPM_BUILD_ROOT/%{_libdir}/[^g]* rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}/*bluetooth* $RPM_BUILD_ROOT/usr/include rm $RPM_BUILD_ROOT/%{_libdir}/*/*.la + %clean rm -rf $RPM_BUILD_ROOT + %files %defattr(-, root, root) %{_libdir}/gstreamer-*/*.so + + %changelog diff --git a/bluez.changes b/bluez.changes index 98788bf..575291b 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 22 16:02:15 CEST 2011 - meissner@suse.de + +- added baselibs.conf bnc#700840 + ------------------------------------------------------------------- Tue Jun 14 06:49:35 UTC 2011 - seife+obs@b1-systems.com diff --git a/bluez.spec b/bluez.spec index efe23c5..3ee0cb1 100644 --- a/bluez.spec +++ b/bluez.spec @@ -42,6 +42,7 @@ Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.b Source2: bluez-coldplug.init Source3: bluetooth.sysconfig Source4: bluetooth.sh +Source5: baselibs.conf Source6: README.SUSE Source7: bluetooth.modprobe Patch1: bluez-4.75-udev-use-helperscript.diff @@ -68,6 +69,7 @@ Requires: libbluetooth3 = %{version} %define cups_lib_dir %{_libdir}/cups %endif + %description The Bluetooth stack for Linux. @@ -84,6 +86,7 @@ Summary: Files needed for BlueZ development Group: Development/Sources Requires: libbluetooth3 = %{version} + %description devel Files needed to develop applications for the BlueZ Bluetooth protocol stack. @@ -102,6 +105,7 @@ Group: Hardware/Mobile Provides: bluez-libs = 3.36 Obsoletes: bluez-libs <= 3.36 + %description -n libbluetooth3 Bluetooth protocol stack libraries. @@ -118,6 +122,7 @@ License: GPLv2+ Summary: CUPS Driver for Bluetooth Printers Requires: libbluetooth3 = %{version} + %description cups Contains the files required by CUPS for printing to Bluetooth-connected printers. @@ -135,6 +140,7 @@ License: GPLv2+ ; MIT License (or similar) Summary: Tools for testing of various Bluetooth-functions Requires: libbluetooth3 = %{version} python-gobject2 dbus-1-python + %description test Contains a few tools for testing various bluetooth functions. The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., U.S.A. @@ -153,6 +159,7 @@ Summary: Bluetooth Sound Support Requires: libbluetooth3 = %{version} Provides: bluez-audio:%_libdir/alsa-lib/libasound_module_pcm_bluetooth.so + %description alsa The package contains libraries for using bluetooth audio services. @@ -171,6 +178,7 @@ License: GPLv2+ Summary: Bluetooth Stack for Linux Requires: libbluetooth3 = %{version} + %description compat The Bluetooth stack for Linux. This package contains older and partly deprecated binaries that might still be needed for compatibility. @@ -193,6 +201,7 @@ cp %{S:6} . mkdir dbus-apis cp -a doc/*.txt dbus-apis/ + %build # autoreconf -sfi CFLAGS="$RPM_OPT_FLAGS -g" \ @@ -218,6 +227,7 @@ CFLAGS="$RPM_OPT_FLAGS -g" \ %{?with_libcapng} make %{?_smp_mflags} all V=1 + %install make DESTDIR=$RPM_BUILD_ROOT install # bluez-test @@ -256,23 +266,30 @@ then if test -e %{buildroot}%{_libdir}/cups/backend/bluetooth fi fi + %clean rm -rf $RPM_BUILD_ROOT + %post %{fillup_only -n bluetooth} %{insserv_force_if_yast bluez-coldplug} + %preun %stop_on_removal bluez-coldplug + %postun %{insserv_cleanup} + %post -n libbluetooth3 -p /sbin/ldconfig + %postun -n libbluetooth3 -p /sbin/ldconfig + %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog README README.SUSE dbus-apis @@ -317,23 +334,27 @@ rm -rf $RPM_BUILD_ROOT %dir %{_sysconfdir}/modprobe.d %config(noreplace) %{_sysconfdir}/modprobe.d/50-bluetooth.conf + %files devel %defattr(-, root, root) /usr/include/bluetooth %{_libdir}/libbluetooth.so %{_libdir}/pkgconfig/bluez.pc + %files -n libbluetooth3 %defattr(-, root, root) %{_libdir}/libbluetooth.so.* %doc AUTHORS COPYING INSTALL ChangeLog README + %files cups %defattr(-,root,root) %dir %{cups_lib_dir} %dir %{cups_lib_dir}/backend %{cups_lib_dir}/backend/bluetooth + %files test %defattr(-,root,root) %{_sbindir}/hciemu @@ -354,12 +375,14 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/test-service %{_bindir}/test-telephony + %files alsa %defattr(-,root,root) %dir /usr/share/alsa %config /usr/share/alsa/bluetooth.conf %{_libdir}/alsa-lib/*.so + %files compat %defattr(-,root,root) %{_bindir}/dund @@ -367,4 +390,6 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man1/pand.1.gz %doc %{_mandir}/man1/dund.1.gz + + %changelog