08ec8cad84
- Added url as source. Please see http://en.opensuse.org/SourceUrls - Added url as source. Please see http://en.opensuse.org/SourceUrls OBS-URL: https://build.opensuse.org/request/show/160387 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=139
108 lines
3.2 KiB
RPMSpec
108 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package bluez-gstreamer
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, 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/
|
|
#
|
|
|
|
|
|
Name: bluez-gstreamer
|
|
BuildRequires: flex
|
|
BuildRequires: libcap-ng-devel
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.4
|
|
%if 0%{?suse_version} > 1130
|
|
BuildRequires: pkgconfig(systemd)
|
|
%endif
|
|
Version: 4.101
|
|
Release: 0
|
|
Summary: Bluetooth Sound Support
|
|
License: GPL-2.0+
|
|
Group: Productivity/Multimedia/Sound/Utilities
|
|
Url: http://www.bluez.org
|
|
Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2
|
|
Source3: bluetooth.sysconfig
|
|
Source6: README.SUSE
|
|
Source99: README.packagers
|
|
# fix for new automake, will not go upstream (upstream is at bluez-5)
|
|
Patch1: bluez-4.101-new-automake.diff
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: automake
|
|
BuildRequires: check-devel
|
|
BuildRequires: gstreamer-0_10-plugins-base-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: libudev-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: pkg-config
|
|
BuildRequires: readline-devel
|
|
BuildRequires: udev
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
|
BuildRequires: pkgconfig(gstreamer-0.10)
|
|
BuildRequires: pkgconfig(libnl-1)
|
|
Requires: libbluetooth3 = %{version}
|
|
Provides: bluez-audio:%{_libdir}/gstreamer-0.10/libgstbluetooth.so
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if %( echo `rpm -q --queryformat %%{version} udev` ) < 144
|
|
%define OLD_UDEV 1
|
|
%else
|
|
%define OLD_UDEV 0
|
|
%endif
|
|
|
|
%description
|
|
The package contains libraries for using bluetooth audio services.
|
|
|
|
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
|
|
|
%prep
|
|
%setup -n bluez-%{version} -q
|
|
%patch1 -p1
|
|
cp %{SOURCE6} .
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure --with-pic \
|
|
--libexecdir=/lib \
|
|
--enable-gstreamer \
|
|
--enable-alsa \
|
|
--enable-usb \
|
|
--enable-tools \
|
|
--enable-bccmd \
|
|
--enable-hid2hci \
|
|
--enable-dfutool \
|
|
--enable-cups \
|
|
--enable-test \
|
|
--enable-pand \
|
|
--enable-dund \
|
|
--enable-wiimote \
|
|
--enable-datafiles \
|
|
--enable-pcmcia
|
|
|
|
make %{?_smp_mflags} all V=1
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf %{buildroot}%{_prefix}/[^l]* %{buildroot}/[^u]* %{buildroot}/%{_libdir}/[^g]*
|
|
rm -rf %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/%{_libdir}/*bluetooth* %{buildroot}%{_prefix}/include
|
|
rm -rf %{buildroot}%{_prefix}/lib/udev %{buildroot}%{_prefix}/lib/systemd
|
|
rm %{buildroot}/%{_libdir}/*/*.la
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%{_libdir}/gstreamer-*/*.so
|
|
|
|
%changelog
|