Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37600266
en ru br
Репозитории ALT
5.1: 3.36-alt3
4.1: 3.36-alt2.M41.3
4.0: 3.10-alt2
3.0: 2.15-alt4
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: bluez-utils

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: bluez-utils
Version: 3.36
Release: alt3

Summary: BlueZ - Bluetooth protocol stack for Linux
License: GPLv2+
Group: Networking/Other
Url: http://www.bluez.org/

Packager: Valery Inozemtsev <shrek at altlinux.ru>

Requires: udev-rules > 124-alt2 dbus
Requires: libbluez >= %version
Provides: bluez-sdp bluez-sdp-devel bluez-pan
Obsoletes: bluez-sdp bluez-sdp-devel bluez-pan

Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires: flex glib2-devel libdbus-devel libsndfile-devel setserial
BuildRequires: libalsa-devel gst-plugins-devel libusb-devel
BuildRequires: libbluez-devel >= %version

%description
BlueZ - Bluetooth protocol stack for Linux

%package cups
Summary: BlueZ - Bluetooth protocol stack for Linux, cups backend
Group: Networking/Other
Requires: %name = %version-%release

%description cups
This package contains the CUPS backend

%package gstreamer
Summary: gstreamer support for SBC audio format
Group: Networking/Other
Requires: %name = %version-%release

%description gstreamer
This package contains gstreamer plugins for the Bluetooth SBC audio format

%package alsa
Summary: ALSA support for Bluetooth audio devices
Group: Networking/Other
Requires: %name = %version-%release

%description alsa
This package contains ALSA support for Bluetooth audio devices

%prep
%setup -q
%patch -p1

%build
%autoreconf
%configure \
--enable-network \
--enable-serial \
--enable-input \
--enable-audio \
--enable-gstreamer \
--enable-alsa \
--enable-usb \
--enable-tools \
--enable-bccmd \
--enable-hid2hci \
--enable-dfutool \
--enable-hidd \
--enable-pand \
--enable-dund \
--enable-cups \
--enable-manpages \
--disable-static \
--localstatedir=%_var
%make_build

%install
%make DESTDIR=%buildroot install

install -m644 audio/audio.conf \
input/input.conf \
network/network.conf \
%buildroot%_sysconfdir/bluetooth/
echo "[General]" > %buildroot%_sysconfdir/bluetooth/main.conf

install -pD -m755 scripts/bluetooth.alt.init %buildroot%_initdir/bluetooth
install -pD -m644 scripts/bluetooth.conf %buildroot%_sysconfdir/sysconfig/bluetooth
install -pD -m644 scripts/bluetooth.rules %buildroot%_sysconfdir/udev/rules.d/97-bluetooth-serial.rules
install -m644 scripts/80-bluetooth.rules %buildroot%_sysconfdir/udev/rules.d/
install -pD -m755 scripts/bluetooth_serial %buildroot/lib/udev/bluetooth_serial

find %buildroot%_libdir -name \*.la -delete

%files
%doc AUTHORS ChangeLog README
%_initdir/bluetooth
%dir %_sysconfdir/bluetooth
%config(noreplace) %_sysconfdir/bluetooth/*
%config(noreplace) %_sysconfdir/sysconfig/*
%config %_sysconfdir/dbus-1/system.d/bluetooth.conf
%_sysconfdir/udev/rules.d/*.rules
/lib/udev/bluetooth_serial
%_bindir/*
%_sbindir/*
%_libdir/bluetooth
%_localstatedir/bluetooth
%_man1dir/*.1*
%_man5dir/*.5*
%_man8dir/*.8*

%files cups
%_prefix/lib/cups/backend/bluetooth

%files gstreamer
%_libdir/gstreamer-*/*.so

%files alsa
%doc audio/asound.conf
%_libdir/alsa-lib/*.so

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin