Drop the gstreamer subpackage

... in preparation for rebasing to BlueZ 5.

https://bugzilla.redhat.com/show_bug.cgi?id=974145
This commit is contained in:
Kalev Lember 2013-08-10 22:14:08 +02:00
parent e321c716dd
commit 3c6c0bdc35

View File

@ -17,7 +17,6 @@ BuildRequires: git
BuildRequires: flex BuildRequires: flex
BuildRequires: dbus-devel >= 0.90 BuildRequires: dbus-devel >= 0.90
BuildRequires: libusb-devel, glib2-devel, alsa-lib-devel BuildRequires: libusb-devel, glib2-devel, alsa-lib-devel
BuildRequires: gstreamer-plugins-base-devel, gstreamer-devel
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
BuildRequires: libcap-ng-devel BuildRequires: libcap-ng-devel
BuildRequires: readline-devel BuildRequires: readline-devel
@ -44,6 +43,7 @@ Requires(post): /bin/systemctl
# Dropped in Fedora 20: # Dropped in Fedora 20:
Obsoletes: bluez-compat < 5.0 Obsoletes: bluez-compat < 5.0
Obsoletes: bluez-gstreamer < 5.0
%description %description
Utilities for use in Bluetooth applications: Utilities for use in Bluetooth applications:
@ -73,11 +73,6 @@ Group: System Environment/Daemons
Requires: bluez-libs = %{version}-%{release} Requires: bluez-libs = %{version}-%{release}
Requires: cups Requires: cups
%package gstreamer
Summary: GStreamer support for SBC audio format
Group: System Environment/Daemons
Requires: bluez-libs = %{version}-%{release}
%package alsa %package alsa
Summary: ALSA support for Bluetooth audio devices Summary: ALSA support for Bluetooth audio devices
Group: System Environment/Daemons Group: System Environment/Daemons
@ -92,9 +87,6 @@ Requires: bluez = %{version}-%{release}
%description cups %description cups
This package contains the CUPS backend This package contains the CUPS backend
%description gstreamer
This package contains gstreamer plugins for the Bluetooth SBC audio format
%description alsa %description alsa
This package contains ALSA support for Bluetooth audio devices This package contains ALSA support for Bluetooth audio devices
@ -141,7 +133,7 @@ git am -p1 %{patches} < /dev/null
%build %build
libtoolize -f -c libtoolize -f -c
autoreconf -vif autoreconf -vif
%configure --enable-cups --enable-dfutool --enable-tools --enable-bccmd --enable-gstreamer --enable-hid2hci --with-ouifile=/usr/share/hwdata/oui.txt --with-systemdsystemunitdir=/lib/systemd/system --enable-wiimote %configure --enable-cups --enable-dfutool --enable-tools --enable-bccmd --enable-hid2hci --with-ouifile=/usr/share/hwdata/oui.txt --with-systemdsystemunitdir=/lib/systemd/system --enable-wiimote
make V=1 make V=1
%install %install
@ -151,7 +143,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la \ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la \
$RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la \ $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la \
$RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la \ $RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la \
$RPM_BUILD_ROOT/%{_libdir}/gstreamer-0.10/*.la
# Remove the cups backend from libdir, and install it in /usr/lib whatever the install # Remove the cups backend from libdir, and install it in /usr/lib whatever the install
if test -d ${RPM_BUILD_ROOT}/usr/lib64/cups ; then if test -d ${RPM_BUILD_ROOT}/usr/lib64/cups ; then
@ -246,10 +237,6 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%_cups_serverbin/backend/bluetooth %_cups_serverbin/backend/bluetooth
%files gstreamer
%defattr(-,root,root,-)
%{_libdir}/gstreamer-*/*.so
%files alsa %files alsa
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/alsa-lib/*.so %{_libdir}/alsa-lib/*.so