forked from pool/bluez
This commit is contained in:
parent
4ff9a20001
commit
3dd7b1c4d6
5
bluez-gstreamer.changes
Normal file
5
bluez-gstreamer.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 14 18:22:15 CEST 2008 - seife@suse.de
|
||||||
|
|
||||||
|
- split off from main specfile to cure cycle
|
||||||
|
|
111
bluez-gstreamer.spec
Normal file
111
bluez-gstreamer.spec
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
#
|
||||||
|
# spec file for package bluez-gstreamer (Version 4.13)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
|
Name: bluez-gstreamer
|
||||||
|
BuildRequires: dbus-1-devel flex
|
||||||
|
BuildRequires: glib2-devel libnl-devel libusb-devel
|
||||||
|
BuildRequires: alsa-devel libsndfile-devel
|
||||||
|
BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel
|
||||||
|
Url: http://www.bluez.org
|
||||||
|
Version: 4.13
|
||||||
|
Release: 2
|
||||||
|
Summary: Bluetooth Sound Support
|
||||||
|
Group: Productivity/Multimedia/Sound/Utilities
|
||||||
|
License: GPL v2 or later
|
||||||
|
Group: Productivity/Multimedia/Sound/Utilities
|
||||||
|
AutoReqProv: on
|
||||||
|
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2
|
||||||
|
Source1: bluetooth.init
|
||||||
|
Source2: bluetooth-coldplug.init
|
||||||
|
Source3: bluetooth.sysconfig
|
||||||
|
Source4: bluetooth.sh
|
||||||
|
Source5: org.bluez.service
|
||||||
|
Source6: README.SUSE
|
||||||
|
Patch1: bluez-utils-3.8-bluetooth.rules.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Requires: libbluetooth3 = %{version}
|
||||||
|
Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so
|
||||||
|
|
||||||
|
%description
|
||||||
|
The package contains libraries for using bluetooth audio services.
|
||||||
|
|
||||||
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Marcel Holtmann <marcel@holtmann.org>
|
||||||
|
and others, see AUTHORS in the documentation of the "bluez" package.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n bluez-%{version} -q
|
||||||
|
%patch1 -p0
|
||||||
|
cp %{S:1} scripts/
|
||||||
|
cp %{S:6} .
|
||||||
|
%{?suse_update_config:%{suse_update_config -f . }}
|
||||||
|
|
||||||
|
%build
|
||||||
|
#autoreconf -sfi
|
||||||
|
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir
|
||||||
|
#make
|
||||||
|
#%build
|
||||||
|
#cd ../bluez-utils-%{version}
|
||||||
|
# autoreconf -sfi
|
||||||
|
# CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -g" \
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS -g" \
|
||||||
|
./configure --prefix=%{_prefix} \
|
||||||
|
--mandir=%{_mandir} \
|
||||||
|
--sysconfdir=%{_sysconfdir} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--libexecdir=/lib \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-gstreamer \
|
||||||
|
--enable-alsa \
|
||||||
|
--enable-usb \
|
||||||
|
--enable-netlink \
|
||||||
|
--enable-tools \
|
||||||
|
--enable-bccmd \
|
||||||
|
--enable-hid2hci \
|
||||||
|
--enable-dfutool \
|
||||||
|
--enable-cups \
|
||||||
|
--enable-test \
|
||||||
|
--enable-manpages \
|
||||||
|
--enable-configfiles \
|
||||||
|
--enable-initscripts \
|
||||||
|
--enable-pcmciarules
|
||||||
|
make %{?jobs:-j %jobs} all
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Tue Oct 14 2008 seife@suse.de
|
||||||
|
- split off from main specfile to cure cycle
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 14 15:30:49 CEST 2008 - seife@suse.de
|
||||||
|
|
||||||
|
- split up bluez and bluez-gstreamer to avoid circular dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 13 07:35:11 CEST 2008 - seife@suse.de
|
Mon Oct 13 07:35:11 CEST 2008 - seife@suse.de
|
||||||
|
|
||||||
|
30
bluez.spec
30
bluez.spec
@ -22,10 +22,9 @@ Name: bluez
|
|||||||
BuildRequires: dbus-1-devel flex
|
BuildRequires: dbus-1-devel flex
|
||||||
BuildRequires: glib2-devel libnl-devel libusb-devel
|
BuildRequires: glib2-devel libnl-devel libusb-devel
|
||||||
BuildRequires: alsa-devel libsndfile-devel
|
BuildRequires: alsa-devel libsndfile-devel
|
||||||
BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel
|
|
||||||
Url: http://www.bluez.org
|
Url: http://www.bluez.org
|
||||||
Version: 4.13
|
Version: 4.13
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Bluetooth Stack for Linux
|
Summary: Bluetooth Stack for Linux
|
||||||
Group: Hardware/Mobile
|
Group: Hardware/Mobile
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
@ -137,25 +136,6 @@ The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Marcel Holtmann <marcel@holtmann.org>
|
|
||||||
and others, see AUTHORS in the documentation of the "bluez" package.
|
|
||||||
|
|
||||||
%package gstreamer
|
|
||||||
License: GPL v2 or later
|
|
||||||
Summary: Bluetooth Sound Support
|
|
||||||
Group: Productivity/Multimedia/Sound/Utilities
|
|
||||||
Requires: libbluetooth3 = %{version}
|
|
||||||
Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so
|
|
||||||
|
|
||||||
%description gstreamer
|
|
||||||
The package contains libraries for using bluetooth audio services.
|
|
||||||
|
|
||||||
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Marcel Holtmann <marcel@holtmann.org>
|
Marcel Holtmann <marcel@holtmann.org>
|
||||||
@ -206,7 +186,7 @@ cd test
|
|||||||
install --mode=0755 apitest list-devices test-adapter test-device test-discovery test-manager test-serial test-telephony $RPM_BUILD_ROOT/%{_bindir}/
|
install --mode=0755 apitest list-devices test-adapter test-device test-discovery test-manager test-serial test-telephony $RPM_BUILD_ROOT/%{_bindir}/
|
||||||
cd ..
|
cd ..
|
||||||
rm -v $RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la $RPM_BUILD_ROOT/%{_libdir}/libbluetooth.la
|
rm -v $RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la $RPM_BUILD_ROOT/%{_libdir}/libbluetooth.la
|
||||||
rm -v $RPM_BUILD_ROOT/%{_libdir}/gstreamer-0.10/libgstbluetooth.la
|
rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-*
|
||||||
rm -v $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la
|
rm -v $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d
|
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
|
mv -v $RPM_BUILD_ROOT/%{_sysconfdir}/udev/bluetooth.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/40-bluetooth.rules
|
||||||
@ -331,11 +311,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/alsa-lib/*.so
|
%{_libdir}/alsa-lib/*.so
|
||||||
|
|
||||||
%files gstreamer
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%{_libdir}/gstreamer-*/*.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 14 2008 seife@suse.de
|
||||||
|
- split up bluez and bluez-gstreamer to avoid circular dependencies
|
||||||
* Mon Oct 13 2008 seife@suse.de
|
* Mon Oct 13 2008 seife@suse.de
|
||||||
- update to bluez-4.13:
|
- update to bluez-4.13:
|
||||||
- Fix service discovery and UUID handling.
|
- Fix service discovery and UUID handling.
|
||||||
|
Loading…
Reference in New Issue
Block a user