forked from pool/bluez
Accepting request 156839 from home:seife:testing
add bluez-4.101-new-automake.diff, fix build with automake-1.13.1 OBS-URL: https://build.opensuse.org/request/show/156839 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=137
This commit is contained in:
parent
67f48c3207
commit
9f24348bf6
12
README.packagers
Normal file
12
README.packagers
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Hi all,
|
||||||
|
|
||||||
|
bluez and bluez-gstreamer are just split in order to avoid cyclic
|
||||||
|
build dependencies.
|
||||||
|
If you are changing bluez.spec, consider also adapting bluez-gstreamer.spec
|
||||||
|
so that the diff remains more or less the same.
|
||||||
|
Especially, bluez-gstreamer.changes should always be identical to
|
||||||
|
bluez.changes.
|
||||||
|
|
||||||
|
Thanks for considering :-)
|
||||||
|
|
||||||
|
seife
|
16
bluez-4.101-new-automake.diff
Normal file
16
bluez-4.101-new-automake.diff
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: b/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -1,10 +1,10 @@
|
||||||
|
AC_PREREQ(2.60)
|
||||||
|
AC_INIT(bluez, 4.101)
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
|
||||||
|
-AM_CONFIG_HEADER(config.h)
|
||||||
|
+AC_CONFIG_HEADERS(config.h)
|
||||||
|
|
||||||
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
|
AM_MAINTAINER_MODE
|
||||||
|
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 28 14:45:10 UTC 2013 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- add bluez-4.101-new-automake.diff, fix build with automake-1.13.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 25 08:05:27 UTC 2013 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- also run spec-cleaner on bluez-gstreamer.spec, add README for
|
||||||
|
packagers, fix bluez-gstreamer changelog
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 21 11:16:34 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Unconditionally enable the systemd bluetooth service (actual
|
||||||
|
activation of bluez is triggered by udev) (bnc#796671).
|
||||||
|
- Run spec-cleaner.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 11 14:38:03 UTC 2013 - crrodriguez@opensuse.org
|
Fri Jan 11 14:38:03 UTC 2013 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -18,17 +18,27 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: bluez-gstreamer
|
Name: bluez-gstreamer
|
||||||
BuildRequires: dbus-1-devel >= 1.4
|
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: libcap-ng-devel
|
BuildRequires: libcap-ng-devel
|
||||||
|
BuildRequires: pkgconfig(dbus-1) >= 1.4
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
%endif
|
%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: 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: alsa-devel
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
BuildRequires: glib2-devel >= 2.28
|
|
||||||
BuildRequires: gstreamer-0_10-devel
|
|
||||||
BuildRequires: gstreamer-0_10-plugins-base-devel
|
BuildRequires: gstreamer-0_10-plugins-base-devel
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -37,19 +47,12 @@ BuildRequires: libusb-devel
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
||||||
|
BuildRequires: pkgconfig(gstreamer-0.10)
|
||||||
BuildRequires: pkgconfig(libnl-1)
|
BuildRequires: pkgconfig(libnl-1)
|
||||||
Url: http://www.bluez.org
|
|
||||||
Version: 4.101
|
|
||||||
Release: 0
|
|
||||||
Summary: Bluetooth Sound Support
|
|
||||||
License: GPL-2.0+
|
|
||||||
Group: Productivity/Multimedia/Sound/Utilities
|
|
||||||
Source: bluez-%{version}.tar.bz2
|
|
||||||
Source3: bluetooth.sysconfig
|
|
||||||
Source6: README.SUSE
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires: libbluetooth3 = %{version}
|
Requires: libbluetooth3 = %{version}
|
||||||
Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so
|
Provides: bluez-audio:%{_libdir}/gstreamer-0.10/libgstbluetooth.so
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if %( echo `rpm -q --queryformat %%{version} udev` ) < 144
|
%if %( echo `rpm -q --queryformat %%{version} udev` ) < 144
|
||||||
%define OLD_UDEV 1
|
%define OLD_UDEV 1
|
||||||
%else
|
%else
|
||||||
@ -61,16 +64,10 @@ The package contains libraries for using bluetooth audio services.
|
|||||||
|
|
||||||
The BLUETOOTH trademarks are owned by Bluetooth SIG, Inc., USA.
|
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
|
%prep
|
||||||
%setup -n bluez-%{version} -q
|
%setup -n bluez-%{version} -q
|
||||||
cp %{S:6} .
|
%patch1 -p1
|
||||||
|
cp %{SOURCE6} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -94,14 +91,14 @@ autoreconf -fiv
|
|||||||
make %{?_smp_mflags} all V=1
|
make %{?_smp_mflags} all V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/[^l]* $RPM_BUILD_ROOT/[^u]* $RPM_BUILD_ROOT/%{_libdir}/[^g]*
|
rm -rf %{buildroot}%{_prefix}/[^l]* %{buildroot}/[^u]* %{buildroot}/%{_libdir}/[^g]*
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}/*bluetooth* $RPM_BUILD_ROOT/usr/include
|
rm -rf %{buildroot}/%{_libdir}/pkgconfig %{buildroot}/%{_libdir}/*bluetooth* %{buildroot}%{_prefix}/include
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/lib/udev $RPM_BUILD_ROOT/usr/lib/systemd
|
rm -rf %{buildroot}%{_prefix}/lib/udev %{buildroot}%{_prefix}/lib/systemd
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/*/*.la
|
rm %{buildroot}/%{_libdir}/*/*.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 28 14:45:10 UTC 2013 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- add bluez-4.101-new-automake.diff, fix build with automake-1.13.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 25 08:05:27 UTC 2013 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- also run spec-cleaner on bluez-gstreamer.spec, add README for
|
||||||
|
packagers, fix bluez-gstreamer changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 21 11:16:34 UTC 2013 - dimstar@opensuse.org
|
Mon Jan 21 11:16:34 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -38,8 +38,11 @@ Source3: bluetooth.sysconfig
|
|||||||
Source5: baselibs.conf
|
Source5: baselibs.conf
|
||||||
Source6: README.SUSE
|
Source6: README.SUSE
|
||||||
Source7: bluetooth.modprobe
|
Source7: bluetooth.modprobe
|
||||||
|
Source99: README.packagers
|
||||||
# already fixed upstream
|
# already fixed upstream
|
||||||
Patch0: 0001-network-fix-network-Connect-method-parameters.patch
|
Patch0: 0001-network-fix-network-Connect-method-parameters.patch
|
||||||
|
# fix for new automake, will not go upstream (upstream is at bluez-5)
|
||||||
|
Patch1: bluez-4.101-new-automake.diff
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
@ -149,6 +152,7 @@ deprecated binaries that might still be needed for compatibility.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
cp %{SOURCE6} .
|
cp %{SOURCE6} .
|
||||||
mkdir dbus-apis
|
mkdir dbus-apis
|
||||||
cp -a doc/*.txt dbus-apis/
|
cp -a doc/*.txt dbus-apis/
|
||||||
|
Loading…
Reference in New Issue
Block a user