x86_64: fix path of cups backend [release 4.101-3mamba;Wed Nov 26 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:51:19 +01:00
parent 2e2c73b01f
commit 9a41fd3c28

View File

@ -1,6 +1,6 @@
Name: bluez
Version: 4.101
Release: 2mamba
Release: 3mamba
Summary: Userspace tools for the Bluetooth wireless library for Linux
Group: Applications/Communication
Vendor: openmamba
@ -25,9 +25,9 @@ BuildRequires: libgst-plugins-base010-devel
BuildRequires: libgstreamer010-devel
%endif
BuildRequires: libreadline-devel
BuildRequires: libudev-devel
BuildRequires: libusb-compat-devel
BuildRequires: libxml2-devel
BuildRequires: udev-devel
## AUTOBUILDREQ-END
BuildRequires: flex
BuildRequires: bison
@ -104,11 +104,12 @@ This package contains static libraries and header files need for development.
# --enable-initscripts \
# --enable-pcmciarules
%make
%make cupsdir=%{_prefix}/lib/cups/backend
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
cupsdir=%{_prefix}/lib/cups/backend \
rulesdir=%{_sysconfdir}/udev/rules.d
install -D -m0644 audio/audio.conf %{buildroot}%{_sysconfdir}/bluetooth/audio.conf
@ -190,7 +191,7 @@ fi
%{_libdir}/alsa-lib/libasound_module_ctl_bluetooth.so
%{_libdir}/alsa-lib/libasound_module_pcm_bluetooth.la
%{_libdir}/alsa-lib/libasound_module_pcm_bluetooth.so
%{_libdir}/cups/backend/bluetooth
%{_prefix}/lib/cups/backend/bluetooth
%if "%{stage1}" != "1"
%{_libdir}/gstreamer-0.10/libgstbluetooth.la
%{_libdir}/gstreamer-0.10/libgstbluetooth.so
@ -206,6 +207,9 @@ fi
%{_libdir}/pkgconfig/bluez.pc
%changelog
* Wed Nov 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.101-3mamba
- x86_64: fix path of cups backend
* Mon Jul 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.101-2mamba
- enable and start bluetooth service upon install